Handle healthcare appointments on WhatsApp with Gemini and Google Calendar
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs on WhatsApp events (messages) (plus 1 other trigger). Along the way it connects Redis, Postgres Chat Memory, Google Gemini Chat Model and WhatsApp Business Cloud and 2 more.
How it runs
Trigger: On WhatsApp events (messages) (plus 1 other trigger).
- Handle Message Updates (If): checks a condition and branches into true / false
- Crypto: hashes or encrypts values
- Verify the name (Code): runs custom JavaScript code
- Create A Link (Code): runs custom JavaScript code
- Crypto: hashes or encrypts values
- Redis: set
- Get if the escalation Exists (Redis): get
- Send template (WhatsApp Business Cloud): uses WhatsApp Business Cloud
- Route according to escalation status (If): checks a condition and branches into true / false
- Switch: routes items into 2 branches
…plus 2 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.
Nodes used (15)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Redis
n8n-nodes-base.redis - If
n8n-nodes-base.if - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Switch
n8n-nodes-base.switch - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Crypto
n8n-nodes-base.crypto - Code
n8n-nodes-base.code - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger
From the author
Quick overview This workflow uses the WhatsApp Cloud API, Google Gemini, Google Calendar, PostgreSQL, Redis, and Google Sheets to run an AI appointment assistant that answers scheduling questions, checks availability, books/reschedules/cancels appointments,…