Templates / Review GitHub pull requests with Mistral and send decisions to Slack

Review GitHub pull requests with Mistral and send decisions to Slack

Ready for 3.0

by Dave Sartori ✓ · 40 views · created 2026-06-30 · 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 25 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects GitHub, Slack, Mistral Cloud Chat Model and Discord and 1 more.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Filter: keeps only the items that match a condition
  2. Route by Event Type (Switch): routes items into 3 branches
  3. Set Push Event Info (Edit Fields (Set)): sets 7 fields: repo, branch, pusher…
  4. Set Creation Event Info (Edit Fields (Set)): sets 4 fields: repo, refName, refType…
  5. Set PR Metadata (Edit Fields (Set)): sets 15 fields: prTitle, prBody, prUrl…
  6. Post Push to Discord (Discord): uses Discord
  7. Post Push to Slack (Slack): uses Slack
  8. Post Creation to Discord (Discord): uses Discord
  9. Post Creation to Slack (Slack): uses Slack
  10. PR Summary Agent (AI Agent): runs an AI agent, with model: Mistral Chat Model; 2 tools (Get PR Diff Data, Fetch GitHub PR Reviews); output parser: Parse Structured Output

…plus 10 more steps. See the full node list below.

Services it uses

GitHubSlackMistral Cloud Chat ModelDiscordHTTP Request

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 (14)

From the author

Quick overview This workflow receives GitHub webhook events for pull requests, pushes, and branch/tag creates, filters out actions from the repo owner, and posts alerts to Slack (optionally Discord). For pull requests, it uses Mistral to generate an AI review…

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