Triage and remediate DevOps alerts with Claude, ClickUp, GitHub and Slack
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent - Classify & Triage Alert (v1.6), AI Agent - Generate Remediation Plan (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 - ClickUp
n8n-nodes-base.clickUp - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - GitHub
n8n-nodes-base.github - Merge
n8n-nodes-base.merge
What it does
Quick overview This workflow receives monitoring alerts via webhook, uses Anthropic Claude to triage and draft remediation plans, pulls runbooks and related context from a documentation API, GitHub, ClickUp, and Terraform Cloud, then either executes allowlisted low-risk fixes or escalates to on-call via ClickUp and Slack. How it works 1. Receives a monitoring alert payload through a POST webhook. 2. Uses Anthropic Claude to classify the alert and determine whether it represents a critical production outage. 3. If the alert is critical, creates an urgent ClickUp incident ticket and pages the on-call engineer in Slack, bypassing any automated remediation. 4. For non-critical alerts, retrieves matching runbooks from a documentation knowledge base API, pulls related GitHub issues/PRs, fetches recent ClickUp incident history, and reads the current Terraform Cloud workspace state. 5. Uses Anthropic Claude to generate a remediation plan grounded in the retrieved context and extracts the proposed action type, risk level, confidence, and command. 6. If the plan is allowlisted, low-risk, and high-confidence, calls an HTTP remediation executor to run the fix, logs a resolved ClickUp ticket, and posts confirmation to a DevOps Slack channel. 7. Otherwise, opens a ClickUp ticket for manual remediation and notifies on-call in Slack with the plan and supporting context. 8. Logs the alert details, plan, and outcome to an incident knowledge log API for future reference. Setup 1. Create and configure the incoming alert source to send POST requests to the workflow webhook URL (path: /devops-alert-received). 2. Add credentials for Anthropic Claude, GitHub, ClickUp, Slack, and HTTP header auth credentials for your runbook knowledge base API, Terraform Cloud/Enterprise API, remediation executor API, and incident knowledge log API. 3. Update the configuration values for GitHub owner/repo, ClickUp list ID, Terraform workspace ID, and the runbook, remediation executor, and incident log API URLs. 4. Set the Slack channel names/IDs for critical paging, on-call notifications, and DevOps automation updates. 5. Review and tailor the auto-remediation allowlist (action types), along with the risk and confidence thresholds used to permit automatic execution.