Manage patient appointments and care follow-ups with OpenAI, Gmail and Twilio
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model, Twilio and HTTP Request.
How it runs
Trigger: When a chat message arrives.
- Workflow Configuration (Edit Fields (Set)): sets 3 fields: ehrApiUrl, schedulingApiUrl, hospitalName
- Intake Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Intake; 2 tools (Notification Agent Tool, Care Coordination Agent Tool); memory: Conversation Memory; output parser: Intake Parser
- Prepare Final Output (Edit Fields (Set)): sets 6 fields: intent, entities, action_required…
- Check Notification Method (If): checks a condition and branches into true / false
- Send Email: sends an email over SMTP
- Send SMS Notification (Twilio): uses Twilio
Services it uses
Other OpenAI + Twilio templates (54)
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)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Twilio
n8n-nodes-base.twilio - Http Request Tool
n8n-nodes-base.httpRequestTool
From the author
How It Works This workflow automates patient care coordination in healthcare settings by intelligently processing patient information and scheduling follow-up communications through multiple channels. Designed for healthcare administrators, clinic…