Webhook icon
Parallel icon
ChatCompletion icon
SlackIncomingWebhook icon
If icon
Create icon

AI-Powered Incident Response Automation

Automate incident triage using OpenAI, Slack, and Jira with parallel processing in Kestra.

Categories
AIBusinessInfrastructure

How it works

This blueprint automates incident triage by listening for new GitHub issues via a webhook. It then runs AI triage (using OpenAI's gpt-4o-mini) and sends an initial Slack notification in parallel. If the AI classifies the issue as 'critical', it automatically creates a Jira bug ticket and alerts the on-call team in Slack.

What you get

  • An automated, AI-driven assessment of incoming GitHub issues.
  • Instant Slack notifications.
  • Automatic Jira ticket creation for critical issues.

Who it's for

  • DevOps and SRE teams looking to automate their incident response and alert routing.

Why orchestrate this with Kestra

Kestra's parallel processing and seamless integration with APIs like OpenAI, Slack, and Jira make it perfect for rapid incident response workflows.

Prerequisites

  • An OpenAI API key
  • A Slack Incoming Webhook URL
  • Jira credentials
  • A GitHub repository configured to send webhooks to Kestra

Secrets

  • OPENAI_API_KEY: Your OpenAI API key
  • SLACK_WEBHOOK_URL: Your main Slack webhook
  • SLACK_ONCALL_WEBHOOK: Your on-call Slack webhook
  • JIRA_DOMAIN: Your Jira Cloud subdomain (the part before .atlassian.net)
  • JIRA_USERNAME: Your Jira username
  • JIRA_API_TOKEN: Your Jira API token
  • GITHUB_WEBHOOK_KEY: A secret key configured in your GitHub webhook

Quick start

Deploy the blueprint, configure your secrets, and set up your GitHub webhook to point to the Kestra webhook URL.

How to extend

You can extend this to trigger PagerDuty alerts, or automatically assign developers in Jira based on the AI's assessment of the issue topic.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.