Skip to content

Calendly Integration

Config

interface IntegrationConfigs {
calendly: {}
}

Functions

calendly_get_available_slots

Expects a Job’s Data to contain the following properties:

  • calendly_token
  • user_timezone (e.g. America/Los_Angeles)
  • user_scheduling_time_start (24-hr time)
  • user_scheduling_time_end (24-hr time)
  • calendly_event_types (optional CSV of calendly URIs)

This will select 3 random times within the next week that are available for scheduling.