Route CI/CD failure alerts with OpenAI, Slack, Linear, Sheets and Gmail
Ready for 3.0What 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.
- Parse Pipeline Payload (Code): runs custom JavaScript code
- Is Failure Event (If): checks a condition and branches into true / false
- Classify Severity (Edit Fields (Set)): sets 13 fields: severity, linearPriority, incidentTitle…
- Extract AI Diagnosis (OpenAI): uses OpenAI
- Extract AI Diagnosis (Code): runs custom JavaScript code
- Is Critical Severity (If): checks a condition and branches into true / false
- Slack: uses Slack
- Slack: uses Slack
- Merge: merges the data from its input branches
- Create Linear Issue (HTTP Request): calls api.linear.app (POST)
…plus 2 more steps. See the full node list below.
Services it uses
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)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - OpenAI
@n8n/n8n-nodes-langchain.openAi - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
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…