Automation 6/30+: Put an AI agent inside Notion
Description and use
Automate code analysis and PR creation from Notion using an AI agent, speeding up developer workflow.
Problem
Automating code review and PR creation directly from a Notion database without manual intervention.
Outcome
Automated analysis and PR creation from Notion reduces manual effort and speeds up the development workflow.
Workflow
- Clone the repo and run ./setup.sh
- Select the target Notion workspace
- Answer setup prompts (Notion integration, repo URL, etc.)
- Set a page status to "analyze" to trigger AI analysis
- Review AI comments in the Notion thread
- Adjust status to "build" to open a pull request
- Use the signature‑verified relay to handle webhook events
Evidence
Set a page's status property to "analyze" → the AI posts a repo‑grounded breakdown on the page
Move the status to "build" → it opens a pull request
- Record date: 2026-09-21T08:15:28.460Z