calendly.onRoutingFormSubmissionCreated requires organization scope and Calendly Teams or above.
automations/calendly-routing-submission.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run an automation when someone submits a Calendly routing form.
calendly.onRoutingFormSubmissionCreated requires organization scope and Calendly Teams or above.
import { automation, sendEmail } from "automate.ax"
import { calendly } from "automate.ax/calendly"
export default automation("Review Calendly routing", () => {
const event = calendly.onRoutingFormSubmissionCreated({
organizationUri: "https://api.calendly.com/organizations/organization-id",
scope: "organization",
})
sendEmail({
subject: "New routing form submission",
text: JSON.stringify(event.payload.questionsAndAnswers),
})
})