Turn merged GitHub PRs into a plain English changelog

By General Input

Every time a pull request merges, post a plain English summary to Slack and log it in a release sheet, written by Fireworks AI.

Integrations

  • Fireworks AI
  • GitHub
  • Slack Bot
  • Google Sheets

Type

Agentic Task

Categories

  • Engineering
  • Product

Build me an agent workflow that turns every merged GitHub pull request into a plain English changelog entry for non-engineering teammates, powered by Fireworks AI.

Trigger: a GitHub webhook on the pull_request event where action is closed and merged is true. Scope it to the repository (or repositories) I want to track.

When a PR merges, the agent should:

1. Call the GitHub Get a Pull Request operation to fetch the title, body, author, labels, and file-change stats (additions, deletions, changed files, file paths).

2. Decide whether the PR is changelog-worthy. Skip pure refactors, internal-only changes, and dependency bumps based on labels (chore, refactor, deps, internal, ci) and file paths (lockfiles, .github/, internal tooling, tests-only diffs). If the PR carries a release-note label, always include it regardless of labels or file paths. The decision should consider labels AND file paths, not message length.

3. If it passes, call Fireworks AI Create Chat Completion with a Llama or Qwen instruct model (default to a small instruct model for cost). Send a system prompt that says: rewrite this PR as a one-paragraph plain English changelog entry for non-engineers, third person, present tense, focused on user-facing impact, no jargon, no PR number or commit hash in the prose. Pass the PR title, body, labels, and a short file-path summary as user content.

4. Post the result to Slack via the slackbot Send a Message operation. Use the channel #product-changelog. Include the generated summary paragraph, the PR title as a link to the pull request URL, and a short credit line with the author's GitHub handle. Format with Slack mrkdwn.

5. Append the same entry to a running Google Sheet via the google-sheets Append Values operation. Columns: date (ISO), PR number, author, summary, and category (one of feature, fix, performance, security, docs, other). Pick the category from labels and file paths.

If the PR is skipped, log a short reason (which rule matched) and exit without posting.

Integrations: fireworks-ai, github, slackbot, google-sheets.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentLocal listing health board for every location you manageLet support send one-off Loops emails without an engineerA brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensStop cold emails to anyone with a live deal in PipedriveLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasoniMessage campaign console with pre-flight checks and delivery board