Automations let CodeRabbit Agent run recurring or event-driven tasks for you from Slack. They can run on a recurring schedule, react to top-level channel messages, or run from a saved trigger such as a webhook event. You can create scheduled automations from Slack and inspect them in the web app. The web app also includes aDocumentation Index
Fetch the complete documentation index at: https://docs.coderabbit.ai/llms.txt
Use this file to discover all available pages before exploring further.
Triggers tab for creating and managing trigger-based automations.
Each automation runs under the that applies to the channel or DM where it lives, so it only accesses the repositories, connections, and spend limits that surface is allowed to use.
Examples
- Scheduled check
- Message triggered
- Webhook triggered
A platform team wants CodeRabbit Agent to check for new security advisories every morning. An engineer goes to CodeRabbit Agent runs it once as a trial. After reviewing the output, the engineer confirms the automation. From that point on, a fresh thread appears in
#platform-eng and sends:#platform-eng every morning with the results.Creating an automation
Ask@coderabbit to create an automation in any channel or DM. CodeRabbit Agent walks you through the setup in a thread. When you create an automation, it runs once as a trial before activating it, so you can review the output and iterate on the prompt before it starts running on its own.
In channels, you can also use the
/automations slash command as a shortcut. Slash commands are not available in Direct Messages or threads.Schedules
Recurring automations can run:- Every
xminutes (10 minutes minimum) - Hourly
- Daily
- Weekly
Triggers
Triggers are rules that start CodeRabbit Agent when a matching event arrives. Open Automations > Triggers in the web app to create, edit, pause, or delete triggers. Each trigger has:- Source: where the event comes from
- Matching rules: which events should run the trigger
- Agent instructions: what CodeRabbit Agent should do when the trigger runs
- Destination: where CodeRabbit Agent posts the result
Slack channel messages
Slack channel message triggers run when a new top-level message appears in a selected channel. Instead of waiting for a clock-based schedule, they fire when a matching message arrives. Use them when you want CodeRabbit Agent to react to repeated operational events, such as new alerts, queue-health posts, or deployment notices. Slack channel message triggers support:- All new top-level messages in the channel
- Text filters using case-insensitive substring matching
- Required author allowlists for specific Slack bots or Slack apps
Run now is also unavailable for these triggers. To test one, post a matching message in the channel from the allowlisted bot or app.
Webhook events
Webhook triggers run when an external service sends a matching webhook event:- Any service can be connected via a custom webhook
- Natively supported providers (with pre-configured event types and payload schemas): Datadog, Sentry, PagerDuty, Linear, Jira, Fin (formerly Intercom), Zendesk, and Pylon
Delivery
Each automation uses one of two delivery modes:- Fresh thread: starts a new thread for every run
- Same thread: posts into the same thread each time (required for message-triggered automations, and also available when a recurring automation was created from a thread with a concrete root message)
Who can manage automations
| Action | Creator | Workspace admin | Automation admin | Other channel members |
|---|---|---|---|---|
| Edit, pause, resume, or delete | Yes | Yes | Yes, when Automation admin management is enabled | No |
| Run immediately (recurring only) | Yes | Yes | Yes (channels only) | Yes (channels only) |
| Stop a running automation | Yes | Yes | Yes (channels only) | Yes (channels only) |
Archival
Automations are archived automatically when their place becomes unavailable:- DM automations archive when the DM becomes unusable, the creator leaves the workspace, or the required
same_threadroot message disappears. - Channel automations archive when the channel is deleted, the bot loses access, or the required
same_threadroot message disappears.
Viewing automations in the web app
The Automations page in the web app is available to all workspace users. It shows which channels have active automations, their triggers, delivery mode, and recent run history. Run entries link to thread reviews when available. Workspace admins can see every automation and trigger in the workspace. Automation admins can see and manage same-workspace automations when Automation admin management is enabled. Other users can see automations and triggers they created. Available actions depend on your permissions and the automation type.What’s next
Scopes
Control which repositories and tools automation runs can access.
Thread reviews
Inspect the output of an automation run.
Usage
Review activity after automations run.