Analyze pharma label change impact with Anthropic Claude and Slack
Needs changesWhat this workflow does
This AI workflow has 24 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Anthropic Chat Model and Slack.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Prepare Configurations (Edit Fields (Set)): sets 11 fields: productId, productName, labelSourceUrl…
- Fetch Label Text (HTTP Request): calls an HTTP API
- Compare with Previous Label (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Fetch Product Master Data (HTTP Request): calls an HTTP API
- Merge Label and Product Data (Code): runs custom JavaScript code
- Impact Analysis Agent (AI Agent): runs an AI agent, with model: Claude Label Impact Model
- Parse Impact Analysis (Code): runs custom JavaScript code
- Route by Impact Severity (Switch): routes items into 1 branches
- Wait: pauses before continuing
…plus 10 more steps. See the full node list below.
Services it uses
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 Impact Analysis Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Impact Analysis Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Switch
n8n-nodes-base.switch - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend
From the author
Quick overview This workflow runs on a schedule (or manually) to detect drug label updates via HTTP, uses Anthropic Claude to analyze the differences and assess impact, and then routes reviews through Slack and a sign-off step before updating product master…