Email

Email-Triggered Routines: Summarize Every Billing Email

Published · Updated

We ran our routine instruction on 3 sample vendor emails. It caught a 20% price jump (EUR 240 to EUR 288, 10 to 12 seats) and flagged the non-bill in one line. All 9 email-trigger facts we quote are on the live help page.

We fed our billing instruction 3 sample vendor emails. It caught a 20% jump (EUR 240 → EUR 288, 10 → 12 seats) and turned the webinar email into one line. Wire the same instruction to an email trigger and it runs on every bill. For freelancers and small teams with a few known vendors. Cost: one run per matching email. Replies stop at drafts.

Terminal log: three sample emails in; output lists INV-2209 EUR 240, INV-2310 EUR 288 marked CHANGED +EUR 48 (+20%), seats 10 to 12, and one non-billing line; nothing sent
Our run on 3 sample emails we wrote, 2026-10-19. Summary by our Bot in chat, not by a triggered routine. Our screenshot.

What you get

  • One short summary per bill: amount, due date, invoice number and what changed.
  • A draft reply only when something needs disputing.
  • Still needs you: a Bot email address (claiming one is permanent), and pressing Send on any draft.

Tested on: 2026-10-19, our AgentSpoon box. Partial. We ran the instruction on sample emails we wrote. No routine fired. Our account has no Bot address and we won't claim one for a test. The trigger facts come from the live agent-email and Routines help pages, and all 12 quotes were found there when we rechecked on 2026-10-25.

Terminal log: agent-email help page 200, 9 of 9 quotes found, including "There's no option for unattended sending" and "nothing sends until you press Send"; Routines page 200, 3 of 3 found
Docs check, 2026-10-25. Our screenshot.

Step 1: Get the mail to your Bot's address

The help page covers routines for mail sent to the Bot's own address: "Run a routine when email arrives, optionally only from specific senders." Claim the address first (see Claim and Use Your Bot's Email Address), then forward or redirect the vendor's mail to it.

✅ You should see: your Bot's address in the Email app.

Step 2: Pick the sender filter

A routine can watch mail from anyone, one sender, or "a whole domain, such as *@example.com". Two limits: "Routines can't filter by subject", and by default the routine only runs for senders that "pass standard email authentication checks".

✅ You should see: one sender or one domain, not "anyone".

Step 3: Paste the instruction

When an email arrives from *@<VENDOR-DOMAIN>, post here: invoice number, amount and currency, due date, and what changed since the last one (amount, seats, plan).
If it isn't a bill, say "non-billing email from <sender>" in one line.
If something needs disputing, draft a reply for me to approve. Never send.

The same trigger works for customer mail: Support Ticket Triage tags each ticket against your policy and drafts replies for you to approve. ✅ You should see: the routine, with When to run showing the sender or domain.

Step 4: Test it with a safe email

Per the Routines page, "To try it right away, use Test", but "A test does real work", so give it a harmless input. Or forward one old invoice to the address.

✅ You should see: a summary like ours above, in the Bot's chat.

Step 5: Watch Run history

On the phone, the routine's Run history lists each run, and "A failed run shows its reason."

✅ You should see: Succeeded runs, one per matching email.

Want to see a trigger in action? Michael Fenech shows a webhook waking a routine in a short demo. Andrew Warner covers webhooks at 16:45 in his use-case video.

Whole post by Michael | AI + Agents (@Michael_Fenech_) on X, Oct 8 2026: "Grok Bot doesn't need you to tell it when to start working." / "With a webhook connected to a routine, events in other apps can wake Grok Bot up and trigger the job you've defined." / "Here's how it works in under 40 seconds.", with a video attached
Post by Michael | AI + Agents (@Michael_Fenech_), 2026-10-08. Original on X.
Whole post by Andrew Warner (@AndrewWarner) on X, Oct 5 2026: "I found 12 use cases for using Grok Bot" with a timestamped list including "16:45 Webhooks for speed" and "30:26 Inbox triage", and a video attached
Post by Andrew Warner (@AndrewWarner), 2026-10-05. Original on X. For this recipe, jump to 16:45 Webhooks for speed.

Gotchas

  • No unattended sending. "There's no option for unattended sending." Email from a routine "waits as a draft", and "nothing sends until you press Send".
  • Spam and virus failures: that mail "never starts a routine".
  • "Mail from anyone" on a busy address spends usage on every email. If a roundup is enough, a scheduled routine like our weekly email report spends one run a week instead.
  • "What changed" needs history. Our run compared two bills in one batch. We didn't test whether a live routine remembers the last bill, so ask it to keep a small log file of past amounts.

FAQ

Can it pay the bill? No. It summarizes and drafts, and you pay.

Can I filter by subject line? Not in the trigger. Per the help page, routines can't filter by subject, so put subject logic in the instruction.

Sources

  • Grok Bot help: Give your Bot an email address, Routines. Checked 2026-10-19.
  • Michael Fenech (@Michael_Fenech_), webhook → routine demo, 2026-10-08: https://x.com/Michael_Fenech_/status/2108216597181841503 (126 likes, 179 bookmarks as of 2026-10-19).
  • Andrew Warner (@AndrewWarner), 12 use cases with timestamps, 2026-10-05: https://x.com/AndrewWarner/status/2107151668819243095 (webhooks at 16:45).
  • Our run: billing instruction on 3 sample emails, 2026-10-19.