← Back to directory
Personal Productivity Medium to set up AI workflow Schedule/Coordinate

WhatsApp Booking and Cal.com

Source reviewed Updated 2026-07-07

Inbound WhatsApp messages trigger an AI assistant that books appointments via Cal.com, logs them to Sheets, and sends SMS reminders.

freelancers and consultants

What it does

You receive instant booking confirmations and timely SMS reminders when clients schedule appointments directly through WhatsApp. This process automatically handles your scheduling requests by checking availability, logging details to Google Sheets, and managing the entire conversation without manual intervention.

Step by step

  1. Configure the WhatsApp Business API webhook to listen for incoming messages and forward them to your backend endpoint.
  2. Set up a Google Sheet with columns for client name, phone number, service type, and booking timestamp.
  3. Create an API key in Cal.com with permissions to read availability and create events.
  4. Integrate the SMS provider's SDK to send outbound messages using the scheduled appointment details.

Where the LLM does the work

  • Use GPT-4 to parse unstructured WhatsApp text into structured booking fields like date, time, and service preference.
  • Implement an LLM-driven intent classifier to distinguish between new bookings, cancellations, and general inquiries.
  • Generate natural language responses for confirmations or follow-up questions based on the Cal.com availability results.

Watch out for

WhatsApp requires strict template approval for outbound messages so you must pre-approve your confirmation message templates before going live.
Cal.com API calls can fail if timezones are mismatched, so always normalize timestamps to UTC before sending requests.
Phone number formatting varies across regions, so use a library like libphonenumber to standardize inputs before storing them in Google Sheets.

Tools that fit

WhatsApp API Service Inbound message trigger and confirmation delivery
OpenAI Chat Model LLM Conversation flow and qualification via GPT-4
Cal.com API API Fetching slots and booking appointments
Google Sheets Service Storing appointment details and status
SMS Service Service Sending pre-appointment reminders

The agent brief

Everything your agent needs, including the gotchas. Copy it and go.
agent-brief.md
You are helping me build the following AI agent workflow.

## Goal
WhatsApp Booking and Cal.com: Inbound WhatsApp messages trigger an AI assistant that books appointments via Cal.com, logs them to Sheets, and sends SMS reminders.

## Specification
- What it does: You receive instant booking confirmations and timely SMS reminders when clients schedule appointments directly through WhatsApp. This process automatically handles your scheduling requests by checking availability, logging details to Google Sheets, and managing the entire conversation without manual intervention.
- Trigger: Triggered by an event (Event · on new WhatsApp message)
- Autonomy: Fully hands-off
- Expected setup effort: about an afternoon
- Tools/services involved:
  - WhatsApp API: Inbound message trigger and confirmation delivery
  - OpenAI Chat Model: Conversation flow and qualification via GPT-4
  - Cal.com API: Fetching slots and booking appointments
  - Google Sheets: Storing appointment details and status
  - SMS Service: Sending pre-appointment reminders

## Known pitfalls, handle each one explicitly in your implementation
1. WhatsApp requires strict template approval for outbound messages so you must pre-approve your confirmation message templates before going live.
2. Cal.com API calls can fail if timezones are mismatched, so always normalize timestamps to UTC before sending requests.
3. Phone number formatting varies across regions, so use a library like libphonenumber to standardize inputs before storing them in Google Sheets.

## Reference implementation
https://n8n.io/workflows/4949 (workflow template)
Fetch and inspect this before building. If it matches my stack, adapt it;
if not, rebuild the pattern with my tools.

## Process requirements
1. Before building: ask me which of the listed tools I actually use and
   what my platform is (n8n / Make / code / other). Do not assume.
2. Adapt the pattern to my answers; do not force the reference stack.
3. Address every pitfall above; tell me how you handled each.
4. Provide a test plan I can run before letting this touch real data.
5. Ask before any step that sends messages, modifies data, or spends money.

Source: https://usecasesforagents.com/use-case/automate-whatsapp-booking-with-gpt-4-and-cal-com/ via usecasesforagents.com

Frequently asked questions

Can I use a different Messaging than WhatsApp?

Yes. WhatsApp is only the example messaging in this recipe. The same flow works with ClickSend API, Discord, Google Chat and LINE Messaging API. Swap the messaging connection and keep the rest of the setup as written.

Want this running in your business?

This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Get in touch →

Who it's for

Built for freelancers and consultants juggling this across every client, not just one.

Seen in the wild

← Back to directory