with Plain and GoTo Webinar?
Register an attendee for a scheduled webinar. See the documentation
Creates a single session webinar, a sequence of webinars or a series of webinars depending on the type field in the body. See the documentation
The Plain API provides functionality for automating customer support tasks, such as managing conversations, customers, and team inboxes. Within Pipedream, you can leverage these features to create custom workflows that respond to events from your app or external services, triggering actions in Plain. By integrating the Plain API with Pipedream, you can enhance customer support efficiency, streamline communication, and keep customer data synchronized across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plain: {
type: "app",
app: "plain",
}
},
async run({steps, $}) {
const data = {
"query": `query Workspace {
workspace(workspaceId: "${this.plain.$auth.workspace_id}") {
id
publicName
}
}`,
}
return await axios($, {
method: "post",
url: `https://core-api.uk.plain.com/graphql/v1`,
headers: {
Authorization: `Bearer ${this.plain.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
The GoTo Webinar API enables you to automate interactions with your webinars on GoTo Webinar. With this API, you can create, update, and retrieve your webinars, manage registrants, send reminders, and extract analytics data, all through programmatic means. Integrating it with Pipedream, you can build powerful workflows that trigger on specific events, take action using the API, and connect with other apps to streamline your webinar management process.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gotowebinar: {
type: "app",
app: "gotowebinar",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getgo.com/identity/v1/Users/me`,
headers: {
Authorization: `Bearer ${this.gotowebinar.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})