calendly.getUserAvailabilitySchedule accepts the UUID from an availability schedule URI.
automations/get-calendly-schedule.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get one Calendly availability schedule and its rules.
calendly.getUserAvailabilitySchedule accepts the UUID from an availability schedule URI.
import { automation, onDashboardRun, sendEmail } from "automate.ax"
import { calendly } from "automate.ax/calendly"
export default automation("Get Calendly schedule", () => {
onDashboardRun({ title: "Get Calendly schedule" })
const schedule = calendly.getUserAvailabilitySchedule({
availabilityScheduleId: "schedule-id",
})
sendEmail({ subject: schedule.name, text: JSON.stringify(schedule.rules) })
})