Wake your family assistant bot only when mail arrives, with an Apps Script webhook
He runs Grok Bot as a personal assistant for his family of four. To save usage, he had the bot write a Google Apps Script on its own Workspace inbox that fires a webhook whenever an email lands.
Source
@benvhodl on X · 2026-10-12
Written in our own words. Credit to the original author. Link checked 2026-10-24.
What they did
He runs Grok Bot as a personal assistant for his family of four. To save usage, he had the bot write a Google Apps Script on its own Workspace inbox that fires a webhook whenever an email lands.
Result (as claimed)
The bot stops polling the inbox and only works when there's actually mail.
Tools they used
Cost: Grok Bot: from $30/mo.
Set it up
Define the job
Say exactly what you want done and what the agent may and may not do on your behalf.
Share only what is needed
Give Grok Bot the minimum files or access required. Avoid sharing passwords in chat when a safer login flow exists.
Review the plan
Ask the agent to show its plan or draft before it acts, and approve each step that has real consequences.
Check the result
Confirm the outcome yourself (order placed, request sent, document understood) and keep a record.
Copy the full setup prompt
Paste into your agent and it will walk you through the setup, asking before anything that sends, posts or spends.
You are helping me set up this AI use case end to end in Claude Code. Goal: Wake your family assistant bot only when mail arrives, with an Apps Script webhook What the original author did: He runs Grok Bot as a personal assistant for his family of four. To save usage, he had the bot write a Google Apps Script on its own Workspace inbox that fires a webhook whenever an email lands. Reported result (as claimed by the author): The bot stops polling the inbox and only works when there's actually mail. Source: https://x.com/benvhodl/status/2109710881307132183 Tools they used: Grok Bot, Google Workspace, Gmail, Google Apps Script Category: Personal & life Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Codex. Goal: Wake your family assistant bot only when mail arrives, with an Apps Script webhook What the original author did: He runs Grok Bot as a personal assistant for his family of four. To save usage, he had the bot write a Google Apps Script on its own Workspace inbox that fires a webhook whenever an email lands. Reported result (as claimed by the author): The bot stops polling the inbox and only works when there's actually mail. Source: https://x.com/benvhodl/status/2109710881307132183 Tools they used: Grok Bot, Google Workspace, Gmail, Google Apps Script Category: Personal & life Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
You are helping me set up this AI use case end to end in Grok Bot. Goal: Wake your family assistant bot only when mail arrives, with an Apps Script webhook What the original author did: He runs Grok Bot as a personal assistant for his family of four. To save usage, he had the bot write a Google Apps Script on its own Workspace inbox that fires a webhook whenever an email lands. Reported result (as claimed by the author): The bot stops polling the inbox and only works when there's actually mail. Source: https://x.com/benvhodl/status/2109710881307132183 Tools they used: Grok Bot, Google Workspace, Gmail, Google Apps Script Category: Personal & life Please: 1. Ask me 3 short questions about my situation (accounts I have, budget, what I want the output to look like). 2. Propose a step-by-step plan using these tools or cheaper alternatives, with the time and cost of each step. Use official pricing pages; say "check pricing" if unsure. 3. Then do the setup with me one step at a time, waiting for my OK before anything that sends messages, posts publicly, spends money or deletes data. 4. Finish with a checklist to run it again next time.
The Daily 5
Get five new use cases tomorrow morning
Free. Real sources. Unsubscribe any time.
Guides for this use case
How to automate email and your inbox with AI agents · How to set up Grok Bot agents for real work · How to trigger AI agents with webhooks and events · How to set up an AI family assistant
Related use cases
Let a Grok Bot do your desk work by voice while you drive
During a 12-hour shift driving a truck, a worker handed his desk work to his Grok Bot by voice. It found a store's number and address, logged his hours, cleaned his inbox, rescued emails from the trash, caught a bounced business email and drafted a follow-up on a home claim.
Let a Grok Bot clean your inbox and summarize only what matters
Instead of sifting through promotional email he will never read, he lets a Grok Bot go through his inbox, delete useless emails and summarize the important ones.
Let your assistant email you when something urgent can't wait
A student keeps Grok Bot notifications off during school. When something urgent came up, his Grok Bot emailed him instead, knowing an email would still reach him as a push notification.
Run a family office and kids' logistics through one Grok Bot
He talks to one agent that spins up specialists running around the clock on their own computers. It reads all his email and WhatsApp groups, surfaces only the decisions he needs to make, and keeps the family calendar.