Templates / ChatGPT Automatic Code Review in Gitlab MR

ChatGPT Automatic Code Review in Gitlab MR

Ready for 3.0

by assert · 33,546 views · created 2024-03-07 · Engineering, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (7)

Basic LLM ChainOpenAI Chat Model

What it does

Who this template is for This template is for every engineer who wants to automate their code reviews or just get a 2nd opinion on their PR. How it works This workflow will automatically review your changes in a Gitlab PR using the power of AI. It will trigger whenever you comment with +0 to a Gitlab PR, get the code changes, analyze them with GPT, and reply to the PR discussion. Set up Steps - Set up webhook of noteevents in Gitlab repository (see here on how to do it) - Configure ChatGPT credentials - Note "+0" in MergeRequest to trigger automatic review by ChatGPT

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.