Topics ▾
Routines ·

Switch your routines from timers to event triggers

Intermediate, 20 minutes

Grok Bot 1.4.0 lets a routine start when an email, Slack message, pull request or webhook arrives. Ask your Bot which routines to switch, move one narrow routine at a time, and read When to run.

Published

How this helps you

Your routines stop spending usage on empty checks and respond when the email or message actually arrives, not up to an hour later.

✦ Try it
List all my routines, including ones on my other Bots. For each one that checks something on a schedule, tell me whether an event could start it instead (new mail in Gmail, mail to your own address, a Slack message, a GitHub, Linear, Sentry or PagerDuty event, or a webhook), which one sender, channel or project it should be narrowed to, and whether the routine sends, posts, pays or changes anything. Don't change anything yet. Recommend the one to switch first.

Fill in: The list prompt has no blanks. In step 3, [routine] is the routine's name as shown on the Details tab, [event] is what should start it (for example "an email arrives") and [one sender, channel or project] keeps it narrow. Both prompts are ours, built from Trevin Chow's and Magnus's prompts and the 1.4.0 release notes.

What they did

On 1 December the official @bot account announced that Grok Bot now acts as soon as an event happens: a prospect replies, an invoice gets paid or a teammate messages you in Slack, and the Bot starts work then instead of checking your apps on a schedule. Its example: the team's own HR intake routine went from 285 checks a day to 12 runs when new emails arrived, using 94% fewer tokens. To switch existing routines, just ask your Bot; Lauren Tan (@poteto) on the Grok Bot team said the same, and Trevin Chow shared a one-message version that also asks your other Bots to do it. The 1.4.0 release notes list the triggers (Slack, GitHub, Origin, Microsoft Teams, Linear, Sentry, PagerDuty, Gmail, a Bot's own inbox and webhooks) and filters so a routine starts only when conditions match. Magnus (@mKLAPPEREN_), whose news Bot once woke 7 times before 2pm for 5 empty runs, wrote up the walls to put up first, because an event can now start a run at any hour while nobody is watching.

Who it's for: Anyone with routines that check an inbox, Slack channel, GitHub repo or tracker on a timer, from a freelancer waiting on client replies to a team handling alerts.

Before you start

How to try it

  1. Ask for a list first and change nothing: send the prompt below to your primary Bot. It should name each scheduled routine, the event that could start it instead, and the one sender, channel or project to narrow it to.
  2. Pick the noisiest routine that only reports, such as one that checks an inbox and usually finds nothing. Leave anything that sends, posts or buys on its schedule for now.
  3. Switch that one routine and keep it narrow: "Switch the [routine] routine so it only runs when [event], and only for [one sender, channel or project]. Keep its instructions the same. Draft only." The Bot picks the trigger; there's no list to choose from.
  4. Open the routine (click the Bot's name, then the Details tab) and read When to run. It shows the trigger in words, such as "When a Linear issue is created". If it's not what you meant, choose Edit and tell the Bot what to fix. For a Slack trigger, invite the Cursor app (or the Bot's own Slack app) to the channel, or it never runs.
  5. Test with a safe input: send a matching email or post the phrase in the channel, then check the Bot's chat for the run. Only new activity counts, so anything from before the trigger existed won't start one.
  6. Once a week, read When to run on all your routines. Your primary Bot can move its own report-only routines to an event trigger without asking first, and tells you in chat afterwards.

What to expect

Hypothetical: a routine checks your inbox every hour for replies from one client and drafts an answer. After the switch, When to run describes a Gmail trigger narrowed to that client's address, the routine runs only when the client writes, and the draft still waits for you. Success check: a test email from that sender starts a run you can see in the Bot's chat, and an email from anyone else doesn't.

Common mistakes

Related tips

Worth knowingLimits from the routine triggers docs: up to 8 triggers per routine, 50 senders on an email trigger, 300 runs an hour across all your routines and 200 for one routine; a run past either limit fails and isn't retried. The 285-to-12 and 94% figures are the Grok Bot team's own example, not a promise for your routines.

Questions about this tip

Do event-triggered routines use usage while they wait?

Per the Grok Bot 1.4.0 release notes, routines with event-based triggers only run when their event happens, so they don't use credits on scheduled checks. Each run still uses usage.

Can my Bot switch a routine to an event trigger without asking me?

Yes, in one case: your primary Bot can move its own routines that are on and only report what they find, without posting, sending mail or changing anything in another app. It tells you in chat which routine it moved, and if you change it back it shouldn't move that routine again.

What if the app I use has no event trigger?

Ask the Bot to watch the app or web page instead. It checks every 10 minutes unless you ask otherwise (web pages no more often than every 15 minutes, up to 5 pages across your routines) and starts a run only when it finds the change you asked about.

Next in Routines →Run nightly code audits that leave PRs for the morning

Learn more: Grok Bot Routines Not Working? Do It by Hand, Save a Skill, Then Schedule · All Grok Bot routines tips

Related Grok Bot tips

More Routines →
Routines

Talk to your Grok Bot from an Amazon Echo

A private Alexa skill sends what you say to a Grok Bot routine's webhook, Alexa answers "On it", and the Bot's reply lands in its chat as a phone notification.

How this helps you You can ask your Bot for your calendar, inbox or a status update from across the room, and the full answer is waiting on your phone.
Spotted by @skpnky · 27 Nov 2026
Read more
Routines

Wake your Bot only when there's work, with a free checker

Move the hourly "anything new?" check out of Grok Bot into a tiny script on a computer that stays on. It costs no Grok Bot usage when nothing's there and calls a routine's webhook when there is.

How this helps you Checks that usually find nothing stop eating your weekly usage, and your Bot still starts within minutes when there's real work.
Spotted by @sboudis · 26 Nov 2026
Read more
Routines

Weekly creator research: outlier scan and hook library

Louise de Sadeleer runs two weekly research routines: one checks creators she saved for posts that did far better than usual, the other pulls the hooks from videos she saved into a database sorted by hook type.

How this helps you Your week starts with proven hooks and outlier posts already collected, so writing time goes on writing instead of scrolling for ideas.
Spotted by Greg Isenberg (YouTube) · 18 Nov 2026
Read more