# Orchestrate patient admission, discharge and post-care: n8n workflow

> Started by another system calling it, and works across Email and Slack. It hands the judgement calls to Claude.

Source: https://millionrounds.com/workflow/orchestrate-patient-admission-discharge-and-post-care (Millionrounds; every figure on the page links to its filing or article)

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

# Orchestrate patient admission, discharge and post-care

Started by another system calling it, and works across Email and Slack. It hands the judgement calls to Claude. 22 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Claude

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Forchestrate-patient-admission-discharge-and-post-care)

**22 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 3 Logic 8 Service 9

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

- 1 **Schedule Patient Operations Check** Schedule trigger *Starts it*
- 2 **Patient Event Webhook** Webhook *Starts it*
- 3 **Claude Model** Lm Chat Anthropic *Model*
- 4 **Structured Operations Output** Output Parser Structured *Model*
- 5 **Merge Triggers** Merge *Logic*
- 6 **Healthcare Operations Orchestrator** Agent *Model*
- 7 **Workflow Configuration** Set *Logic*
- 8 **Route by Operation Type** Switch *Logic*
- 9 **Fetch EHR Patient Data** Http Request *Service*
- 10 **Execute Admission Workflow** Http Request *Service*
- 11 **Execute Discharge Workflow** Http Request *Service*
- 12 **Execute Post-Care Workflow** Http Request *Service*
- 13 **Fetch Pharmacy Readiness** Http Request *Service*
- 14 **Check Exception Flag** If *Logic*
- 15 **Fetch Case Management Data** Http Request *Service*
- 16 **Escalate to Clinical Staff** Slack *Service*
- 17 **Send Exception Email** Email Send *Service*
- 18 **Aggregate System Data** Set *Logic*
- 19 **Merge Workflow Paths** Merge *Logic*
- 20 **Validate Data Completeness** Code *Logic*
- 21 **Log Audit Trail** Http Request *Service*
- 22 **Format Compliance Report** Set *Logic*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 22, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Email, Slack
- **Model:** Claude

## Questions

What does it need to run?

An n8n account, plus your own Email and Slack accounts, 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?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

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 22 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-patient-admission-discharge-and-post-care)
- **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.

## Connects to

Each opens the other workflows that use it.

[Email](https://millionrounds.com/workflows?service=Email#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

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

- [**Generate complete social media campaigns with DALL and OpenAI** 22 steps · calls a model · Slack](https://millionrounds.com/workflow/generate-complete-social-media-campaigns-with-dall-and-opena)
- [**AI-powered content analysis with Decodo and OpenAI** 21 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/ai-powered-content-analysis-with-decodo-and-openai)
- [**Create captioned vertical video clips from Google Drive** 23 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/create-captioned-vertical-video-clips-from-google-drive)
- [**Create script-to-video avatar videos with HeyGen** 21 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/create-script-to-video-avatar-videos-with-heygen)
- [**End-to-end YouTube video automation with OpenAI** 23 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/end-to-end-youtube-video-automation-with-openai)
- [**Gate pgvector indexing by checking consent in Postgres** 21 steps · calls a model · Postgres, Slack](https://millionrounds.com/workflow/gate-pgvector-indexing-by-checking-consent-in-postgres)
