Have your bot switch its routines to start when something happens
Most bot routines run on a timer: every hour the bot wakes up, checks your inbox, finds nothing and goes back to sleep. Now a routine can start the moment something happens instead, like a reply landing or a message in Slack. Ask your bot to go through its own routines, sort which ones should react to an event and which should stay on a clock, and change nothing until you pick.
Seen on X ×3 · Official docs
What the bot does
- Lists every routine it runs: which bot, how often, and what it does.
- Sorts each one into Switch (it reacts to something, like an email or a message), Keep (the time is the point, like a morning brief) or Slow down (nothing to react to, but it runs too often).
- Shows you the list first, with what each switch would lose, such as a daily summary or mail that falls outside the filter.
- For the ones you pick, sets a narrow trigger (a sender, a subject word, one channel) and adds a light daily or weekly backup check where a missed event would matter.
- Stays quiet when nothing needs you, and gives a rough before-and-after count of runs, labeled as an estimate.
What you end up with
Routines that react within minutes when something real arrives, instead of dozens of empty check-ins a day, and a short list showing what changed and what stayed on a schedule.
Copy-paste prompt
Fill in the [brackets]. Then paste it into any tool below.
Review all my routines and suggest which ones should start when something happens instead of on a timer. 1. List every routine: which bot, its schedule, and what it does. 2. Sort each one into: - Switch: it reacts to something (an email, a message, a page change). Use a trigger with a tight filter, like [the senders or subject words that matter, e.g. my landlord, 'invoice', 'school']. - Keep: the time itself is the point (morning brief, weekly report). - Slow down: nothing to react to, but it runs more often than it needs to. 3. Before changing anything, show me the list with what each switch would lose (daily summaries, mail outside the filter, side checks it also did). Let me pick. 4. For each one I pick: read the routine first, add a light daily or weekly backup check if something could be missed, and stay quiet unless there's something worth telling me. 5. Give me a rough count of runs per day before and after, labeled as an estimate. Change nothing until I choose. Then tell me how to send a test (like an email to myself) to check each new trigger fires.
New to this? Start with what an AI agent is, in simple terms, then how to build an AI agent without coding, or set up a bot in 5 plain steps →
Want one new job like this each week, with a prompt to copy? Get the free BotsDoThat Weekly email and the free Starter Pack: 7 ready-to-paste AI agent setups, plus a power-user bonus.
Setup
- Check your assistant can start a routine from an event. In Grok Bot, update the app and look for a routine's When to run setting; the docs list Gmail, the Bot's own email, Slack, Teams, GitHub, webhooks and watched apps or pages.
- Paste the prompt into the bot that knows your other bots (a Chief of Staff bot, if you have one), or into each bot one at a time.
- Pick only two or three switches to start with, usually the inbox ones.
- Send yourself a test email or message that matches the filter and check the routine woke up. One user's test email woke her bot in under three minutes.
- After a week, look at the routine's run history and ask the bot what it caught and what it missed.
Tools that can do it today
- agentGrok Bot (personal agents)Since Grok Bot 1.4.0 (Nov 30, 2026) a routine can start from Gmail, the Bot's own email, Slack, Teams, GitHub, a webhook or a watched app or web page. Tell the Bot what should start it and it picks the triggerIncluded with Premium, Super and Ultra on The X Subscription; or link SuperGrok, SuperGrok Plus, SuperGrok Heavy or X Premium+; a Grok Business seat; or a legacy paid Cursor plan
- automationZapierZaps already start on a trigger (like a new email). Zapier's agent-built Zaps beta (Dec 1, 2026) lets the chatbot you use set one up for youFree plan; paid plans add more
- automationn8nIf you build your own workflows, start them from a trigger node instead of a scheduleFree to self-host; paid cloud plans
Plans and limits change; check each tool's page.
Watch out
- Keep filters narrow. A trigger that fires on every message in a busy channel runs often and spends usage on messages that don't need the bot (Grok Bot docs).
- Triggers only fire for new activity, not anything from before you set them up, and in Grok Bot a Gmail trigger has to be the routine's only trigger (Grok Bot docs).
- Slack triggers can't hear direct messages, and need the app invited to the channel; for DMs the bot still checks on an interval (Grok Bot docs).
- Savings numbers people post are their own setups. One user counted 288 runs a day becoming 21 after switching three routines; your numbers will differ.
- Keep anything time-based on a schedule: a morning brief or a Friday report has no event to wait for.
What this costs to run
In a chat app it runs inside your plan. If you run it as a bot on an AI API, the bill depends on how often it runs and how much it reads.
Estimate it in the cost calculator →
Tip: Stop always-on bots burning tokens: run them less often. More in Run your bots for less and how much an AI agent costs.
Questions people ask
Which AI tools can do this?
Grok Bot (personal agents), Zapier or n8n can do this today. Paste the copy-paste prompt on this page into any of them and fill in the [brackets].
How hard is it to set up?
It's rated Easy. Start with the steps under “What the bot does”.
What should I watch out for?
Keep filters narrow. A trigger that fires on every message in a busy channel runs often and spends usage on messages that don't need the bot (Grok Bot docs).
Sources
- xX post by @Kevin_Logan (2026-12-02): switched his Grok Bot team to event-based triggers ('90 fewer wakes a week') and shared a Switch / Keep / Slow down prompt for a Chief of Staff bot that changes nothing until you choose (72 likes / 6 reposts / 14 replies / 11,705 views, measured 2026-12-03)
- officialGrok Bot docs, 'Routine triggers' (read 2026-12-03): a trigger decides when a routine runs, at a set time or when something happens in an app; tell the Bot what should start it; triggers for Slack, GitHub, Teams, Linear, Gmail, the Bot's email, webhooks and watched apps or pages; keep triggers narrow
- officialGrok Bot changelog, 1.4.0 (2026-11-30): routines can start the moment an event comes in (Gmail, a Bot's own inbox, Slack, Teams, GitHub, webhooks); filters make a routine start only when conditions are met, and event routines don't use credits on scheduled checks
- articleTeslaNorth (2026-12-01): 'Grok Bot Can Now Act When an Email or Slack Message Arrives'; the release slides said event triggers started rolling out to 10% of users, so the option may not be on your account yet
- articleGrok Bot Consultant news (2026-12-01): Grok Bot 1.4.0 event triggers explained; team members suggest asking your bot to 'update my routines' or convert them to event-based ones so it only wakes when it needs to
- articleBot in Practice case write-up (2026-12-02): @mistm1st switched 3 routines and counted one day: inbox triage 96 runs to 7, pull-request check 48 to 3, Slack mentions 144 to 11 (288 to 21); author's own count, not reproduced
- xX post by @mistm1st (2026-12-02): the same before-and-after count, plus 'Ask your bot: Move my routines from timers to triggers and show me the run count before and after' (21 likes / 1 repost / 320 views, measured 2026-12-03)
- xX post by @MarsHomestead (2026-12-01): a test email to Gmail woke her Grok Bot on its own in under 3 minutes (11 likes / 670 views, measured 2026-12-02)
Last checked Dec 3, 2026. Self-reported results from posts are the poster's own claims.