Review GitHub pull requests with Gemini and post feedback automatically
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Gemini Chat Model, Google Sheets and Slack.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Parse PR data (Code): runs custom JavaScript code
- Get PR diff (HTTP Request): calls an HTTP API
- Analyze diff (Code): runs custom JavaScript code
- Code review (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini AI
- Format review (Code): runs custom JavaScript code
- Post GitHub review (HTTP Request): calls an HTTP API
- Log to Sheets (Google Sheets): uses Google Sheets
- Notify team (Slack): uses Slack
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Google Gemini + Google Sheets templates (819) · Other Google Gemini + Slack templates (309)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
Review GitHub pull requests with Gemini AI and post feedback automatically Who is this for Development teams and tech leads who want to maintain consistent code quality without manual review bottlenecks. Perfect for teams handling multiple PRs daily and…