Review GitHub pull requests with GPT-4o and send feedback and Slack alerts
Ready for 3.0Ready 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).
- Check PR Open (If): checks a condition and branches into true / false
- Fetch PR Diff (HTTP Request): calls an HTTP API
- Format PR Diff (Code): runs custom JavaScript code
- AI Code Review with GPT- (OpenAI): work with chat
- Build Comment for GitHub (Code): runs custom JavaScript code
- Post Comment to GitHub (GitHub): create comment
- Check Critical Severity (If): checks a condition and branches into true / false
- Alert Critical Issues to Slack (Slack): uses Slack
- Share Review Summary on Slack (Slack): uses Slack
Services it uses
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)
- Github Trigger
n8n-nodes-base.githubTrigger - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - GitHub
n8n-nodes-base.github - Slack
n8n-nodes-base.slack
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…