Agent
Automate post generation with repository filters, schedules, and notifications.
An agent is an automation rule that monitors a GitHub repository or Linear team and generates post drafts on a schedule.
It runs daily or weekly, picks up activity that matches your filter conditions, and creates draft posts. When ready, it notifies you via Slack or email.
Agent configuration
An agent has three parts.
1. Repository and filters
| Setting | Description | Example |
|---|---|---|
| repositoryFullName | Target repository | your-org/your-repo |
| branches | Branch filter | ["main", "release/*"] |
| prPrefixes | PR title prefix filter | ["feat:", "fix:"] |
| labelsInclude | Labels to include | ["customer-facing"] |
| labelsExclude | Labels to exclude | ["internal", "security"] |
| watchPrMerge | Include merged PRs | true |
| watchPrCreateUpdate | Include created/updated PRs | false |
| watchIssueClose | Include closed issues | false |
With no filters set, all PRs in the repository are candidates. Use labelsInclude or prPrefixes to narrow to customer-facing changes.
2. Schedule
| Setting | Options | Description |
|---|---|---|
| frequency | daily / weekly | How often to run |
| time | HH:MM | Time of day (e.g. 09:00) |
| timezone | Timezone string | e.g. Asia/Tokyo |
weekly runs every Monday.
3. Notifications
| Setting | Description | |---|---| | Slack | Notify a connected Slack channel | | Email | Notify the account email address |
Slack notifications require a Slack connection under Settings > Integrations.
Creating an agent
Go to /automations/new and select Build in Public.
Step 1 — Repository and filters
Select a repository and configure branch, prefix, and label filters.
After configuring filters, click Preview to see which PRs currently match the conditions. No posts are generated during a preview.
Step 2 — Schedule
Set frequency, time, and timezone.
Step 3 — Notifications
Choose a Slack channel and/or enable email notification.
Automation types
| Type | Description | |---|---| | Build in Public (GitHub) | Generate post drafts from GitHub activity on a schedule | | Build in Public (Linear) | Generate post drafts from Linear issues on a schedule | | Research Discovery | Find potential customers on X on a schedule |
For Research Discovery setup, see Research.
