Templates / AI-powered code review with linting, red-marked corrections in Google Sheets & Slack

AI-powered code review with linting, red-marked corrections in Google Sheets & Slack

Needs changes

by higashiyama ✓ · 240 views · created 2025-10-22 · Engineering, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 10 nodes and runs on Google Sheets events. Along the way it connects Google Sheets, Google Gemini Chat Model and Slack.

How it runs

Trigger: On Google Sheets events.

  1. Lint Check (Function): runs custom JavaScript (legacy Function node)
  2. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Get row(s) in sheet in Google Sheets)
  3. Format Review Output (Function): runs custom JavaScript (legacy Function node)
  4. Aggregate Review Stats (Function): runs custom JavaScript (legacy Function node)
  5. レビュー結果整形 (Edit Fields (Set)): sets 3 fields: reviewedCode, originalCode, timestamp
  6. レビュー結果書き込み (Google Sheets): append or update
  7. Post Review Summary (Slack): uses Slack

Services it uses

Google SheetsGoogle Gemini Chat ModelSlack

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Lint Check, Format Review Output, Aggregate Review Stats: replace with Code node, mode 'Run Once for All Items'.
Removed in 3.0Replace with
Function (legacy)
Lint Check, Format Review Output, Aggregate Review Stats
Code node, mode 'Run Once for All Items'

Nodes used (8)

From the author

Advanced Code Review Automation (AI + Lint + Slack) Who’s it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting — all managed in Google Sheets with instant…

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