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.

See the Task in Action

Product walkthrough demonstrated with sample data.

This walkthrough shows Leina drafting an engineering report in Slack and appending it to Notion. Use the prompt below to run the task for your own repository.

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.

Ready to Try This Workflow?

Connect your accounts, paste the prompt into chat, and let Leina handle the reporting.

Connect Your Apps