Automation library · Content

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.

LargeCalls a model: Claude

22 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 3Logic 8Service 9

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

  1. 1Schedule Patient Operations CheckSchedule triggerStarts it
  2. 2Patient Event WebhookWebhookStarts it
  3. 3Claude ModelLm Chat AnthropicModel
  4. 4Structured Operations OutputOutput Parser StructuredModel
  5. 5Merge TriggersMergeLogic
  6. 6Healthcare Operations OrchestratorAgentModel
  7. 7Workflow ConfigurationSetLogic
  8. 8Route by Operation TypeSwitchLogic
  9. 9Fetch EHR Patient DataHttp RequestService
  10. 10Execute Admission WorkflowHttp RequestService
  11. 11Execute Discharge WorkflowHttp RequestService
  12. 12Execute Post-Care WorkflowHttp RequestService
  13. 13Fetch Pharmacy ReadinessHttp RequestService
  14. 14Check Exception FlagIfLogic
  15. 15Fetch Case Management DataHttp RequestService
  16. 16Escalate to Clinical StaffSlackService
  17. 17Send Exception EmailEmail SendService
  18. 18Aggregate System DataSetLogic
  19. 19Merge Workflow PathsMergeLogic
  20. 20Validate Data CompletenessCodeLogic
  21. 21Log Audit TrailHttp RequestService
  22. 22Format Compliance ReportSetLogic

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.