From scheduled checks to acting on events

The official account @bot of the AI agent "Grok Bot" announced on X on Dec. 1 (3:01 a.m. Dec. 2 Japan time) that Grok Bot can now act as soon as an event happens. Citing examples such as a prospect replying, an invoice getting paid and a teammate sending a message on Slack, it said the bot starts work right away instead of checking a user's apps on a schedule.

Grok Bot now acts as soon as an event happens. A prospect replies, an invoice gets paid, a teammate Slacks you, and Bot starts work right away instead of checking your apps on a schedule.

In Grok Bot, repeated work is handed to a bot as a "routine." SpaceXSI's official documentation page "Skills and routines" (updated Dec. 1) defines a routine as something that runs at a set time or as soon as something happens in an app the user uses. Routines run in the cloud and keep running while the user's laptop is closed, the page says. With "1.0" in November, Grok Bot added the ability to offer to take on work proactively, and this update widens what can set it in motion.

Slack, GitHub, Gmail and others as triggers

The documentation page "Routine triggers" (updated Dec. 1) lists the triggers that can start a routine.

Users do not pick from the list; they tell the bot in plain words what should start the routine, and the bot chooses the trigger. Triggers can be narrowed in words, such as limiting them to Linear issues in the Payments team or to email whose subject includes invoice, and events that do not match do not start a run. For conditions that are hard to express as fields, such as whether an event is a customer complaint, the bot writes a description of which events count and checks each event against it. Schedules and GitHub triggers cannot be narrowed this way.

Triggers that can start a Grok Bot routine, according to SpaceXSI's official documentation "Routine triggers"
TriggerStarts a run when
ScheduleThe set time comes
SlackThe bot is mentioned, a specified word or phrase is posted, someone reacts with an emoji, or any message is posted
GitHubA pull request is opened or updated, a review is requested, a comment is posted, an issue is assigned, CI (automated tests) passes or fails, and more
Microsoft TeamsA message is posted
LinearAn issue is created or changes status, or a development cycle ends
SentryAn error issue is created, resolved, assigned and more
PagerDutyAn incident is triggered, acknowledged, resolved, escalated and more
Bot email addressMail arrives from allowed senders
GmailNew mail reaches a connected Gmail account
WebhookAnother service sends a request to the routine's URL
Watching an app or web pageA periodic check finds a new item, a changed value or a new status

The bot may move scheduled routines onto triggers without waiting for approval

The bot itself may also make the switch to a trigger. According to the documentation page "When your Bot takes initiative," a user's primary Bot can move a scheduled routine that checks for something a trigger can catch, such as new pull requests in a repository or new mail in Gmail, onto that trigger. This applies only to the bot's own routines that are switched on and only report what they find, without posting, sending mail or changing anything in another app. For other work the bot offers first and waits for a yes, but this switch alone does not wait for approval; after each move, the bot tells the user in chat which routine it moved and what now starts it.

A busy channel can use a week of usage in a day

Each routine run spends usage. "Skills and routines" says an hourly schedule, a short interval or a Slack trigger on a busy channel can use a week of usage in a day. If the weekly usage limit is running out faster than expected, it asks users to pause routines they do not need, widen schedules and narrow Slack triggers. "Routine triggers" also warns that a trigger that fires on every message in a busy channel runs often and spends usage on messages that do not need the bot.

Not every event arrives instantly. Slack triggers cannot pick up direct messages (DMs), so for DMs the bot checks Slack on an interval. Apps and web pages without their own triggers are handled by watching them, with a check every 10 minutes by default. Web pages are checked no more often than every 15 minutes, and up to five web pages can be watched across all routines. Watching can be set up only in the user's own chat with a personal bot.

On the invoice-payment example cited in the post, the list has no entry for a payment service, and the documentation does not address that example. Notifications from services not on the list can be received through a webhook.

A run that exceeds an hourly limit fails with "Automation run rate limit exceeded" and is not retried automatically.

Main limits on Grok Bot routines, according to SpaceXSI's official documentation "Routine triggers"
ItemLimit
Routines per bot50
Triggers per routine8
Time between scheduled runsAt least 5 minutes
Apps or web pages one routine watches3
Runs per hour, all routines together300
Runs per hour, one routine200

Availability: eligible plans and timing not stated

Slack, GitHub, Microsoft Teams, Linear, Sentry and PagerDuty triggers use apps connected to the user's Cursor account. These are separate from the apps the bot uses to read and post. For Slack, the Cursor app or the bot's own Slack app must be invited to the channel. Triggers start runs only for new activity after they are created, not for earlier events.

Neither @bot's post nor the documentation states which plans can use the feature, which regions are covered, whether there is an additional charge or when it becomes available.

In a similar feature, OpenAI on Oct. 20 added "team tasks" to ChatGPT's business plans, letting work run in the cloud at set times or when new Slack posts or Gmail messages arrive.