Triage and remediate incidents with Anthropic Claude and Slack
Ready for 3.0What this workflow does
This workflow has 40 nodes and runs on a schedule (every minute) (plus 3 other triggers). It uses only n8n's built-in nodes. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: On a schedule (every minute) (plus 3 other triggers).
- Normalize Trigger Input (Code): runs custom JavaScript code
- Parse Approval Callback (Code): runs custom JavaScript code
- Set Configuration Parameters (Edit Fields (Set)): sets 11 fields: autoRemediateMaxSeverity, maxIncidentsPerRun, monitoringMetricsUrl…
- If: checks a condition and branches into true / false
- Determine Trigger Mode (Code): runs custom JavaScript code
- Execute Approved Remediation Runbook (HTTP Request): calls an HTTP API (POST)
- Build Declined Response (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Notify Remediation Executed (HTTP Request): calls an HTTP API (POST)
- Respond to Approval Webhook (Respond to Webhook): sends the response back to the webhook caller
…plus 26 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.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow ingests incidents from a schedule, an intake webhook, or a manual test trigger, gathers monitoring metrics and recent deploy history, uses Anthropic Claude to triage and plan remediation, posts approval requests and status updates…