Back to Templates

Analyze GitLab CI job failures with GPT-5.3 and send reports to Slack

Created by

Created by: Sergei Byvshev || javdet
Sergei Byvshev

Last update

Last update 6 hours ago

Categories

Share


Overview

This workflow helps automatically analyze the causes of build failures in Gitlab CI and propose solutions without involving DevOps engineers.

How it work

  1. Checks whether a job crashed.
  2. Gets logs of the crashed job and a description of the pipeline.
  3. The agent analyzes this data according to its system prompt.
  4. During the process, the agent can retrieve additional data from Gitlab and check the availability of endpoints.
  5. A report on the causes and solutions is sent to the selected Slack channel

How to use

  1. Generate webhook credentials and use it in Gitlab
  2. Add your own Rules and recommendations to system prompt
  3. Run MCP servers
  4. Choose Slack channel