Route medical info requests and safety events with Claude and Slack
Needs changesWhat this workflow does
This AI workflow has 19 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Set - Config (Edit Fields (Set)): sets 14 fields: question, requesterName, requesterEmail…
- AI Agent: runs an AI agent, with model: Anthropic - Classification & Response Model
- JS - Parse Classification Output (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- HTTP - Create Urgent Safety Case (Pharmacovigilance) (HTTP Request): calls an HTTP API (POST)
- HTTP - Search Approved Knowledge Base (HTTP Request): calls an HTTP API (POST)
- Slack: uses Slack
- JS - Evaluate Knowledge Base Coverage (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
- AI Agent: runs an AI agent, with model: Anthropic - Classification & Response Model
…plus 7 more steps. See the full node list below.
Services it uses
Other Anthropic + Slack templates (204)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent - Classify Medical Information Request (v1.6), AI Agent - Draft Response from Approved Sources (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent - Classify Medical Information Request (v1.6), AI Agent - Draft Response from Approved Sources (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- 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 - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Switch
n8n-nodes-base.switch - Send Email
n8n-nodes-base.emailSend - Merge
n8n-nodes-base.merge
From the author
Quick overview This workflow receives medical information questions via webhook, uses Anthropic Claude to classify topic/urgency/complexity and detect potential safety signals, retrieves content from an approved knowledge base to draft sourced replies, then…