Tested by AI Setups That Work. Ran on Grok Bot, Nov 2, 2026: a good lead-sweep run was written up as a 193-word routine and re-run on new sample emails against a real Google Sheet. It worked, but missed a customer saying yes and re-drafted old leads, so it was fixed and not scheduled.
What it does
Save a bot run that worked as a written routine, test it on a second input, then schedule it with outward actions kept behind your approval.
Who it is for
Owners who get a great result from a bot once and cannot get it again next week.
Tools
Grok Bot or your agent tool
A second test input
Your bot's scheduling or routines feature
Steps
Right after a good run, use the prompt below to have the bot write the routine.
Read it and fix anything vague, especially what done looks like.
Run the routine on a different input, such as another week's emails or a different client.
If it works twice, schedule it.
Keep send, purchase, delete, publish and record changes behind approval. xAI documents approvals for these actions in Grok Bot.
Add the routine to your list so the monthly usage review covers it.
The prompt
That run worked. Write it down as a reusable routine.
Include:
1. Name and one-line purpose
2. Inputs it needs and where they come from
3. Numbered steps, exactly as you did them
4. What done looks like
5. Actions that need my approval (send, buy, delete, publish, change records)
6. What to do if a step fails: stop and tell me
Under 200 words. Do not schedule it yet.
Tips
Two successful runs before scheduling.
Name routines by the job, not the tool.
A routine nobody uses is a usage cost; review monthly.