# Orchestrate hospital event responses with Claude: n8n workflow

> Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/orchestrate-hospital-event-responses-with-claude (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Orchestrate hospital event responses with Claude

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to Claude. 15 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Forchestrate-hospital-event-responses-with-claude)

**15 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 2 Model 5 Logic 5 Service 3

The steps in the order they run, from what starts it.

- 1 **Hospital Event Webhook** Webhook *Starts it*
- 2 **Anthropic Chat Model** Lm Chat Anthropic *Model*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **Staff Availability Lookup Tool** Tool Code *Model*
- 5 **Calculator** Tool Calculator *Model*
- 6 **Workflow Configuration** Set *Logic*
- 7 **Hospital Orchestration Agent** Agent *Model*
- 8 **Respond to Webhook** Respond To Webhook *Starts it*
- 9 **Route by Action Type** Switch *Logic*
- 10 **Schedule Appointment API** Http Request *Service*
- 11 **Insurance Verification API** Http Request *Service*
- 12 **Task Management API** Http Request *Service*
- 13 **Merge Action Results** Merge *Logic*
- 14 **Calculate Task Priority Score** Code *Logic*
- 15 **Mask PII and PHI Data** Code *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 15, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Forchestrate-hospital-event-responses-with-claude)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**AI-powered X (Twitter) content generator and scheduler** 15 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/ai-powered-x-twitter-content-generator-and-scheduler)
- [**AI-powered productivity coach with Google Calendar and Todoist** 15 steps · calls a model · Google Calendar, Google Sheets](https://millionrounds.com/workflow/ai-powered-productivity-coach-with-google-calendar-and-todoi)
- [**Angie, personal AI assistant with Telegram** 15 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/angie-personal-ai-assistant-with-telegram)
- [**Automate meeting Nexus preparation with OpenAI** 15 steps · calls a model · Google Calendar, Notion](https://millionrounds.com/workflow/automate-meeting-nexus-preparation-with-openai)
- [**Build a personal assistant with Gemini and Gmail** 15 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/build-a-personal-assistant-with-gemini-and-gmail)
- [**Build a trip itinerary from Gmail booking emails with Gemini** 15 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/build-a-trip-itinerary-from-gmail-booking-emails-with-gemini)
