Multi-agent healthcare assistant with WhatsApp, GPT-4 & Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 49 nodes and runs on WhatsApp events (messages). Along the way it connects Postgres Chat Memory, OpenAI Chat Model, WhatsApp Business Cloud and Google Sheets and 1 more.
How it runs
Trigger: On WhatsApp events (messages).
- Switch: routes items into 4 branches
- Analyzing Image Text (WhatsApp Business Cloud): send
- Get Document (WhatsApp Business Cloud): media url get
- Get Audio URL (WhatsApp Business Cloud): media url get
- PrepareInput (Code): runs custom JavaScript code
- Get Image URL (WhatsApp Business Cloud): media url get
- Download Document (HTTP Request): calls an HTTP API
- Download Audio (HTTP Request): calls an HTTP API
- Text Prompt (Edit Fields (Set)): sets 4 fields: sessionId, action, chatInput…
- Download Image (HTTP Request): calls an HTTP API
…plus 14 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 - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Code
n8n-nodes-base.code - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - Extract from File
n8n-nodes-base.extractFromFile
From the author
Multi-Agent AI Healthcare Assistant Demo ⚠️ EDUCATIONAL DEMONSTRATION ONLY - NOT FOR PRODUCTION MEDICAL USE ⚠️ A comprehensive demonstration of n8n's advanced multi-agent AI orchestration capabilities, showcasing how to build sophisticated conversational AI…