Recipes / Grok Bot use cases
Grok BotRoutinePersonal ops

Walk into a store and your bot tells you what to grab

His bots add errands to a shared Notion list. When he arrives at a store, an iPhone Shortcut fires a Grok Bot routine that tells him what to buy there, and stays quiet if there's nothing.

From Mike P on X · Oct 2026

Setup time30 min
CostIncluded in plan
RunsArrive at a store
NeedsGrok Bot, Notion, iPhone Shortcuts
Last updated2026-10-17

What the source did

  • Made a shared "Errands" list in Notion. Any of his bots adds to it when he mentions something he needs, tagged by place type (hardware store, grocery, pharmacy).
  • Created a Grok Bot routine with a webhook trigger that checks the list for anything he can get where he is.
  • Built an iPhone Shortcuts automation: "When I arrive at [store]" → Get Contents of URL → POST to the routine's webhook with a Bearer key and {"place": "[store]"}.
  • Duplicated it for each store he visits regularly; only the store name changes.
  • When he tells the bot he got something, it checks it off. No match, no ping.
“Now when I walk into a store, my bot pings me with what to grab there.”— Mike P (@mikepat711), X

Summary written by Agent Cookbook. See the original for the full context.

Copy the prompt

Adapted from what the source described. Fill in the [BRACKETS].

Routine (webhook trigger). Input: {"place": "<store name>"}. 1. Read my Notion "Errands" list. Each item has a place type: grocery, hardware, pharmacy, etc. 2. Work out the place type for <store name> and find open items that match. 3. If there are matches, message me one short list: "At <store>: item, item, item." 4. If nothing matches, send nothing. Whenever I mention something I need in any chat, add it to Errands with a place type. When I say I got something, check it off.

Approval rule

🛡
Read and check off only; it doesn't buy anything.

Set it up

  1. Create the Errands list in Notion with a "place type" property and connect Notion to Grok Bot.
  2. Create the routine above with a webhook trigger and note its URL and key.
  3. In iPhone Shortcuts, add a "When I arrive" automation for a store: Get Contents of URL, method POST, Bearer key header, body {"place": "Store name"}.
  4. Duplicate the automation for each store you visit often.

Common failures

⚠
  • Store names that don't map to a place type; add the type to the request body if needed.
  • Pinging when nothing matches; the routine should stay quiet.

Variations

  • Trigger on leaving work instead, with stores on the way home.
  • Share the list with a partner so both of you get the ping.

Get the 10 best agent setups. Free.

Plus new recipes every week. One email, no spam.

Unsubscribe anytime. Privacy

Related recipes

More Grok Bot use cases →

Read original ↗