Grok Bot Routines
Last updated
A Grok Bot routine tells one Bot when to run a workflow: on a schedule, or when something happens. The work runs in the cloud, so it can continue while the laptop is closed. The skill is the method. The routine is the trigger.
Limits and behavior below are from xAI’s skills and routines documentation, checked November 3, 2026. Trust that page if a detail here is out of date.
Schedule or event
A schedule is plain language, such as “every weekday at 8:00 AM” or “every 2 hours.” The saved wording is under When to run. The time zone is the one in Settings, under Bot. Auto-detect follows the computer you set it on. Pick a zone when the work belongs somewhere else, such as an office.
A new routine does not run at the moment you create it. It waits for the next scheduled time. If you set “every day at 8:00 AM” at 8:05, the first run is the next day. Use Test when you want a run immediately. A test performs real work: it can open sites, change files, and call connected tools. Use a safe input.
An event routine starts when something new happens: a Slack message, a GitHub, Linear, Sentry, or PagerDuty event, an email to the Bot’s own address, or a webhook call. Events from before the trigger existed do not start a run. Cursor account integrations start these routines. They are separate from the Slack or GitHub apps and may need their own connection.
Keep the match narrow. “Every new message” in a busy channel spends usage and acts on mail that did not need the Bot. A webhook accepts an HTTP POST. A 200 response means the call was accepted and a run started, not that the Bot has finished. Any other response means a run did not start.
Limits
- A Bot can own up to 50 routines.
- Schedules must be at least five minutes apart.
- The app keeps the 20 most recent run records for each routine.
- All of your routines together can run up to 300 times an hour, and each routine up to 200 times an hour. Past either limit, a run fails with “Automation run rate limit exceeded” and is not retried. Run it yourself with Test, or send the webhook again.
Each run spends usage. An hourly schedule or a Slack trigger on a busy channel can use a week of usage in a day. A routine that never runs does not spend usage. Test does, because it performs the work. Deleting a routine stops future runs and cannot be undone. Deleting a Bot also removes the routines that Bot owned.
Where you manage them
Create and change a routine by asking the Bot that should own it. On desktop, open the Bot’s details from its name at the top of the chat. Routines are on the Details tab. You can pause, resume, test, edit, or delete from that row. On the phone, open the Bot’s profile, find Routines, and use Add routine, or turn Active off to pause. Run history shows each recent run as Running, Succeeded, or Failed.
If a routine has not run, check that it is not paused, that When to run matches the schedule and time zone you meant, and that a new schedule is still waiting for its next time. For Slack, the message has to be new, in the watched channel, and match the phrase.
Design a routine you can trust
Confirm six things before you leave it on: the owning Bot, the schedule and time zone, the input source, the expected result, the approval boundary, and what should happen when a source is missing. Prefer a draft, a reconciliation, or a recommendation over an unattended send. Require approval before the Bot sends, buys, deletes, publishes, or changes a production system. Say what to do when the data is missing or stale, and re-test after a site or a source format changes.
GrokShelf listings mention routines only when the public Bot description includes them. The directory does not start those routines and does not see their run history. Read what a skill is before you automate one, and the safety guide before you connect a system the Bot could change.