AI-Powered WhatsApp Chatbot 🤖📅: Complete Booking Assistant with Gemini & Google
Ready for 3.0What this workflow does
This AI workflow has 37 nodes and runs when another workflow fails (error workflow) (plus 2 other triggers). Along the way it connects Google Calendar, Google Sheets, Gmail and WhatsApp Business Cloud and 6 more.
How it runs
Trigger: When another workflow fails (error workflow) (plus 2 other triggers).
- Notify: Workflow Error (Gmail): uses Gmail
- From Chat (Edit Fields (Set)): sets 2 fields: message, sessionId
- Input type (Switch): routes items into 2 branches
- Normalize (Edit Fields (Set)): sets 3 fields: message, sessionId, type
- Message (Edit Fields (Set)): sets 3 fields: message, sessionId, type
- Get Audio Url (WhatsApp Business Cloud): media url get
- Not supported (WhatsApp Business Cloud): send
- Guardrails: uses Guardrails, with model: Google Gemini Chat Model
- Download Audio (HTTP Request): calls an HTTP API
- Virtual Assistant (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; 8 tools (Add client, Calculator, Get events, New client…); memory: Postgres Chat Memory
…plus 12 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Rarely used nodes in this template: n8n-nodes-base.whatsAppHitlTool
Nodes used (22)
- Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Error Trigger
n8n-nodes-base.errorTrigger - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Code
n8n-nodes-base.code - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Gmail Tool
n8n-nodes-base.gmailTool - Whats App Hitl Tool
n8n-nodes-base.whatsAppHitlTool - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Guardrails
@n8n/n8n-nodes-langchain.guardrails - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Chat Hitl Tool
@n8n/n8n-nodes-langchain.chatHitlTool - Chat
@n8n/n8n-nodes-langchain.chat
From the author
This workflow implements an AI-powered WhatsApp booking assistant for a hair salon. The system allows customers to book, reschedule, or cancel appointments automatically via text or voice messages on WhatsApp. The workflow supports both text and voice…