Aerostack
Aerostack

PR Merged Notifier — Webhook Template for Automation

Webhook
·Updated Mar 18, 2026

PR merges to main — AI checks if critical files changed and notifies your engineering team on Slack.

0 stars33 deploysgithubv1.0.0

Template PR Merged Notifier bundles a ready-to-deploy workspace for automation workflows. Install in one click from the Aerostack dashboard or via aerostack init --template=pr-merged-notifier.

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

  1. GitHub fires a pull_request.closed event when a PR is merged to main
  2. AI analyzes the file list — identifies which files are in critical paths (src/routes/, src/lib/, migrations/, config)
  3. Impact assessment — generates a human-readable summary: what changed, who authored it, and why it matters
  4. 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 (where merged = true) — PR merged to default branch

Metadata

Version1.0.0
TypeWebhook
Categoryautomation
Triggergithub
Stars0
Deploys33

What's Included

System Prompt
1 MCP integration
Setup Guide

Required MCPs

MCP servers this template connects to.

Tags

Deploy this webhook in minutes

PR merges to main — AI checks if critical files changed and notifies your engineering team on Slack.

More automation Templates

Browse automation Templates →

Frequently asked questions

What does the PR Merged Notifier template include?+

The PR Merged Notifier template is a pre-configured Aerostack workspace for automation. It bundles @aerostack/mcp-slack and any required workflows and edge functions. Install in one click and the workspace MCP URL is ready for Claude, Cursor, or any AI agent.

How do I install the PR Merged Notifier template?+

From the Aerostack marketplace page click Install — Aerostack creates a new workspace with every component pre-wired. You can also install via CLI: aerostack install template aerostack/pr-merged-notifier

Can I customize PR Merged Notifier after installing?+

Yes. Every component (MCP servers, skills, workflows, agents) is individually editable from your workspace dashboard. Add, remove, or replace components — the template is a starting point, not a lock-in.

Is the PR Merged Notifier template free to use?+

Templates are free to install. Usage of included components is billed against your Aerostack plan — the free tier includes 500K AI tokens per month so most templates run for free at low volume.