Medical symptom analysis & doctor recommendations with Ollama AI & WhatsApp
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Ollama Chat Model. It also calls api.betterdoctor.com and graph.facebook.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- AI Symptom Analysis (AI Agent): runs an AI agent, with model: Medical AI Model
- Parse Medical Analysis (Code): runs custom JavaScript code
- Check Emergency (If): checks a condition and branches into true / false
- Create Emergency Response (Code): runs custom JavaScript code
- Find Doctors (HTTP Request): calls api.betterdoctor.com
- Check WhatsApp Available (If): checks a condition and branches into true / false
- Format Medical Response (Code): runs custom JavaScript code
- Prepare WhatsApp Message (Code): runs custom JavaScript code
- Send Email: sends an email over SMTP
- Send WhatsApp Response (HTTP Request): calls graph.facebook.com
…plus 1 more step. See the full node list below.
Services it uses
Other Facebook + Ollama templates (5)
HTTP calls to: api.betterdoctor.com, graph.facebook.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Ollama Chat Model
@n8n/n8n-nodes-langchain.lmChatOllama - Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Send Email
n8n-nodes-base.emailSend - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This n8n workflow enables an AI-powered symptom checker where users input symptoms via a form or chat, analyzes them using an AI model, matches possible conditions, and suggests relevant doctors with contact details via WhatsApp or email, enhancing healthcare…