Triage and schedule healthcare appointments with Azure OpenAI, Google Sheets and Gmail
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Azure OpenAI Chat Model, Google Sheets and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- 🗂️ Format Patient Data (Edit Fields (Set)): sets or maps fields
- 🤖 AI Doctor Assignment Agent (AI Agent): runs an AI agent, with model: 🧠 Azure OpenAI – Assignment Model; 1 tool (📋 Fetch Doctor List from Sheet)
- 📋 Fetch All Appointments for Feedback (Google Sheets): uses Google Sheets
- 🤖 AI Triage Agent (AI Agent): runs an AI agent, with model: 🧠 Azure OpenAI – Triage Model
- ⚙️ Normalize Assignment Output (Code): runs custom JavaScript code
- 🔀 Filter Completed Visits (If): checks a condition and branches into true / false
- ⚙️ Normalize Triage Output (Code): runs custom JavaScript code
- 📝 Save Assignment to Appointments Sheet (Google Sheets): append or update
- 📧 Send Feedback Email to Patient (Gmail): uses Gmail
- 📝 Save Triage to Patient Forms Sheet (Google Sheets): append or update
…plus 3 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 (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Google Sheets Trigger
n8n-nodes-base.googleSheetsTrigger - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if
From the author
📊 Description Automate your clinic’s patient intake and scheduling with an intelligent AI Healthcare Appointment Booking Agent built in n8n. 🏥 This workflow receives patient form submissions, analyzes symptoms using AI triage, determines urgency levels, and…