Skip to content
TriedDocs
Integrations

Cal.com

Let agents check availability, book, list, reschedule and cancel Cal.com appointments during a call or chat.

The Cal.com app gives an agent five booking actions against one Cal.com event type. A typical booking flow is: check availability, read two or three slots to the caller, book the one they pick.

Connect#

Create the app#

Settings, Integrations, Apps, Connect app, choose Cal.com.

Add credentials#

Paste a Cal.com API key into api_key, or press Connect with Cal.com account to use OAuth. If you run your own Cal.com instance, set base_url to its API v2 root.

Set the event type#

In Defaults (JSON) enter {"event_type_id": 1234567}. Every action uses it unless the tool passes its own event_type_id.

Test#

Open the app and press Test connection. It calls GET /me.

Credential Required Description
api_key Yes Cal.com API key (an OAuth access token works too)
base_url No API root. Default https://api.cal.com/v2
Config key Description
event_type_id Default event type for availability and bookings

Actions#

Action Arguments Cal.com request Output
cal_com.check_availability start, time_of_day, time_zone (all optional) GET /slots (API version 2024-09-04), one or more 7 day windows {"days", "slots", "more_available", "note"?, "requested_day"?, "time_zone"}, see How availability is searched
cal_com.book_appointment start, name, email (required), time_zone, notes POST /bookings (2024-08-13) {"booking": {"uid", "start", "status", ...}}
cal_com.list_bookings email (required) GET /bookings?attendeeEmail=...&status=upcoming {"bookings": [...]}
cal_com.reschedule_booking booking_uid, start (required), reason POST /bookings/{uid}/reschedule {"booking": {...}}
cal_com.cancel_booking booking_uid (required), reason POST /bookings/{uid}/cancel {"booking": {...}}

Details:

  • Dates are ISO 8601. time_zone is an IANA name such as Australia/Sydney. Bookings default to UTC when no time zone is passed, so include {{current_time_Australia/Sydney}} or similar in the prompt and ask the LLM to pass the caller's zone.
  • notes is sent as the booking's notes field response, and each field_<slug> argument as the response to that booking field. List app event types shows which fields each event type requires.
  • A phone argument, when your tool schema adds one, is sent as the attendee's phone number.
  • Cancel sends "Cancelled by phone" when no reason is given.

Example tools#

Get ready-made definitions from the app's Tools for this app list (Copy tool) or GET /get-app-tool-schema?app_id=app_.... A booking pair:

[
  {
    "type": "integration_app",
    "name": "check_availability",
    "description": "Check open appointment slots between two dates.",
    "app_id": "app_1c5e9a3f7b2d6e0a4c8f2b71",
    "action": "cal_com.check_availability",
    "static_arguments": { "time_zone": "Australia/Sydney" },
    "speak_during_execution": true,
    "execution_message_description": "Say you are checking the calendar."
  },
  {
    "type": "integration_app",
    "name": "book_appointment",
    "description": "Book the slot the caller chose. Confirm name and email first.",
    "app_id": "app_1c5e9a3f7b2d6e0a4c8f2b71",
    "action": "cal_com.book_appointment",
    "static_arguments": { "time_zone": "Australia/Sydney" },
    "response_variables": { "booking_uid": "booking.uid", "booking_start": "booking.start" },
    "output_selection": ["booking.uid", "booking.start", "booking.status"]
  }
]

booking_uid is then available as {{booking_uid}} for the rest of the call, in post-call analysis and in webhooks (collected_dynamic_variables).

How availability is searched#

check_availability gives the agent enough choice to find a time on the first try, without filling its context with a whole calendar:

  1. It looks at the day the caller asked for (start, a date such as 2026-10-21 or a date-time), the day before and the three days after. Without start it looks at the next 7 days. It never looks in the past.
  2. If those days are full, it searches forward a week at a time, up to 4 weeks, and stops at the first week with open times. If that week has only one or two open days, it looks one more week ahead so the caller still gets a choice. The answer then carries a note such as "Wednesday 21 October is full. These are the nearest open times." for the agent to pass on.
  3. time_of_day (morning, afternoon or evening) keeps only times in that part of the day. When none are open, it returns the nearest times at any hour, with a note saying so.
  4. It returns at most 3 days, closest first (a day after the asked day comes before the day before it). The asked day gets up to 6 times and the other days 3 each; when the asked day is full, each day gets 4. Times are spread from the first time of the day to the last, 12 at most. more_available is true when there were more, and the note tells the agent it can check again with a day and time of day to hear them.
  5. The agent is told to call it again whenever the caller asks about another day or part of the day, instead of saying it will check and stopping.
{
  "time_zone": "Australia/Sydney",
  "requested_day": "Wednesday 21 October",
  "days": [
    { "day": "Thursday 22 October", "date": "2026-10-22", "times": "9:00 am, 11:00 am, 2:00 pm, 3:30 pm", "more_that_day": 2 },
    { "day": "Friday 23 October", "date": "2026-10-23", "times": "9:00 am, 2:00 pm", "more_that_day": 0 }
  ],
  "slots": [
    { "start": "2026-10-21T22:00:00Z", "label": "Thursday 22 October at 9:00 am" },
    { "start": "2026-10-22T00:00:00Z", "label": "Thursday 22 October at 11:00 am" }
  ],
  "more_available": true,
  "note": "Wednesday 21 October is full. These are the nearest open times."
}

days is the short version the agent reads from. slots lists the same times (the example shows two of six), each with a spoken label in time_zone (default Australia/Sydney) and the exact start to book with.

Without credentials#

Without credentials the app returns realistic results so you can build and test flows:

  • check_availability treats every weekday as open at 9am, 11am, 2pm and 3:30pm in time_zone and weekends as closed, and searches as described above.
  • book_appointment returns a booking with a mock_ uid and status accepted, and refuses a slot that is already booked ("That slot is no longer available").
  • list_bookings, reschedule_booking and cancel_booking work on the sample bookings made earlier with the same app, so a test caller can book, move and cancel.