Templates / Triage DevOps incidents from Slack with GPT-4.1, Prometheus, Jira and Terraform

Triage DevOps incidents from Slack with GPT-4.1, Prometheus, Jira and Terraform

Needs changes

by Oneclick AI Squad ✓ · 27 views · created 2026-09-04 · DevOps, AI RAG

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: HTTP Request Tool (legacy), AI Agent v1 (old agent modes). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs on Slack events. Along the way it connects Slack, HTTP Request, Vector Store Question Answer and OpenAI Chat Model and 3 more.

How it runs

Trigger: On Slack events.

  1. Set - Config (Edit Fields (Set)): sets 6 fields: incidentText, slackChannel, slackThreadTs…
  2. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 3 tools (Tool - Query Loki, Tool - Query Prometheus, Tool - RAG Search Past Incidents); memory: Window Buffer Memory
  3. Set - Parse Agent Output (Edit Fields (Set)): sets 1 field: parsedOutput
  4. Postgres: uses Postgres
  5. If: checks a condition and branches into true / false
  6. Slack: uses Slack
  7. Slack: uses Slack
  8. Wait: pauses before continuing
  9. If: checks a condition and branches into true / false
  10. Switch: routes items into 2 branches

…plus 7 more steps. See the full node list below.

Services it uses

SlackHTTP RequestVector Store Question AnswerOpenAI Chat ModelPostgresJira SoftwareGitHub

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • HTTP Request Tool (legacy) in Tool - Query Prometheus, Tool - Query Loki: replace with HTTP Request node connected to the AI Agent's Tool input.
  • AI Agent v1 (old agent modes) in AI Agent - Incident Investigator (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).

Removed in 3.0Replace with
HTTP Request Tool (legacy)
Tool - Query Prometheus, Tool - Query Loki
HTTP Request node connected to the AI Agent's Tool input
AI Agent v1 (old agent modes)
AI Agent - Incident Investigator (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (15)

From the author

Quick overview This workflow listens for incident reports in Slack, uses an OpenAI agent with tool-calling to query Prometheus, Loki, and a vector-store RAG knowledge base, logs the analysis to PostgreSQL, and—after explicit human approval—creates a Jira or…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.