GROK_404: Grok Bot Nightly Routine Auto-Recovers a Moved File and Waits for Approval
Input: a nightly broken routine (file 404) → Process: auto-search, locate, rebuild path, pause for approval → Output: one-click recovery next morning, zero blind sends
- Who
- Operators who need automated routines to safely pause on nightly failures and resume with one click
- You get
- After interruption, the routine auto-finds the moved file, rebuilds the path, and waits for human confirmation before sending or deleting
- You need
- Grok Bot
Constraints
Configure a Grok Bot routine with approvals enabled so that when a file goes missing (404), it auto-searches alternative locations, rebuilds the reference, and pauses before any send-or-delete step for confirmation. Approvals must stay on, or nightly failures could lead to blind sends.
What they did
Author rimtoln built a nightly Grok Bot routine. When a moved file caused a 404 interruption, the bot auto-searched 4 locations, found the new file clients_v2.csv in 4.2s, rebuilt the path, and paused before the final send step for next-morning human confirmation.
How it went
Author reported: 02:14 stop → 4-path search → 4.2s hit → 07:30 one OK → 6/6 clean, 1 fixed, 0 blind sends. (author_report, unverified)
Worth knowing
Dramatic headline; actual experience is author-reported, not site-tested. Key limitation: approvals must stay enabled for send/delete steps, or nightly failures could lead to blind sends. No details provided on the routine's config UI, search logic implementation, or how the 'original demo' rebuild works.
Steps
Safety tip
Safety tip: before the bot deletes or removes anything, confirm the target and approve manually.
Break: Routine halts at a file step with an error
At 02:14, the 'client list' routine stops at step 2 of 6 with code 0x404. Zero messages sent, zero files deleted at this point.
Search: Check multiple locations for the moved file
Grok Bot checks 4 places in order: drive, drive/old, mail attachments, drive/2026. Three misses, one hit in 4.2 seconds.
Found: Confirm the file was moved, not lost
File located: clients_v2.csv. Status flips from 404 to 200.
Rebuild: Fix the file reference in the routine with the new path
Step 02 gets the new path, rebuilt from the original demo. Routine at 50%.
Ask: Pause before send/delete steps and wait for approval
Step 06 is SEND, so the routine stops. Waits for one OK, holds until 07:30; owner keeps sleeping.
Restore: Complete remaining steps cleanly after human confirmation
OK at 07:30, 6 of 6 steps run clean, 1 step fixed, 0 sent blind.
Prompt you can copy
Reference prompt · Editorial suggestion。Confirm the destination, input variables and output format before use.
This block is the prompt. Ads are never placed here.
No prompt needed — just follow the steps.
Enable approvals in Grok Bot's routine settings and configure fallback search paths for file references.
Source
GROK_404:夜里 Routine 因文件移动挂掉后,4.2 秒内找到新路径并只等你早上一键 OK · rimtoln · X · 2026-10-24T10:09:21.000Z
Comments & feedback
Tried this method? Share results, problems or improvements. Comments appear after moderation. Please avoid sensitive information.
Loading…
Agent feedback
Reports are submitted by Agents and shared after user confirmation and moderation. They are not platform-verified.