Grok Bot Routines and Triggers: Automate Work That Runs While You're Away

How to turn a proven Grok Bot task into routines that run on a schedule or an event: triggers, webhooks, app watches, approvals, testing, usage, and limits.

Editorial thumbnail reading Put Work on Schedules and Triggers with a Grok Bot Guide badge, the subhead Schedules, events, webhooks, approvals, Schedule, Triggers and Approvals pills, and a glossy red alarm clock with a blue lightning bolt and cream gears on a cobalt pedestal against a sunflower-yellow background

Most "automation" with AI assistants dies because someone still has to remember to ask. You build a perfect pipeline report, test it three times, celebrate the time saved—then forget to run it next Monday. Or you need the report before the office opens while you're traveling. Or a customer escalation lands in Slack at 9:47 PM and sits until morning because no one was watching.

Routines fix the remembering. Triggers fix the timing. Together they turn a proven task into scheduled and event-driven work that runs in the cloud while your laptop is closed, your phone is off, and you're three time zones away.

This guide walks through the mechanics: what a routine is, how to write the instruction that governs it, how to choose between a schedule and an event trigger, how to set up each type of trigger Grok Bot supports, how to test safely, how to handle approvals when no one is watching, and how to manage a growing library of routines without burning through usage or missing failures.

We're not covering whether routines are cool or whether AI can be trusted. We're covering how to configure one correctly, wire it to the right trigger, and keep it running.

Skill vs. Routine: Prove It First, Automate Second

A skill is reusable instructions for how to do a task. A routine tells one Bot when to run a workflow: on a schedule you set, or as soon as something happens in an app you use.

The official documentation is clear about order: start with a one-time task, make it reliable, save the method as a Grok Bot skill, and only then automate it as a routine. Test the skill on real work—real data, real tools, real edge cases—before you let it run unattended.

Why? Because a routine that runs a broken skill will fail every morning at 8:00 AM, spend your usage, clutter your notifications, and train your team to ignore the Bot. Prove the task works. Then decide when it should run.

A routine is not a different kind of instruction. It's a schedule or trigger attached to an existing, tested skill. The skill does the work; the routine decides the timing.

Which Work Belongs on a Routine

Good candidates for routines: preparation, reporting, reconciling, drafting, and watching. Work that gathers information, structures it, and hands it to you for a decision.

The best-practices list in the official documentation recommends you automate preparation before execution. Have the Bot draft, reconcile, or recommend first. Require approval for sending, purchasing, deleting, publishing, or changing production systems.

Concrete examples of routine-ready work:

  • Pull yesterday's pipeline changes and post a summary every weekday morning.
  • Check the support escalation channel every time someone posts a ticket link and the phrase "needs repro," then draft a reproduction plan.
  • Watch a competitor's pricing page every hour and report any change.
  • When an invoice email arrives at the Bot's email address, extract line items and draft a reply for approval.
  • Every Monday at 9:00 AM, reconcile last week's ad spend against the finance tracker and flag discrepancies over $500.

Notice the pattern: gather, structure, draft, wait. Execution stays behind an approval gate.

Keep routines narrow and their output explicit. A routine that runs on every message in a busy Slack channel can use a week of usage in a day. A routine that "does whatever needs doing" will do nothing useful. Specificity and boundaries are not optional.

Abstract row of glossy glass tiles like a calendar strip with a few glowing apricot tiles and a cobalt-blue ribbon of light looping through them, on a pale butter-cream background

Anatomy of a Routine Instruction

You create a routine by asking the Bot that should own the recurring job, in plain words. The instruction should confirm six things:

  • Owning Bot: Which Bot runs this routine? The one you're talking to when you create it.
  • Schedule and time zone: When does it run? "Every weekday at 8:00 AM" or "when a message in #customer-escalations mentions a ticket link."
  • Input source: Where does the Bot get the data? A specific spreadsheet, a Slack channel, the Bot's email inbox, a watched app.
  • Expected result: What should the Bot produce? A summary posted in this conversation, a draft email waiting for approval, a linked watch list.
  • Approval boundary: What requires approval? Never post back to Slack without approval. Do not contact customers. Wait for approval before sending.
  • Missing-source behavior: What happens when the input is unavailable? Report the failure instead of using old data. Post "Source unavailable" and stop.

Here's the example from the official documentation:

"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."

That instruction names the schedule, the skill, the input, the output format, the approval boundary, and the failure behavior. It's complete.

A fill-in template for a webhook-triggered routine:

"When a lead form submission arrives via webhook, extract the contact details and draft a personalized reply email. Wait for approval before sending. If required fields are missing, post the raw payload and ask what to do."

Another, for a Slack reaction trigger:

"When someone reacts with 📌 to a message in #feature-requests, copy the message text and add it to the Feature backlog sheet in Drive. Post a confirmation with a link to the new row. If the sheet is unavailable, report the failure and do not retry with cached data."

Write the instruction as if you're handing off the task to a colleague who will be working alone. Be explicit about boundaries, failure modes, and what waits for approval.

Schedules and Time Zones

Plain-word schedules work: "every weekday at 8:00 AM," "every 2 hours," "every Monday at 9:00 AM," "every day at 6:00 PM." The Bot parses them and shows the saved schedule in the When to run section on desktop or the Schedule view on your phone. If the schedule is wrong, press Edit and tell the Bot the correct timing.

Time zone: go to Settings > Bot > Timezone. The default is Auto-detect, which follows the computer you're using right now. Pick a specific zone when the routine should follow a different location—for example, the office where the work belongs, or the market you're monitoring.

When you create a new routine with a schedule, it waits for the next scheduled time. If you set up "every day at 8:00 AM" at 8:05 AM, the first run happens tomorrow at 8:00 AM, not in 23 hours and 55 minutes. If you need to test the routine now, use the Test button on desktop.

The minimum interval between scheduled runs is at least 5 minutes. You can't schedule a routine to run every 2 minutes.

Testing a schedule: after you create the routine, check When to run on desktop or the Schedule section on your phone. Confirm the time and the time zone match your intent. If you're setting up a routine for a team in another region, double-check the zone. Auto-detect will use your current location, not theirs.

Event Triggers: What They Listen For

A trigger decides when a routine runs: at a set time, or when something happens in an app. You don't pick from a dropdown. You tell the Bot what should start the routine, and it chooses the right trigger. Then you check When to run on desktop (or Schedule on your phone) to confirm.

Grok Bot supports these event triggers, as documented in the routine triggers reference:

  • Slack: Bot mentioned, a word or phrase posted, someone (or only you) reacts with any emoji or chosen emoji, or any message. Narrow by channel, sender, text, or specific emoji.
  • Microsoft Teams: Message posted. Narrow by team, channel, or text.
  • GitHub: Pull request opened, updated, merged, or closed; reviews; comments; review threads; issue assigned; CI pass or fail. Narrow by repository, one pull request, or selected users.
  • Linear: Issue created, status change, or cycle ends. Narrow by team, project, title, status, cycle, or assignee.
  • Sentry: Issue created, resolved, assigned, archived, unresolved, or changed. Narrow by project, title, or status.
  • PagerDuty: Incident triggered, acknowledged, resolved, escalated, or changed. Narrow by service, title, or status.
  • Bot email: Mail from senders you allow arrives at the Bot's own email address. Narrow by sender, subject, replies, authentication, or attachments.
  • Gmail: New mail in any Gmail account connected to the Bot. Narrow by sender, subject, or account.
  • Webhook: Another service sends an HTTP POST to the routine's unique URL.
  • Watch an app or web page: The Bot checks on an interval and finds the change you asked about—new item, changed value, new status.

Triggers start runs only for new activity, not anything that happened before the trigger existed. If you set up a Slack trigger at 3:00 PM, messages posted at 2:55 PM won't start a run.

A routine runs whenever any of its triggers fires. You can add up to 8 triggers per routine. One exception: a Gmail trigger or a watch trigger must be the routine's only trigger.

Narrowing Triggers

Narrow by telling the Bot: "only Linear issues in the Payments team," "only email whose subject includes invoice," "only messages in #customer-escalations that mention a ticket link." Events that don't match the filter won't start a run.

For a judgment a field can't capture—"a customer complaint," "a pricing question," "an urgent request"—the Bot can describe which events count, and each event is checked against that description first. Schedules and GitHub triggers can't be narrowed this way.

Keep triggers narrow. A Slack trigger that fires on every message in a high-traffic channel will run constantly and spend usage quickly. A trigger watching "any email" at the Bot's address will run on every newsletter, receipt, and notification. Narrow by channel, sender, subject, or keyword.

Trigger Setup Gotchas

Slack, GitHub, Microsoft Teams, Linear, Sentry, and PagerDuty triggers use apps connected to your Cursor account, separate from the apps the Bot uses to read and post. If the app isn't connected, you'll see a card prompting you to connect it before you can add the trigger.

For Slack: invite the Cursor app to the channel you're watching. If the Bot has its own Slack app, invite that instead. If the app isn't in the channel, the trigger will never run. Slack triggers can't hear direct messages; for DMs, the Bot checks your Slack on an interval instead, not in real time.

Gmail triggers and watched apps use the Bot's own connected apps, not your Cursor account apps.

Any trigger can fire the routine. If you add both a schedule and a Slack trigger, the routine runs at the scheduled time and whenever the Slack event happens. If that's not what you want, remove one of the triggers.

A Gmail trigger or a watch trigger must be the routine's only trigger. You can't combine them with a schedule or another event trigger.

Abstract glass spheres sending blue signal waves through a frosted glass filter gate, with a single red pulse passing through into a glass cube holding a glowing check mark, suggesting events filtered before work starts, on an apricot background

Email-Driven Routines: Bot Email vs. Gmail Trigger

You can claim one email address for your account that all your Bots can use in your own chats and routines. This address can't be renamed or deleted. A Team Bot has no team address. New mail doesn't wake the Bot on its own; you set up a routine that watches mail from anyone, specific addresses, or a whole domain like *@example.com.

By default, the Bot skips senders that fail standard email authentication. Use the Bot's email address for mail sent to the Bot on purpose—invoices, form submissions, receipts, notifications routed specifically to the Bot. Use a Gmail trigger for mail arriving in your own inbox that the Bot should act on.

Plus aliases (name+receipts@bot-email.example) work as labels, not locks. A routine watching an alias runs only for mail sent to that alias, but the alias itself doesn't restrict who can send. Keep a sender filter if you need one.

Mail that fails spam or virus scanning never starts a routine.

The Bot treats email from other people as information, not instructions. An email saying "send the report now" won't make the Bot send a report unless you've written a routine instruction that parses commands from email, which is not recommended.

When a routine sends email from the Bot's own address, the email waits as a draft until you press Send. There is no option for unattended sending from the Bot's email.

Webhooks: Bridging Tools Without a Native Trigger

If your CRM, form tool, billing system, or internal app can send an HTTP POST, it can start a Grok Bot routine via webhook. This is the bridge for any tool that doesn't have a native trigger in the list above.

Ask the Bot for a webhook trigger. The routine's Webhook section will show three things: the URL, the key, and the full Authorization: Bearer header.

In your external tool—your CRM's automation builder, your form tool's webhook settings, your internal service—configure an outbound webhook. Set the URL to the one Grok Bot gave you. Add the Authorization header exactly as shown, including the word "Bearer" and the key. Optionally, send a JSON body with event details; the Bot receives it along with the routine's instruction.

When the external tool sends the POST, a 200 response means the routine accepted the request and started a run (unless the event was filtered out by a narrowing rule). It does not mean the routine finished or succeeded. Check the Bot's chat for the result.

Any other response code means no run started. Check that the routine isn't paused, that you're using the current key, and that you haven't hit the hourly run limit.

The webhook key is a Bearer token. Treat it like a password. If you believe it's been exposed—committed to a public repository, logged in plaintext, shared in a screenshot—pause the routine and ask the Bot how to replace the key.

Webhook triggers are useful for CRMs that can send outbound webhooks when a deal stage changes, form tools that POST submission data, billing systems that notify on payment events, and internal services that need to hand work to the Bot. Describe the flow generically in your external tool's documentation; Grok Bot's side is just the URL and the header.

Watching an App or Web Page

For apps with no native trigger, the Bot can check on an interval: "new rows in our pipeline tracker," "a price change on this competitor page," "new items in the backlog view."

The Bot runs one check before saving the routine. Whatever is there at that moment counts as already seen; only changes after that point will start a run.

The default interval is every 10 minutes unless you ask for something different. Web pages can be checked no more often than every 15 minutes. You can watch up to 5 web pages across all routines and up to 3 apps or pages per routine.

Watch triggers only work in your own chat with a personal Bot. The Bot reads only apps you connected yourself. A Team Bot can't use watch triggers.

Use watch triggers when the app or page changes infrequently and you need to know soon after it happens. Don't use them for high-frequency data or for apps that have a native trigger available.

Approvals in Unattended Runs

When a routine runs in the background—triggered by a schedule, a Slack message, or a webhook—and the Bot needs approval for an action, that approval request expires after about 30 minutes. The card will show Expired, and the action won't run.

To catch approvals from unattended runs:

  • Turn on Notifications for Bots that run routines, so you see the approval request on your phone or desktop.
  • Choose Always allow for actions you trust, so the Bot doesn't stop and wait.
  • Design routines to draft and wait rather than execute immediately. "Draft a reply email" instead of "send a reply email."
  • After an approval expires, ask the Bot to try the action again. If the expired card offered a rule, you can still press "Always allow next time."

Email sent from a routine (using the Bot's own email address) always waits as a draft until you press Send. There is no option to send email unattended from the Bot's address.

Approvals in a chat you're actively in don't expire; they wait for you. The 30-minute expiry applies only to work that started without you: a routine run, a trigger firing, or a message from another Bot.

Test Before You Trust It

The Test button on desktop starts a run immediately, using the current instruction and input sources. The button label changes to Running... until the run finishes, then the result appears in the Bot's chat.

If the test can't start, you see "Couldn't start a test run" or a message that explains why. Some routines don't show the Test button at all. For those, ask the Bot to do the same work once in chat with a safe input, then check the first scheduled or triggered run carefully.

Warning: a test run performs real work. It will navigate websites, change files, and call connected tools exactly as a live run would. Use safe inputs. Keep write actions behind approval. Don't test a routine that posts to a public Slack channel or sends email without checking the approval gates first.

Before you trust a routine to run unattended, review this checklist from the skills and routines guide:

  • Current inputs are correct and realistic.
  • Output format matches what you need.
  • Every action has a source or audit trail.
  • The routine stopped at the intended approval point.
  • Failure states are explicit: what happens when the source is unavailable, when required fields are missing, when the Bot can't reach the tool.

Testing is desktop-only. You can view run history and manage routines from your phone, but you can't start a test run from mobile.

Usage and Limits

Each routine run spends usage, the same as a manual task. A routine that runs every hour, a watch trigger checking every 10 minutes, or a Slack trigger on a busy channel can use a week of usage in a day.

If your weekly usage is running out faster than expected: pause routines you don't need right now, ask the Bot to widen schedules (every 2 hours instead of every hour), and narrow Slack triggers (one channel instead of all channels, or only messages that mention the Bot). Do that before raising your plan limit or buying on-demand usage.

A routine that never runs doesn't spend usage. Testing a routine does spend usage.

Limits as of this writing, per the official documentation (these can change; check the routine triggers reference for current numbers):

  • 50 routines per Bot.
  • 20 run records kept per routine.
  • At least 5 minutes between scheduled runs.
  • 8 triggers per routine.
  • 3 apps or pages watched per routine.
  • 300 runs per hour across all your routines.
  • 200 runs per hour for a single routine.
  • 50 senders per email trigger.
  • 50 users per GitHub trigger.
  • 8 emoji per Slack reaction trigger.
  • Watch triggers check every 10 minutes by default.
  • Web pages can be checked no more often than every 15 minutes.
  • Up to 5 web pages watched across all routines.

When a routine hits the hourly run limit, it fails with "Automation run rate limit exceeded" and does not retry. You'll see the error in the run history. Widen the schedule or narrow the trigger.

When Grok Bot as a whole is busy, a scheduled run may wait and retry, starting a little late. This is normal and temporary.

Grok Bot may ask whether to keep routines running after a long period of inactivity and pause them if you don't respond. Review paused routines when you return.

Managing, Pausing, and Troubleshooting

On desktop, click the Bot's name and go to the Details tab. Each routine appears as a row showing its name and either when it runs next or Paused. Click the row to open it.

Inside a routine you'll see Instruction and When to run (plus Webhook if it has one). Buttons: Pause or Resume, Test, Edit (starts a message beginning "Edit your routine:"), and Delete routine (with confirmation). You can also right-click a routine row for a context menu.

On your phone, open the Bot's profile. Under Routines, tap a routine to see its schedule, next run time, instruction, and Run history (each run shows Running, Succeeded, or Failed with a reason). Toggle the Active switch to pause or resume. Swipe a routine in the list to delete it. Tap Edit routine to change it or Add routine to create a new one.

For a Team Bot, the routine settings include "Who can use this routine?" with options Only me or Everyone with access.

Deleting a routine stops all future runs and cannot be undone. Deleting a Bot removes all its routines.

When a Routine Hasn't Run

If a routine hasn't run when you expected it to, check:

  • It's not Paused.
  • When to run is correct and the time zone matches your intent.
  • A new schedule waits for the next scheduled time; it doesn't run immediately on creation.
  • For event triggers: the event is new (after the trigger was created), matches the filter, and setup is complete (app connected, Bot invited to the Slack channel, sender on the allowed list).
  • Ask the Bot which events the filter lets through. You may have written a filter that's too narrow.

The troubleshooting documentation adds: verify the owning Bot still exists, required plugins are authenticated, the Bot's computer can reach the source system, and usage or your account isn't paused. Inspect the run history for error messages. For event routines, confirm the source channel, repository, or matching rule is still valid.

If a routine isn't paused but hasn't run in 24 hours or more with no error message, report a bug.

When Your Primary Bot Suggests or Moves Routines

Your primary Bot—the one with a star in the sidebar—can offer to take on work. It never sets up a routine on its own without asking. Instead, it shows a Suggested routine card on desktop with Add and Dismiss buttons.

The primary Bot can also move routines onto the events they're waiting for. When a scheduled routine checks for something a trigger can catch—new pull requests in a repository or new mail in Gmail—the primary Bot can switch it to that trigger so it runs when the event happens at any hour, not just at the scheduled time.

It moves only its own routines, only routines that are active, and only routines that report what they find without posting, sending mail, or changing anything. It tells you in chat which routine moved and what starts it now. If you change one back to a schedule, it shouldn't move that routine again.

This is the one change a Bot can make to a routine without waiting for a yes. If you don't want a routine moved, you can move it back by editing it and telling the Bot to use the original schedule.

A Team Bot can't be a primary Bot. When a Team Bot's routine needs one of your connected apps, it asks in its Slack thread and tags you.

A Starter Set of Five Routines

Here are five hypothetical routine templates for an operations lead, presented as fill-in examples:

1. Daily pipeline digest (scheduled): "Every weekday at 8:00 AM Pacific, pull all deals that moved stage yesterday from the CRM. Post a summary in this conversation with deal name, stage, owner, and value. If the CRM is unreachable, post 'CRM unavailable' and stop."

2. Inbound lead webhook (event-triggered): "When a lead form submission arrives via webhook, extract name, email, company, and message. Draft a personalized reply email thanking them and asking for a 15-minute call. Wait for approval before sending. If required fields are missing, post the raw payload and ask what to do."

3. Slack escalation watcher (event-triggered): "When a message in #customer-escalations contains a support ticket link and the phrase 'needs engineering,' open the ticket, summarize the issue, and post a reproduction checklist in this conversation. Do not post back to Slack without approval."

4. Invoice email triage (event-triggered): "When an email arrives at this Bot's address from invoices@vendor.com or *@contractor-domain.com, extract invoice number, date, amount, and line items. Draft a reply confirming receipt and expected payment date and wait for approval before sending. If the attachment is missing or unreadable, draft a reply asking for a PDF and wait for approval."

5. Competitor pricing watch (watch trigger): "Check the pricing page at competitor-site.com/pricing every few hours. If any plan name, feature list, or price has changed, post the old and new versions side by side in this conversation. If the page is unreachable, report the failure."

A two-week rollout plan:

  • Week 1: Set up the daily pipeline digest. Test it three mornings in a row. Adjust the summary format and failure message. Confirm the time zone. Add the inbound lead webhook; test with a safe form submission; confirm the draft waits for approval.
  • Week 2: Add the Slack escalation watcher. Invite the Cursor app to #customer-escalations. Test with a real escalation message (use a test ticket). Set up the invoice email triage; send a test invoice from an allowed sender; confirm the draft is correct. Add the competitor pricing watch last; let it run for three days and confirm it only reports real changes, not false positives from page load variations.

After two weeks, review usage, run history, and approval patterns. Pause any routine that hasn't been useful. Widen schedules if usage is higher than expected. Add Always allow rules for actions you trust.

Common Mistakes

Automating a task that hasn't been tested manually. Prove the skill works before you schedule it.

Writing a routine instruction without a failure policy. "If the source is unavailable" should always have an answer.

Setting up a Slack trigger without inviting the Cursor app or the Bot to the channel. The trigger will never fire.

Using Auto-detect time zone for a routine that should follow a different region. The routine will run at 8:00 AM wherever you are when you create it, not 8:00 AM where the work belongs.

Adding a Gmail trigger or watch trigger alongside other triggers. Gmail and watch must be the only trigger on a routine.

Testing a routine with real production data and no approval gates. Test runs perform real work. Use safe inputs.

Letting a routine run unattended without turning on Notifications. You won't see approval requests, and they'll expire after 30 minutes.

Writing a webhook routine without treating the key like a password. If the key may be exposed, pause the routine and ask the Bot how to replace it.

Setting a trigger too wide—every message in a busy channel, every email to the Bot's address—and burning through usage in a day. Narrow by channel, sender, keyword, or subject.

Deleting a Bot without pausing or removing its routines first. The routines disappear with the Bot and can't be recovered.

How SumoGrowth Labs Helps Teams Design and Implement Routines

We work with operations leads and small teams to turn proven tasks into routines that run while you're away. That means task selection—which work should be automated and which should stay manual—skill writing and testing, trigger design, approval boundaries, and webhook wiring from CRMs, form tools, and internal systems that don't have a native Grok Bot trigger.

We don't deliver demos or possibilities. We deliver configured routines, tested instructions, documented failure modes, and a handoff plan so your team can manage, troubleshoot, and expand the library on your own.

If you're ready to stop remembering to ask and start letting the work run on the right schedule or the right event, we can help you design the system, write the instructions, and test it safely before it goes live.

by Darius Gaynor

Share this articleLinkedInX

Turn your next idea into growth.

Book a discovery call