CI Failure Triage with Log Excerpt
When CI fails, an LLM reads the logs and explains the root cause (unit test, type check, integration) plus suggested fix — posted instantly to your build alerts channel.
Overview
**What it does**: Webhook (CI build result from GitHub Actions, GitLab CI, CircleCI, Jenkins) → IF status=failed → LLM reads build logs, identifies root cause (failed unit test, TypeScript error, integration test timeout) and suggests first fix step → Slack to #build-alerts with diagnosis and build URL. **Setup (4 steps)**: 1. Configure CI webhook: point your CI system's failure notification to n8n webhook URL 2. Add OpenAI credentials: API key for GPT-4 analysis 3. Set Slack channel: #build-alerts (or custom channel) 4. Test: push a known-failing commit; verify diagnosis appears within 10 seconds **Apps/nodes**: Webhook (CI trigger), OpenAI (log analysis LLM), Slack, IF branching. **Credentials required**: OpenAI account, Slack workspace. CI system webhook is native (GitHub Actions, CircleCI, etc. have built-in webhook support). **Difficulty**: Easy | **Setup time**: 6 minutes. **Business outcome**: Developers spend 80% less time reading logs → MTTR ↓ 50%, build failure notifications become actionable, feedback cycle ↑ speed.
What's included
Quickstart
- 01
Download the JSON
With an active Library Pass, download the workflow file right from this page or your dashboard.
- 02
Import into n8n
Choose Import from File and select the downloaded JSON. The full agent graph appears, ready to configure.
- 03
Plug in credentials
Each integration node prompts for credentials on first run. The setup guide lists every credential the agent expects.
- 04
Activate and test
Run once with sample input, confirm the expected output, then flip the activate toggle.
Frequently Asked Questions
How do I import this workflow into n8n?
What credentials do I need to provide?
Are the credentials included in the JSON file?
Can I edit or customize the workflow after importing?
What n8n version is required?
What if something breaks after I import it?
Can I use this workflow for my customers or business?
Will the workflow receive updates?
Do I need n8n Pro or a paid plan?
Can I ask for a custom workflow?
Reviews (0)
No reviews yet. Be the first.
Sign in to leave a review.
Included with any pass
This agent — and every other in the library — comes with a Library Pass. One pass, the whole catalog.
Get a Library Pass- Every agent in the library
- All new releases while active
- Unlimited downloads
- Commercial-use license
- Priority email support
- 30-day money-back guarantee
More in CI/CD
Deploy Gate Approval Flow
Blocks production deploys until an on-call engineer explicitly approves via Slack — version, environment, requester all visible in the approval notification.
Deployment Canary Validator
Monitor canary deployment metrics (error rate, latency, CPU); validate success criteria; auto-recommend promotion to prod or halt if thresholds missed.
GitHub PR Review Digest
Every 6 hours, automatically summarize pending pull requests awaiting review — scope, author, and review status — posted to your eng channel for visibility.