⚙️ Analyze GitLab CI job failures with GPT-5.3 and send reports to Slack
⚡ 145 views · ⚙️ DevOps & CI/CD
Description
Overview
This workflow helps automatically analyze the causes of build failures in Gitlab CI and propose solutions without involving DevOps engineers. See detailed setup guide
How it work
- Checks whether a job crashed.
- Gets logs of the crashed job and a description of the pipeline.
- The agent analyzes this data according to its system prompt.
- During the process, the agent can retrieve additional data from Gitlab and check the availability of endpoints.
- A report on the causes and solutions is sent to the selected Slack channel
- Works good with Openai, Anthropic, Google last models
How to use
- Generate webhook credentials and use it in Gitlab
- Add your own Rules and recommendations to system prompt
- Run MCP servers
- Choose Slack channel
🔗 Nodes Used
HTTP Request, Slack, Webhook, AI Agent, OpenAI Chat Model, MCP Client Tool
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File