Skip to content
TriedDocs
Integrations

Calendly

Let agents check Calendly availability, book times during the call, and create single-use booking links.

The Calendly app gives an agent three actions for one Calendly event type: read open times, book a time, and create a one-time booking link. Booking through the API needs a paid Calendly plan; on a free plan Calendly refuses it with a 403 and the agent hears the error.

Connect#

Create the app#

Settings, Integrations, Apps, Connect app, choose Calendly.

Add the token#

Paste a Calendly personal access token into access_token.

Set the event type#

In Defaults (JSON) enter {"event_type_uri": "https://api.calendly.com/event_types/<uuid>"}.

Test#

Press Test connection. It calls GET /users/me.

Credential Required Description
access_token Yes Calendly personal access token
base_url No API root. Default https://api.calendly.com
Config key Description
event_type_uri The event type's API URI. A tool can override it with an event_type_uri argument

Calendly has no OAuth connect in Tried; use a personal access token.

Actions#

Action Arguments Calendly request Output
calendly.check_availability start, time_of_day, time_zone (all optional) GET /event_type_available_times, one or more 7 day windows {"days", "slots": [{"start", "scheduling_url", "label"}], "more_available", "note"?, "time_zone"}
calendly.book_appointment start, name, email, phone, time_zone, notes, answer_<position> GET /event_types/<uuid>, then POST /invitees {"booking": {"uri", "start", "status", "event"}}
calendly.create_scheduling_link none POST /scheduling_links with max_event_count: 1 {"scheduling_link": {"url": "..."}}
  • The search covers the asked day, the day before and the three days after, then the nearest open week (up to 4 weeks ahead) when those are full, and returns at most 3 days: up to 6 times on the asked day and 3 or 4 on the others. It works the same as Cal.com's. Only times with status available are used, each with a spoken label in time_zone (default Australia/Sydney).
  • book_appointment reads the event type first. Each answer_<position> argument is sent as the answer to the enabled custom question at that position. For an event whose location is an outbound call, phone becomes the number Calendly calls; phone is also set as the text reminder number.
  • List app event types shows the fields each event type requires and the argument each one maps to.

Booking without asking for an email#

Calendly needs an invitee email. Set email as a static argument to your bookings inbox and phone to {{user_number}}, so callers only give their name and answers to your required questions. The Calendly: book appointment item in the Functions menu does this for you: it asks for the event type and bookings email and shows what each booking needs.

Example#

{
  "type": "integration_app",
  "name": "create_booking_link",
  "description": "Create a single-use booking link to text to the caller.",
  "app_id": "app_6f0b4d8a2c5e9f1a3d7b0c26",
  "action": "calendly.create_scheduling_link",
  "response_variables": { "booking_link": "scheduling_link.url" }
}

Then reference {{booking_link}} in a custom function or a post-call workflow step, for example one that sends it through your own SMS provider.

Without credentials#

Without a token, check_availability treats weekdays as open at 9am, 11am, 2pm and 3:30pm in time_zone, book_appointment returns a sample booking (and refuses a time already booked), and create_scheduling_link returns a https://calendly.com/d/mock-... URL.