Templates / Review GitHub pull requests with Gemini and post feedback automatically

Review GitHub pull requests with Gemini and post feedback automatically

Ready for 3.0

by Oka Hironobu ✓ · 37 views · created 2026-02-20 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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.

  1. Parse PR data (Code): runs custom JavaScript code
  2. Get PR diff (HTTP Request): calls an HTTP API
  3. Analyze diff (Code): runs custom JavaScript code
  4. Code review (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini AI
  5. Format review (Code): runs custom JavaScript code
  6. Post GitHub review (HTTP Request): calls an HTTP API
  7. Log to Sheets (Google Sheets): uses Google Sheets
  8. Notify team (Slack): uses Slack

Services it uses

Google Gemini Chat ModelGoogle SheetsSlack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

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…

Excerpt from Oka Hironobu'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.