Templates / Handle WhatsApp support and Cal.com bookings with Gemini and Google Docs

Handle WhatsApp support and Cal.com bookings with Gemini and Google Docs

Needs changes

by Ravi Patel ✓ · 63 views · created 2026-06-03 · Support Chatbot, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 22 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, Google Docs, Google Gemini Chat Model and Google Sheets. It also calls api.cal.com over HTTP.

How it runs

Trigger: On WhatsApp events (messages).

  1. Normalize Message Input (Code): runs custom JavaScript code
  2. Check 24h Message Window (If): checks a condition and branches into true / false
  3. Retrieve Company Knowledge (Google Docs): get
  4. Send WhatsApp Reopen Message (WhatsApp Business Cloud): uses WhatsApp Business Cloud
  5. Build AI Context (Code): runs custom JavaScript code
  6. Extract Booking Details (Code): runs custom JavaScript code
  7. Prepare AI Booking Prompt (Code): runs custom JavaScript code
  8. Booking Information Agent (AI Agent): runs an AI agent, with model: Google Chat Model (Booking)
  9. General Support Agent (AI Agent): runs an AI agent, with model: Google Chat Model (Support); memory: Store Simple Memory
  10. Parse Booking Data (Code): runs custom JavaScript code

…plus 8 more steps. See the full node list below.

Services it uses

WhatsApp Business CloudGoogle DocsGoogle Gemini Chat ModelGoogle Sheets

HTTP calls to: api.cal.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Booking Information Agent (v1.7), General Support Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Booking Information Agent (v1.7), General Support Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

Quick overview This workflow answers WhatsApp support messages using Google Gemini with company context from Google Docs, and automatically creates Cal.com bookings when users provide enough scheduling details, then logs each conversation to Google Sheets.…

Excerpt from Ravi Patel's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.