Topics ▾
✦ Guide · Updated

How to Set Up Grok Bot Routines

Last updated · By The Grok Bot Guide, an unofficial, independent site

Short answer: ask the Bot that should own the job, in one message: what to run, when, from which source, what to send back, what needs your approval, and what to do if the source is missing. Then open the routine, check When to run, press Test with a safe input, and watch the first scheduled run.

TL;DR
  • Prove the job by hand and save it as a skill first.
  • Schedules use Settings → Bot → Timezone; the first run waits for the next scheduled time.
  • Triggers: Slack, GitHub, Linear, Sentry, PagerDuty, email or webhook. Keep them narrow.
  • Test does real work. Every run spends usage.
  • Limits: 50 routines per Bot, 5 minutes apart, 300 runs an hour in total.

What a routine is, and when to use one

Grok Bot has two building blocks for repeat work. A skill is a saved set of instructions for how to do a task. A routine tells one Bot when to run a workflow: on a schedule, or when something happens, such as a Slack message, a GitHub, Linear, Sentry or PagerDuty event, an email, or a webhook call (official docs). Routines run in the cloud while your laptop is closed.

The official advice is to start with a one-time task, make it reliable, save the method as a skill, and only then automate it. People who run routines daily say the same thing: most routines that break were scheduled before they had worked once by hand (Do it by hand, save a skill, then schedule). Not sure what to automate? Ask a Bot to look back over what you keep asking it (Ask which of your past prompts should be routines).

Create a routine, step by step

  1. Pick the owning Bot. Ask the Bot that should own the recurring job, in its own chat. Each routine belongs to one Bot.
  2. Describe the job and the schedule in one message. Say what to run, when, where the input comes from, what to return, what needs your approval, and what to do if the source is missing.
  3. Check what it saved. The docs list six things to confirm: the owning Bot, the schedule and time zone, the input source, the expected result, the approval boundary, and what happens when a source is missing.
  4. Run Test with a safe input (see below), then read the result in the Bot's chat.
  5. Check the first real run. A new routine waits for its next scheduled time; it doesn't run when it's created.

This is the official example, word for word (docs):

Every weekday at 8:00 AM, run the Daily customer-risk skill against the current account list. Post a linked watch list in this conversation. Do not contact customers. If the source data is unavailable, report the failure instead of using old data.

A fill-in version of the same structure (ours):

Set up a routine on this Bot: every [schedule, e.g. weekday at 7:30 AM], run [skill name or task] using [input source]. Post [what you want back, e.g. a five-line summary with links] in this conversation. Never [send, buy, delete or post] without my approval. If [the source] is unavailable or older than [time], tell me instead of using old data. Then show me the routine's When to run so I can check the schedule and time zone.

On the phone: open the Bot's profile and tap Add routine under Routines. Grok Bot starts a message that begins "Set up a routine to"; finish the sentence and send it (docs).

Schedules and time zones

  • Ask in plain words, like "every weekday at 8:00 AM" or "every 2 hours".
  • Schedules use the time zone in Settings → Bot → Timezone. Auto-detect follows this computer; pick a zone when the routine should follow a different one, such as the office the work belongs to (settings docs).
  • Open the routine and read When to run, which shows the saved schedule in words. If it isn't what you meant, choose Edit and tell the Bot what to fix. A creator tip on making this a habit: Read When to run after every routine edit.
  • The first run waits for the next scheduled time. Set up "every day at 8:00 AM" at 8:05 and the first run is tomorrow at 8:00 AM. Use Test to try it now.
  • Schedules must be at least five minutes apart (docs).

Want it quiet at night or on weekends? Put the quiet hours inside the routine's instruction (Put quiet hours inside the routine itself).

Start a routine from an event

A routine can start when something happens instead of on a schedule: a Slack message, a GitHub, Linear, Sentry or PagerDuty event, an email to your Bot's own address, or a webhook call. Cursor account integrations start these routines; they are separate from the Slack or GitHub apps and may need their own connection. Only new activity counts: events from before the trigger existed don't start a run (docs).

Keep the matching rule narrow. The docs warn that broad listeners such as "every new message" create noise, use usage and raise the chance of acting on irrelevant input. Their example:

When a message in #customer-escalations contains a support ticket link and the phrase “needs repro,” open the ticket, reproduce the issue in staging, and post a repro pack in this conversation. Never post back to Slack without approval.

Slack triggers

A Slack trigger can start a routine when the Bot is mentioned, when a word or phrase is mentioned, when you react to a message, or on any message, in one channel or across Slack. Connect Slack on the Cursor account that owns the Bot first. A trigger on any message in a busy channel runs often and spends usage on messages that don't need the Bot (docs).

Webhooks

Ask the Bot to add a webhook trigger, then open the routine on desktop. The Webhook section shows POST to (the URL), key (the secret) and header (the full Authorization: Bearer header). Send an HTTP POST to that URL with the header and, optionally, a JSON body; the Bot receives the body with the routine instruction. A 200 response means a run started, not that it finished; any other response means it didn't start, so check the routine isn't paused and that you used the current key (docs). A test call built from those fields (fill in your own values, and keep the key secret):

curl -X POST "[POST to URL]" \
  -H "Authorization: Bearer [key]" \
  -H "Content-Type: application/json" \
  -d '{"note": "test from curl"}'

Creator builds that use webhooks: Stop your iPhone alarm to start a webhook daily briefing and Route every meeting transcript to the right Bot with a webhook. Choosing between an event and a schedule: Make routines cheaper: events, slow schedules, change checks.

Test before you rely on it

If the routine shows Test, open it on desktop and choose it after every create or edit. The button says Running… until the run finishes, and the result appears in the Bot's chat. If it can't start you see Couldn't start a test run or a reason. Some routines don't show Test; for those, ask the Bot to do the same work once in chat with a safe input, then check the first scheduled run (docs).

A test does real work. It can navigate websites, change files and call connected tools, so use safe inputs and keep write actions behind approval. After the test, the docs suggest checking five things:

  • It picked current inputs.
  • The output is in the format you asked for.
  • Every action has a source or audit trail.
  • It stopped at the approval point you set.
  • Failures are stated plainly, not hidden.

Find, pause, edit and delete routines

On desktop: click the Bot's name at the top of the chat and open the Details tab. Each routine row shows its name and when it runs, or Paused; the switch on the row pauses or resumes it. Open a routine to read its Instruction and When to run (plus Webhook if a webhook starts it). The buttons are Pause or Resume, Test, Edit (starts a message beginning "Edit your routine:"), and Delete routine. Right-clicking a routine offers the same actions. On a Team Bot, the menu can also show Who can use this routine?: Only me, or Everyone with access (docs).

On the phone: open the Bot's profile and find Routines. A routine shows Active, Schedule, Next run, Instruction and Run history, where each recent run is Running, Succeeded or Failed with the reason. Turn off Active to pause; swipe the row to delete (docs).

Deleting a routine stops its future runs and can't be undone. Deleting a Bot also removes the routines it owns.

Limits and recent changes

Limit or behaviourWhat the official pages say
Routines per BotUp to 50
Run history keptThe 20 most recent runs for each routine (ask the Bot to keep a log if you need more: log prompt)
Shortest scheduleAt least five minutes apart
Hourly run caps300 runs an hour across all your routines; 200 an hour for one routine. Past either: Automation run rate limit exceeded
Shared limit (known issue)Some runs can fail with the same error because of a limit all routines share. These runs are not retried, so rerun with Test or resend the webhook
Lost app sign-in (v1.2.3, 18 Nov 2026)The routine skips scheduled runs until you sign back in; the reconnect card also arrives as a notification and as a Slack or Microsoft Teams direct message
Earlier chat (v1.2.3)Routines can read the earlier conversation in the chat they run in
Long time awayGrok Bot may ask whether to keep routines running and pause them if you don't answer. Check paused routines when you return

Sources: skills and routines docs, changelog v1.2.3. If a routine still won't run, use the checklist in troubleshooting or why routines break.

How routines use your usage

Every run spends usage, so a routine that runs often spends more than one that runs rarely. The docs say an hourly schedule, a short interval or a Slack trigger on a busy channel can use a week of usage in a day. A routine that never runs spends nothing; Test does, because it performs the work. If your weekly usage is draining, pause routines you don't need, then widen schedules and narrow Slack triggers before you raise a plan or limit (docs). How the weekly pool and top-ups work: Grok Bot plans and usage.

List every routine on all my Bots: name, owning Bot, When to run, and roughly how many times each ran in the last 7 days. Flag any that run hourly or faster, any Slack trigger on a busy channel, and any that are paused. Suggest a slower schedule or a narrower trigger for each flagged one. Don't change, pause or delete anything.

More ways to cut routine usage, from people running them: Make routines cheaper: events, slow schedules, change checks, Usage burning fast? Paste the fix for each drain.

Write routines that stay reliable

The docs' rules for routines you can trust:

  • Automate preparation before execution: have the Bot draft, reconcile or recommend first.
  • Require approval for sending, purchasing, deleting, publishing or changing production systems.
  • Include a no-data and stale-data policy.
  • Make retries safe to repeat where possible.
  • Tell the Bot where to report partial completion.
  • Re-test after a website, app or source format changes.

Two creator habits that match: describe the result, not the exact tool calls (Write the outcome, not the recipe), and keep the instruction short (Keep routines one line long).

Routine ideas with full steps

All of them: every routines tip.

Frequently asked questions

Do Grok Bot routines run when my computer is off?

Yes. The docs say routines run in the cloud while your laptop is closed (docs).

Why didn't my new routine run?

A new routine waits for its next scheduled time and doesn't run when you create it. Use Test to run it now, and check When to run shows the time zone you meant. If it lost an app sign-in, it skips runs until you sign back in.

How often can a routine run?

Schedules must be at least five minutes apart. All your routines together can run up to 300 times an hour, and one routine up to 200 times an hour.

How many routines can one Bot have?

Up to 50, and the app keeps the 20 most recent run records for each routine.

Can a routine start from an email or a Slack message?

Yes. Event triggers include a Slack message, a GitHub, Linear, Sentry or PagerDuty event, an email to your Bot's own address, and a webhook call. Only new activity starts a run.

Do routines use my usage?

Yes. Every run spends usage, and Test does too because it does the real work. A routine that never runs spends nothing.

Can I set up a routine on my phone?

Yes. Open the Bot's profile, tap Add routine under Routines, and finish the message that begins "Set up a routine to". The phone also shows each routine's Run history.

Is this guide official?

No. It is an independent guide built from the official docs and changelog, checked on 22 November 2026.

Sources