Automate GitLab MR Code Reviews with Gemini AI & JIRA Context - n8n Workflow | Neura Market
Automate GitLab MR Code Reviews with Gemini AI & JIRA Context
Triggers on GitLab MR comments to perform AI-driven code reviews using Gemini, parsing diffs and incorporating JIRA ticket context for precise, line-specific feedback.
This workflow automates code reviews for GitLab merge requests (MRs) by listening for a specific comment trigger like 'ai-review'. It fetches MR details and diffs, parses changes into original and new code blocks, and optionally pulls JIRA ticket summaries (including parent tickets for subtasks) if a ticket ID is in the MR description. The data is then sent to Gemini AI (or any LLM) with tailored prompts to detect logic, security, performance issues, and suggest improvements.
Benefits include r
Platform
n8n
Category
Lifestyle
Price
$24.99
Creator
Jordi Faber
GitLab
Code Review
AI
Gemini
JIRA
Merge Requests
DevOps
Automation
LLM
Development
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.