PR Merged Notifier
WebhookPR merges to main — AI checks if critical files changed and notifies your engineering team on Slack.
What It Does
Stay on top of what ships to production. When a pull request merges to main, this webhook uses AI to analyze the changed files, flag modifications to critical paths (routes, auth, migrations, infrastructure), and post a summary to your engineering Slack channel.
Your team knows what just shipped — before it hits production.
How It Works
- GitHub fires a
pull_request.closedevent when a PR is merged to main - AI analyzes the file list — identifies which files are in critical paths (src/routes/, src/lib/, migrations/, config)
- Impact assessment — generates a human-readable summary: what changed, who authored it, and why it matters
- Slack notification — posts to #engineering with the PR title, author, critical file list, and direct link
Example Scenario
A developer merges a PR that modifies src/lib/auth.ts and adds a new migration file. Within seconds, #engineering gets: "Auth module updated + new migration by @sarah — PR #247: Add MFA support. Critical files: auth.ts, 0052_mfa_tokens.sql. Review deployment carefully."
Triggers
pull_request.closed(wheremerged = true) — PR merged to default branch
Metadata
What's Included
Required MCPs
MCP servers this template connects to.
Deploy this webhook in minutes
PR merges to main — AI checks if critical files changed and notifies your engineering team on Slack.