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_zoneis an IANA name such asAustralia/Sydney. Bookings default toUTCwhen 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. notesis sent as the booking'snotesfield response, and eachfield_<slug>argument as the response to that booking field. List app event types shows which fields each event type requires.- A
phoneargument, 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:
- It looks at the day the caller asked for (
start, a date such as2026-10-21or a date-time), the day before and the three days after. Withoutstartit looks at the next 7 days. It never looks in the past. - 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
notesuch as "Wednesday 21 October is full. These are the nearest open times." for the agent to pass on. time_of_day(morning,afternoonorevening) 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.- 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_availableis true when there were more, and thenotetells the agent it can check again with a day and time of day to hear them. - 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_availabilitytreats every weekday as open at 9am, 11am, 2pm and 3:30pm intime_zoneand weekends as closed, and searches as described above.book_appointmentreturns a booking with amock_uid and statusaccepted, and refuses a slot that is already booked ("That slot is no longer available").list_bookings,reschedule_bookingandcancel_bookingwork on the sample bookings made earlier with the same app, so a test caller can book, move and cancel.