Automation library · Chat assistants

Triage and remediate Kubernetes incidents with Claude

Started by another system calling it, and works across Slack. It hands the judgement calls to Claude. 21 steps, 3 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Claude

21 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 2Model 3Logic 9Service 7

The steps in the order they run, from what starts it.

  1. 1Webhook - Alertmanager/K8s Event ReceivedWebhookStarts it
  2. 2Manual Trigger - Test RunManual triggerStarts it
  3. 3Anthropic - Diagnostics ModelLm Chat AnthropicModel
  4. 4Set - ConfigSetLogic
  5. 5AI Agent - Diagnose Root Cause & Propose RemediationAgentModel
  6. 6AI Agent - Verify Symptoms ResolvedAgentModel
  7. 7HTTP - Collect Cluster DiagnosticsHttp RequestService
  8. 8JS - Parse Diagnosis OutputCodeLogic
  9. 9JS - Parse Verification OutputCodeLogic
  10. 10IF - Remediation Is Safe To Auto-Execute?IfLogic
  11. 11IF - Cluster Healthy?IfLogic
  12. 12HTTP - Execute Remediation ActionHttp RequestService
  13. 13Slack - Request Remediation ApprovalSlackService
  14. 14HTTP - Log Incident ClosedHttp RequestService
  15. 15Slack - Escalate Unresolved IncidentSlackService
  16. 16Wait - For Stabilization PeriodWaitLogic
  17. 17Wait - For Remediation ApprovalWaitLogic
  18. 18HTTP - Verify Cluster HealthHttp RequestService
  19. 19IF - Approval Granted?IfLogic
  20. 20Set - Case Status RejectedSetLogic
  21. 21Slack - Notify Remediation RejectedSlackService

How it's built

Starts on
Another system calling it
Steps
21, with 3 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Slack
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Slack account, and a key for Claude. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Claude. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.