Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Code, Git & Developer Tools

Code, Git & Developer Tools

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

When something happens in a connected app, it automates developer work with OpenAI / ChatGPT using GitHub, Jira, Postgres, Slack.

What it does

## AI DevOps Incident Management System ### How it works 1. A Slack message or forwarded alert triggers the workflow. 2. An AI agent investigates using Prometheus, Loki, and a RAG search over past incidents, then writes a structured Root Cause Analysis. 3. Every analysis is logged to Postgres for audit history. 4. If a remediation is proposed, a human must approve it in Slack before anything touches real infrastructure. 5. Once approved, the workflow files a ticket, applies the fix via Terraform, and verifies resolution with Prometheus and Grafana. ### Setup steps - [ ] Add Slack credentials (trigger + bot token) - [ ] Add an OpenAI credential and a Vector Store credential for the RAG tool - [ ] Add HTTP credentials for Prometheus and Loki - [ ] Add a Postgres credential and create the incidents table - [ ] Add Jira or GitHub credentials on whichever ticketing node you keep - [ ] Add Terraform Cloud/Enterprise API credentials - [ ] Point the approval Wait node's resume webhook at your Slack interactive-message action ### Customization Swap Jira for GitHub Issues (or vice versa) by deleting the unused branch off the ticketing switch.

The steps

  1. Slack - Incident Trigger
  2. Set - Config
  3. Tool - Query Prometheus
  4. Tool - Query Loki
  5. Tool - RAG Search Past Incidents
  6. OpenAI Chat Model
  7. Window Buffer Memory
  8. AI Agent - Incident Investigator
  9. Set - Parse Agent Output
  10. Postgres - Log Incident Analysis
  11. IF - Remediation Proposed
  12. Slack - Post Investigation Notice
  13. Slack - Request Human Approval
  14. Wait - For Human Approval

23 steps in total.

Similar automations