Templates / Orchestrate hospital event responses with Anthropic Claude and scheduling, task, and insurance APIs

Orchestrate hospital event responses with Anthropic Claude and scheduling, task, and insurance APIs

Ready for 3.0

by Cheng Siong Chin ✓ · 265 views · created 2026-01-25 · Miscellaneous, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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.

  1. Workflow Configuration (Edit Fields (Set)): sets 7 fields: dischargeReadinessThreshold, taskPriorityWeightUrgency, taskPriorityWeightWorkload…
  2. 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
  3. Respond to Webhook: sends the response back to the webhook caller
  4. Route by Action Type (Switch): routes items into 3 branches
  5. Schedule Appointment API (HTTP Request): calls an HTTP API (POST)
  6. Insurance Verification API (HTTP Request): calls an HTTP API (POST)
  7. Task Management API (HTTP Request): calls an HTTP API (POST)
  8. Merge: merges the data from its input branches
  9. Calculate Task Priority Score (Code): runs custom JavaScript code
  10. Mask PII and PHI Data (Code): runs custom JavaScript code

Services it uses

Anthropic Chat Model

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)

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,…

Excerpt from Cheng Siong Chin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.