Weekly GitHub changelog to Notion and Slack

By General Input

Every Friday at 4pm, turn the week's merged pull requests into a customer-readable changelog in Notion and announce it in Slack.

Integrations

  • GitHub
  • Notion
  • Slack

Type

Deterministic Code

Categories

  • Engineering
  • Product

Every Friday at 4pm, build a weekly changelog from our merged GitHub pull requests, publish it to Notion, and announce it in Slack. The pipeline is fixed and deterministic: list, fetch, AI generate, create page, notify.

Trigger: cron, every Friday at 16:00 in our team timezone.

Step 1. Use GitHub Search Issues and Pull Requests with a query of is:pr is:merged merged:>=YYYY-MM-DD where the date resolves at run time to the previous Friday. Include one or more repo: qualifiers for the repos I configure. Page through results so we capture every merged PR from the last seven days.

Step 2. For each PR returned, call GitHub Get a Pull Request to grab the title, body, author login, merged_at timestamp, html_url, and labels. Collect these into a single array.

Step 3. Run an AI generation step over the collected PRs. Group entries into four sections: Features, Improvements, Fixes, and Internal. Use PR labels as the primary signal (for example feature, enhancement, bug, chore, internal) and fall back to inferring from the title and body. For each PR, write one customer-readable sentence rewritten from the raw PR title (no internal jargon, no ticket prefixes). Also produce a short headline for the week and pick the top three highlights to feature in Slack.

Step 4. Use Notion Create a Page to create a new page under the Weekly Changelog parent page I configure. The title should be something like "Changelog: Week of MMM D" and the body should contain the four sections as headings with the rewritten one-liners as bullets. Each bullet should link back to the original PR url and credit the author.

Step 5. Use Slack Send a Message to post to the team channel I configure. The message should include the week headline, the three highlights as bullets, and a link to the new Notion page. Keep it short so it reads cleanly in the channel.

If the GitHub search returns zero merged PRs, skip steps 3 through 5 so we do not post an empty changelog. Integrations: GitHub, Notion, Slack.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teamsCatch feature flags that never got switched on in productionScreen chartered vessels for AIS gaps and sanctions red flags