Create Kubernetes resources from Slack with Anthropic Claude and safety guardrails
Needs changesWhat this workflow does
This AI workflow has 21 nodes and runs on Slack events (plus 1 other trigger). Along the way it connects Slack and Anthropic Chat Model.
How it runs
Trigger: On Slack events (plus 1 other trigger).
- Set Configuration Parameters (Edit Fields (Set)): sets 8 fields: requestDescription, requestedBy, k8sApiBaseUrl…
- Kubernetes Manifest Generator (AI Agent): runs an AI agent, with model: Claude Manifest Model
- Parse Manifest JSON (Code): runs custom JavaScript code
- Validate Manifest Guardrails (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Request Manifest Approval on Slack (Slack): uses Slack
- Notify Validation Failure on Slack (Slack): uses Slack
- Wait: pauses before continuing
- If: checks a condition and branches into true / false
- Apply Manifest to Kubernetes (HTTP Request): calls an HTTP API (POST)
…plus 8 more steps. See the full node list below.
Services it uses
Other Anthropic + Slack templates (204)
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 Kubernetes Manifest Generator (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Slack Trigger requires a signing secret on the Slack API credential.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Kubernetes Manifest Generator (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Slack Trigger
n8n-nodes-base.slackTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - 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 - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow listens for Kubernetes create requests in Slack (or runs manually), uses Anthropic Claude to generate a Kubernetes manifest, validates it against deterministic safety guardrails, requests human approval in Slack, then applies the…