Templates / Review GitHub pull requests with GPT-4o and send feedback and Slack alerts

Review GitHub pull requests with GPT-4o and send feedback and Slack alerts

Ready for 3.0

by TakatoYamada ✓ · 131 views · created 2026-04-26 · DevOps, 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-10-19.

What this workflow does

This AI workflow has 10 nodes and runs on Github events (pull request). Along the way it connects GitHub, OpenAI and Slack.

How it runs

Trigger: On Github events (pull request).

  1. Check PR Open (If): checks a condition and branches into true / false
  2. Fetch PR Diff (HTTP Request): calls an HTTP API
  3. Format PR Diff (Code): runs custom JavaScript code
  4. AI Code Review with GPT- (OpenAI): work with chat
  5. Build Comment for GitHub (Code): runs custom JavaScript code
  6. Post Comment to GitHub (GitHub): create comment
  7. Check Critical Severity (If): checks a condition and branches into true / false
  8. Alert Critical Issues to Slack (Slack): uses Slack
  9. Share Review Summary on Slack (Slack): uses Slack

Services it uses

GitHubOpenAISlack

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.

Nodes used (7)

From the author

Automatically review pull requests with AI and post feedback as GitHub comments --- Who is this for Engineering teams, code reviewers, and tech leads who want to automate code review feedback. Ideal for repositories with high PR volume where consistent…

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