Automate Calendly with TypeScript

Inspect Calendly users, event types, availability, meetings, invitees, and routing forms. Manage event types and availability, book and cancel meetings, create single-use links, and trigger automations from signed lifecycle webhooks.

welcome-calendly-invitees.automation.ts
import { automation, sendEmail } from "automate.ax"
import { calendly } from "automate.ax/calendly"

export default automation("Welcome Calendly invitees", () => {
  const booking = calendly.onInviteeCreated({
    organizationUri: "https://api.calendly.com/organizations/org-id",
    scope: "organization",
  })

  sendEmail({
    to: booking.payload.email,
    subject: `Booked: ${booking.payload.scheduledEvent.name}`,
    text: `Starts ${booking.payload.scheduledEvent.startTime}`,
  })
})

What you can do

Actions

  • Inspect users, organizations, event types, and hosts
  • Create and update reusable or one-off event types
  • Read and update availability, locations, and bookable times
  • Book invitees, cancel meetings, and manage no-shows
  • Inspect routing forms and create single-use scheduling links

Triggers

  • Any supported scheduling lifecycle event
  • Event type created, updated, or deleted
  • Invitee booked, canceled, or marked as a no-show
  • Routing form submitted

Start automating with Calendly today

Start building