calendly.listEventTypeAvailabilitySchedules returns the host schedule and rules currently assigned to an event type.
automations/list-calendly-event-availability.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Inspect the host availability schedule used by a Calendly event type.
calendly.listEventTypeAvailabilitySchedules returns the host schedule and rules currently assigned to an event type.
import { automation, onDashboardRun, sendEmail } from "automate.ax"
import { calendly } from "automate.ax/calendly"
export default automation("Inspect Calendly event availability", () => {
onDashboardRun({ title: "Inspect event availability" })
const schedules = calendly.listEventTypeAvailabilitySchedules({
eventType: "https://api.calendly.com/event_types/event-type-id",
})
sendEmail({
subject: "Event availability",
text: JSON.stringify(schedules.items),
})
})