Code Review Digest
Generate an AI code review digest with Nebula. Summarize open pull requests daily — changes, authors, wait times — and post the digest to Slack.
What you'll build
Every morning, Nebula checks your GitHub repo for open pull requests, summarizes each one — what it changes, who opened it, and how long it has been waiting — and posts a formatted digest to Slack so your team knows exactly what needs review.
What to say
Look at the open pull requests in our-org/our-repo. Summarize each PR: what it changes, who opened it, and how long it's been waiting. Post to #dev in Slack.
Found 4 open PRs in our-org/our-repo. Fetching details and diff summaries...
Posted digest to #dev.
Done! 4 PRs summarized and posted to #dev. Two have been waiting over 48 hours — you might want to prioritize those.
Replace the repo and channel with your own.
What happens
Nebula connects to GitHub and lists open PRs
Your GitHub Agent fetches all open pull requests from the repo you specified. It pulls the title, author, creation date, and branch for each one.
Each PR's changes are read and summarized
Nebula reads the diff summary for each pull request and writes a short description of what the PR does — new features, bug fixes, refactors — in plain language.
Wait times and review status are calculated
For each PR, Nebula calculates how long it has been open and checks whether any reviewers have been assigned or have left comments. PRs waiting longer than your threshold get flagged.
A formatted digest is posted to Slack
Your Slack Agent posts the compiled digest to #dev. It looks something like this:
Code Review Digest | Monday, March 3
-
Add Stripe webhook handler — opened by @sarah, 3 days ago, +240 / −12 No reviewers assigned yet. Adds webhook endpoint for payment events and retry logic.
-
Fix pagination bug on /users endpoint — opened by @marcus, 1 day ago, +18 / −6 1 approval from @liu. Small fix for off-by-one error in cursor-based pagination.
-
Refactor auth middleware — opened by @jordan, 5 days ago, +310 / −185 Review requested from @alex — no response yet. Splits auth middleware into separate modules and adds unit tests.
-
Update dependencies — opened by @bot, 2 hours ago, +45 / −45 Automated PR. Bumps express, zod, and three dev dependencies to latest patch versions.
⚠️ 2 PRs waiting over 48 hours: #1 and #3
Make it automatic
Do this every morning at 9 AM.
Creating scheduled trigger: every weekday at 9:00 AM UTC. Task: list open PRs via GitHub Agent, summarize each, post digest to #dev via Slack Agent.
Your trigger is live. Every morning at 9 AM, I'll check for open PRs, summarize them, and post the digest to #dev. You can pause or edit this from the Triggers page.
Nebula creates a scheduled trigger that runs this task automatically each weekday morning. You can view, pause, or delete it from the Triggers page in the sidebar.
Connect your integrations
This recipe uses the GitHub Agent and the Slack Agent. Connect your GitHub account and Slack workspace from the Integrations page, then make sure your Slack bot has been invited to the channel where you want the digest posted.
Related recipes
Deployment Notifications
Automate deployment notifications with Nebula. Post summaries to Slack whenever your team ships — version numbers, changes, and who deployed.
Automate Browser Tasks with 1Password
Automate browser tasks with Nebula's AI agent. Open websites, retrieve 1Password credentials, log in, fill forms, and extract data automatically.