Medical triage & appointment automation with GPT-4 and Jotform
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs on Jotform events. Along the way it connects OpenAI Chat Model, Gmail, Google Sheets and Jot Form. It also calls slack.com over HTTP.
How it runs
Trigger: On Jotform events.
- Extract Patient Data (Edit Fields (Set)): sets 16 fields: patient_name, patient_email, patient_phone…
- Calculate Patient Info (Code): runs custom JavaScript code
- AI Medical Triage & Analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- Is Emergency? (If): checks a condition and branches into true / false
- Is Urgent? (If): checks a condition and branches into true / false
- Alert Emergency Team (Slack) (HTTP Request): calls slack.com (POST)
- Notify Front Desk (Urgent) (Gmail): uses Gmail
- Notify Scheduler (Routine) (Gmail): uses Gmail
- Send Emergency Instructions (Gmail): uses Gmail
- Send Patient Confirmation (Urgent) (Gmail): uses Gmail
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: slack.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.
Nodes used (10)
- Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets - Jotform Trigger
n8n-nodes-base.jotFormTrigger
From the author
Transform patient intake from paperwork chaos into intelligent, automated triage that detects emergencies, prepares providers with comprehensive briefs, and streamlines scheduling—improving patient safety while saving 15-20 hours per week. 🎯 What This…