Skip to main content

Overview

The Book Calendar tool connects your agent to Cal.com so it can confirm and book appointments in real time after the caller selects a time slot.

Setup

1

Create a Cal.com account

Sign up at cal.com if you don’t have one.
2

Configure an event type

In your Cal.com dashboard, set up the event type you want bookings created under.
3

Collect your credentials

CredentialWhere to find it
Event Type IDThe numeric ID in your event type’s URL
API KeySettings → Developer → API Keys
4

Add the function in UponAI

In your agent’s Functions section, click + Add and select Book Calendar Appointment.
Functions Add menu with Book Calendar Appointment highlighted
Enter:
  • Tool name
  • Cal.com API Key
  • Event Type ID
  • Tool description
  • Timezone (optional)
5

Update your prompt

Tell the agent when to book:
When the user selects a slot, book the appointment by calling the book_appointment function.
Pair this with the Check Calendar Availability tool so your agent first checks open slots before confirming a booking.