Templates / Route CI/CD failure alerts with OpenAI, Slack, Linear, Sheets and Gmail

Route CI/CD failure alerts with OpenAI, Slack, Linear, Sheets and Gmail

Ready for 3.0

by Avkash Kakdiya ✓ · 10 views · created 2026-06-16 · DevOps, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI, Slack, Google Sheets and Gmail. It also calls api.linear.app over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Parse Pipeline Payload (Code): runs custom JavaScript code
  2. Is Failure Event (If): checks a condition and branches into true / false
  3. Classify Severity (Edit Fields (Set)): sets 13 fields: severity, linearPriority, incidentTitle…
  4. Extract AI Diagnosis (OpenAI): uses OpenAI
  5. Extract AI Diagnosis (Code): runs custom JavaScript code
  6. Is Critical Severity (If): checks a condition and branches into true / false
  7. Slack: uses Slack
  8. Slack: uses Slack
  9. Merge: merges the data from its input branches
  10. Create Linear Issue (HTTP Request): calls api.linear.app (POST)

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

Services it uses

OpenAISlackGoogle SheetsGmail

HTTP calls to: api.linear.app

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick Overview This workflow receives CI/CD failure webhooks, classifies severity by branch, uses OpenAI to generate a root-cause diagnosis and remediation, then alerts Slack, creates a Linear issue, logs the incident to Google Sheets, and emails a summary…

Excerpt from Avkash Kakdiya'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.