Bookings integration

Cal.com

Cal.com AI integration
  • CategoryBookings
  • AuthAPI key

Overview

Connect Cal.com so the AI agent can check your free times and book, move or cancel Cal.com meetings for your customers in the chat. You connect it with an API key from your Cal.com account, then choose which event types the AI agent is allowed to book. Bookings it makes show up in Cal.com like any other booking.

What MessageMind can do with it

  • The AI agent checks free times on the event types you ticked. It can look for the earliest free slot, a specific day or time, a time of day, or a range of days.
  • If the time a customer asks for is taken, it offers later times on the same day or the same time on nearby days.
  • Once the customer picks a time, it asks for their name, email and any booking question the event type marks as required, then books the meeting in Cal.com.
  • When the event type's booking form has the notes or guests field, it asks whether the customer wants to add a note or invite other people by email.
  • It moves an upcoming booking to a new time on the same event type, after checking that the new time is free.
  • It cancels an upcoming booking after the customer confirms, and passes on their reason if they give one.
  • With more than one event type ticked, it asks which one the customer wants when they haven't said.
  • For event types where you confirm bookings yourself in Cal.com, it tells the customer the booking is waiting for your confirmation.

Requirements

  • A Starter, Professional or Enterprise plan.
  • An account on Cal.com's hosted service at cal.com.
  • At least one visible event type in Cal.com.

How to connect

  1. In Cal.com, go to Settings > Developer > API Keys and create a new key. Do this while signed in to the Cal.com account whose event types the AI agent should book.
  2. Choose Never expires for the key.
  3. Copy the key.
  4. In MessageMind, open Connections > Integrations from the top bar.
  5. Find the Cal.com row under Bookings, or type Cal.com in the search box.
  6. Click Connect on the row. The Connect Cal.com window opens.
  7. Paste the key into the API Key field and click Connect.
  8. The window now lists your event types under "Select the event types you want your AI agent to manage." Each one shows its name and length.
  9. Tick the event types the AI agent may book.
  10. Click Connect again. The window closes and the Cal.com row shows a tick and a Disconnect button.

Authentication and permissions

Mechanism
You paste a Cal.com API key into MessageMind.
Credentials
One API key, created in Cal.com under Settings > Developer > API Keys and pasted into the API Key field of the Connect Cal.com window. MessageMind uses the event types of the Cal.com account that created the key.

Available data and actions

Reads

  • Your visible event types, with their name, length and booking questions, including which questions are required.
  • Free times on the event types you ticked, as Cal.com works them out from your availability settings and existing bookings.
  • Upcoming bookings on those event types, found by the attendee's email and the booking's date and time when a customer asks to move or cancel.

Writes

  • New bookings on the event types you ticked, with the customer's name, email, answers to the booking questions and any guests or notes they added.
  • New times for upcoming bookings, with the customer's reason when they give one.
  • Cancellations of upcoming bookings, with the customer's reason when they give one.

AI agent use cases

  • A customer on WhatsApp asks for the first free slot for a 30 minute consultation. The AI agent finds the earliest time on that event type and books it once they agree.
  • A visitor in your website chat asks if you have anything on Thursday afternoon. The AI agent lists the free times in that window and books the one they choose.
  • A client writes that they can't make Tuesday at 10 and asks for Friday instead. The AI agent finds their booking and moves it to a free time on Friday.
  • Someone needs to cancel. The AI agent asks them to confirm, cancels the booking in Cal.com and passes on the reason they give.
  • You keep an internal event type for team calls in Cal.com. You leave it unticked, so the AI agent never offers it to customers.

Configuration

  • Click the gear button on the Cal.com row in Connections > Integrations. The Manage Cal.com event types window opens.
  • Tick the event types the AI agent can book. Select all and Clear change every box at once, and a search box appears when you have more than six event types.
  • Click Save to apply your choice.
  • New event types appear in the list unticked. Tick them and click Save to let the AI agent use them.
  • The AI agent works from the event type details saved the last time you clicked Connect or Save. After you rename an event type or change its booking questions in Cal.com, open this window and click Save so the AI agent picks up the change.

Example workflows

A customer books a consultation on Instagram

  1. A customer writes: "Can I book a call next Monday morning?"
  2. You ticked two event types, so the AI agent asks whether they want the 15 minute intro call or the 60 minute consultation.
  3. The customer picks the consultation. The AI agent checks Monday morning on that event type and offers the free times.
  4. The customer chooses 10:30. The AI agent asks for their name, their email and answers to the event type's required questions, and whether they want to add a note.
  5. The booking is made in Cal.com and the AI agent confirms it in the chat.

A customer moves their booking

  1. A customer writes: "I need to change my appointment on the 14th."
  2. The AI agent asks for the email address they booked with and the time of the appointment. If you ticked more than one event type, it also asks which one the booking is for.
  3. It asks for the new day and time, and whether they want to give a reason.
  4. It checks that the new time is free, then moves the booking in Cal.com.
  5. The customer gets the new time in the chat. If the event type needs your confirmation, the AI agent says the new time is waiting for you to confirm it.

Disconnect and reconnect

  • Open Connections > Integrations and click Disconnect on the Cal.com row. It disconnects right away and shows "Integration Successfully Removed".
  • Bookings already made stay in Cal.com.
  • To connect again, click Connect, paste a key and tick the event types again.
  • To also turn off the API key, delete it in Cal.com under Settings > Developer > API Keys.