⚒️ ChatGPT Automatic Code Review in Gitlab MR

32,826 views · ⚒️ Engineering

Description

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

🔗 Nodes Used

HTTP Request, Webhook, Basic LLM Chain, OpenAI Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup