Templates / GitLab merge request review & risk analysis with Claude/GPT AI

GitLab merge request review & risk analysis with Claude/GPT AI

Needs changes

by Vishal Kumar ✓ · 13,738 views · created 2025-05-12 · DevOps, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 14 nodes and runs on GitLab events (merge requests) (plus 2 other triggers). Along the way it connects Anthropic Chat Model, GitLab and Gmail.

How it runs

Trigger: On GitLab events (merge requests) (plus 2 other triggers).

  1. Merge: merges the data from its input branches
  2. Extract Diff (HTTP Request): calls an HTTP API
  3. If: checks a condition and branches into true / false
  4. AI Agent: runs an AI agent, with model: Anthropic Chat Model; output parser: Auto-fixing Output Parser
  5. Distribution List Generator (Code): runs custom JavaScript code
  6. Comment Back on MR (HTTP Request): calls an HTTP API (POST)
  7. Send to DL ( Email Notification) (Gmail): uses Gmail

Services it uses

Anthropic Chat ModelGitLabGmail

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

Trigger The workflow runs when a GitLab Merge Request (MR) is created or updated. Extract & Analyze It retrieves the code diff and sends it to Claude AI or GPT-4o for risk assessment and issue detection. Generate Report AI produces a structured summary with:…

Excerpt from Vishal Kumar'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.