Turn Pull Requests into a Notion Update

Specify a repository and date range. Leina drafts a source-linked summary of pull requests in chat, then appends the update to your Notion page on your cue.

Example Output

engineering
Example task · Sample data Slack

You09:00

@Leina Summarize last week’s merged PRs for acme/workspace. Group features and fixes, and draft our Notion update.

Leina09:01

The draft is ready. Each entry keeps its PR reference so you can check the original change.

Engineering weekly update

acme/workspace · Oct 5–9 · Draft for Notion

Features
Workspace invitations — added an invitation flow. PR #142
Fixes
CSV export — corrected date formatting. PR #147
Follow-up
PR #151 needs a fuller description before inclusion.

Ready for review in team chat

Next request: “Add the reviewed update to our Notion page.”

Ask for the draft in chat, review the source references, and send a follow-up request to save the update in Notion.

What You Get

Source-Linked Summary
Merged pull requests grouped into a readable digest, with direct links back to each PR on GitHub.
Explicit Scope and Gaps
The reporting window, retrieval timestamp, and clear flags for any missing descriptions or inaccessible records stay with the report.
Published Notion Section
A formatted section added to your target Notion page after you review the draft and request the write.

Connected Apps

Connect the tools you want Leina to read from and update.

Fetches pull requests, their descriptions, and available change details from the repository you authorize.

Appends the structured summary under your chosen heading on your Notion page.

Draft and review the update in team chat, then ask Leina to save it to Notion.Set Up Leina in Slack

How It Works

  1. 1

    Define the Repository and Date Range

    Specify the repository, date boundaries, and timezone. Ask for pull requests merged during that period, along with any currently open work.

  2. 2

    Review the Draft in Chat

    Leina generates a structured summary with links to each pull request. Spot-check the merged list against your repository and review any flagged gaps.

  3. 3

    Append the Update to Notion

    Send a follow-up prompt with your Notion page URL. Leina writes the section under your designated heading and returns the page link.

Task Prompts

Replace the bracketed values with your own, then send the prompt in your connected chat.

GitHub PRs to a Notion Weekly Update

@Leina Prepare a weekly update for [owner/repository], from [start timestamp] through [end timestamp] in [timezone]. List PRs merged in that window with their titles, links, and brief summaries based on available descriptions and changes. Group currently open PRs in a separate section with their current status. State the retrieval timestamp. Flag any undocumented changes or incomplete retrieval. Return the draft here first; do not write to Notion yet.

Publish to Notion

@Leina Append the reviewed update to [Notion page URL] under [repository — reporting period]. Check whether that heading already exists before writing, preserve all other page content, read back the saved section, and return the page link. If the write outcome is uncertain, inspect the page before retrying.

What to Verify

Start with a completed week to easily spot-check results against GitHub. Verify that the merged PR list matches your repository search, and note that merged pull requests reflect merged code rather than production deployments. Open PRs reflect current repository status at the time of your query.

Guides and Resources

GitHub-to-Notion Reporting Guide

Read the full guide for configuring date boundaries, handling missing descriptions, and structuring Notion updates.

Download Weekly Report Template

Use this Markdown template as a clean starting format for your team's weekly engineering reports.

Frequently Asked Questions

Which Accounts Do I Need to Connect?

You need a GitHub connection with read access to the target repository and a Notion connection with edit access to your destination page.

Will Leina Write to Notion Immediately?

The example prompts ask for a draft in chat first, followed by a separate request to append it to Notion. This review step is part of the workflow you request; connection permissions and action settings still apply.

Can I Reuse This Workflow Every Week?

Yes. Keep the prompt structure and update the date boundaries each week. You can also save the prompt to run on a recurring schedule once you are happy with the format.

Start with a Scoped Task

Connect the accounts you need, request a scoped task, and review the result.

Connect Your Apps