with AEvent and Microsoft Graph API (daemon app)?
Emit new event when a new registrant is added. See the Documentation
The AEvent API lets you automate event management and attendee engagement by connecting with your Pipedream workflows. Use the API to create and manage events, handle registrations, send out updates, and gather attendee feedback. By integrating with Pipedream, you can trigger actions based on event activities, sync with other services like CRM and email marketing tools, and analyze event data seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aevent: {
type: "app",
app: "aevent",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.aevent.com/api/webinars`,
headers: {
Authorization: `Bearer ${this.aevent.$auth.api_token}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_graph_api_daemon_app: {
type: "app",
app: "microsoft_graph_api_daemon_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/users`,
headers: {
Authorization: `Bearer ${this.microsoft_graph_api_daemon_app.$auth.oauth_access_token}`,
},
})
},
})