Reply to WhatsApp leads with Google Gemini and Cal.com booking

Go to Workflow
0 views
Built by Naveen Choudhary Naveen Choudhary
Created on September 05, 2026

Description

Quick overview
This workflow listens for incoming WhatsApp messages and uses Google Gemini plus optional TinyFish web research to draft concise replies, including offering and booking Cal.com meeting slots when requested, then sends the response back to the same WhatsApp contact.

How it works
Triggers when a new WhatsApp message is received.
Checks that the incoming message contains text and ignores non-text messages.
Adds booking and context fields (Cal.com link, event type, timezone, sender details, and message text) to the incoming payload.
Uses a Google Gemini-powered agent with short-term chat memory to draft a reply, optionally calling TinyFish Search/Web Agent for lead research and Cal.com Slots/Book to propose and confirm meeting times.
Sanitizes the generated response to ensure it is never empty and stays within a safe length limit.
Sends the final reply back to the original sender via WhatsApp.

Setup
Connect WhatsApp Cloud API credentials for both the WhatsApp Trigger and WhatsApp send action, and ensure your WhatsApp app is configured to deliver message webhooks to n8n.
Add a Google Gemini (PaLM) API credential for the chat model used by the agent.
Add a Cal.com API key credential and set your Cal.com booking URL, eventTypeId, timezone, and lookahead days in the Booking Config step.
(Optional) Add TinyFish credentials if you want the agent to perform web research about people or companies mentioned in chats.

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
WhatsApp Business Cloud
n8n-nodes-base.whatsApp