Route and escalate IoT alarms via webhook with ACK tiers and Claude triage
Ready for 3.0What this workflow does
This workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize Alarm (Code): runs custom JavaScript code
- Flood Suppression (Code): runs custom JavaScript code
- Suppressed? (If): checks a condition and branches into true / false
- Log: Suppressed (Code): runs custom JavaScript code
- Claude Triage (advisory) (HTTP Request): calls api.anthropic.com (POST)
- Attach Triage (Code): runs custom JavaScript code
- Severity Route (Switch): routes items into 2 branches
- Notify Tier 1 (On-Call) (Edit Fields (Set)): sets 6 fields: to, severity, summary…
- Notify (Warning) (Edit Fields (Set)): sets 5 fields: to, severity, summary…
- Log: Info (no page) (Code): runs custom JavaScript code
…plus 10 more steps. See the full node list below.
HTTP calls to: api.anthropic.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow receives industrial/IoT alarms via webhook, suppresses duplicate chatter, optionally summarizes the alarm with Anthropic Claude, and routes notifications by severity with tiered ACK-based escalation and timeouts using HTTP…