Orchestrate hospital event responses with Anthropic Claude and scheduling, task, and insurance APIs
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: dischargeReadinessThreshold, taskPriorityWeightUrgency, taskPriorityWeightWorkload…
- Hospital Orchestration Agent (AI Agent): runs an AI agent, with model: Anthropic Chat Model; 2 tools (Calculator, Staff Availability Lookup Tool); output parser: Structured Output Parser
- Respond to Webhook: sends the response back to the webhook caller
- Route by Action Type (Switch): routes items into 3 branches
- Schedule Appointment API (HTTP Request): calls an HTTP API (POST)
- Insurance Verification API (HTTP Request): calls an HTTP API (POST)
- Task Management API (HTTP Request): calls an HTTP API (POST)
- Merge: merges the data from its input branches
- Calculate Task Priority Score (Code): runs custom JavaScript code
- Mask PII and PHI Data (Code): runs custom JavaScript code
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 (12)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Merge
n8n-nodes-base.merge
From the author
How It Works This workflow automates hospital operational event management by intelligently processing incoming events and orchestrating appropriate responses across multiple hospital systems. Designed for hospital operations managers, healthcare IT teams,…