Day 5, 25 minutes · beginner
Why it matters
This lesson shows how to put Grok Bot on a schedule with a routine: you ask your Bot to run your skill every week at a fixed time, check that the schedule and time zone are right, test it once, and learn how to pause it. This lesson is for beginners who have a working skill and want the work to start without them.
A routine is the step where a Bot really differs from a chat assistant. Nobody types anything, and the work still happens, on a computer in the cloud, while your laptop is closed. That is exactly what you wanted. It also means nobody is watching, so the routine has to know what to do when something is missing, and it has to stop where you said.
At the end of today one routine runs your weekly job at the time you chose. You have seen it work once, you know where the pause switch is, and your Bot handbook says what the routine does when a source is down.
What is a routine in Grok Bot?
A routine tells one Bot when to run a workflow: on a schedule, or when something happens. The vendor's page on skills and routines lists events such as an email to the Bot's own address or a Slack message as triggers. This lesson uses the simple kind: a schedule.
You do not build a routine in a form. You ask the Bot that should own the job, in plain words, and the Bot creates it. Then you check what it saved.
For a weekly routine in marketing work, the course AI for Marketers has a lesson that also shows a Grok Bot routine.
What do you confirm before a routine runs on its own?
The vendor's page gives six things to confirm. Put them all in your request:
| Confirm | Why |
|---|---|
| The owning Bot | A routine belongs to one Bot. Deleting the Bot removes its routines |
| The schedule and time zone | "Friday at 16:00" needs a zone |
| The input source | Where today's data comes from |
| The expected result | What you find when it is done, and where |
| The approval boundary | Where it stops for you |
| What happens when a source is missing | Report the failure, or carry on with old data? |
Three facts about unattended work, all from the vendor's pages:
- A new routine waits for its next scheduled time. It does not run when you create it. To try it now, there is a Test button.
- A test does real work. It can open websites, change files and use your apps. Keep the inputs safe.
- Cards from a routine expire. An approval card raised by background work expires after 30 minutes if you do not answer. The Bot then does not do the action. So a routine should prepare and report, and leave sending and changing for when you are there.
Each run also spends usage. The vendor warns that an hourly schedule can use a week of usage in a day. Once a week is plenty for this course.
The steps
Check your time zone. Schedules use the time zone in the settings. The default follows your computer. Look once, so "16:00" means your 16:00.
Ask the owning Bot for the routine. One message with the six things from the table. Name your skill.
Read what was saved. Open the routine and read its instruction and its schedule in words. If the schedule is not what you meant, tell the Bot what to fix.
Test it once. Run the test and wait for the result in the Bot's chat.
Review the test like the vendor suggests. Did it use current inputs? Is the format right? Does every fact have a source? Did it stop at the approval point? Does it say clearly what failed?
Find the pause switch. Pause the routine and resume it once, so you know how on the day you need it.
Write it in your handbook. The routine's name, its schedule, its owner, what it does when a source is missing, and how to pause it.
Pick Grok Bot below and follow the steps.
Example: a weekly Grok Bot routine
Marit, of the made-up Reedbank Cycle Tours, wanted the prep sheet ready on Friday afternoon, before she packs the van.
Every Friday at 16:00, run the Saturday tour prep skill for the next day.
Post the prep sheet in this conversation and save it in /workspace/tours.
Do not contact anyone and do not change the calendar.
If a source cannot be reached, report that in the sheet under Could not verify. Do not use old data.
If Saturday has no groups in the calendar, post one line that says so and stop.
The Bot confirmed the routine. Marit opened it. The schedule read every Friday at 16:00, in her own time zone. She ran the test on a Wednesday. The sheet came back with a forecast for Thursday. The skill took "the next day" literally, and on a Wednesday the next day is Thursday. Good to find out in a test. She asked the Bot to edit the routine so that it always prepares the coming Saturday, and tested again. Right this time.
She paused the routine, resumed it, and wrote in her handbook: "Friday prep. Owner: my first Bot. Fridays 16:00. No groups: one line and stop. Source down: say so, never old data. Pause: switch on the routine's row."
The last line of her request matters more than it looks. In winter Marit runs no tours. Without it, the Bot would produce a sheet for nobody every Friday and spend usage doing it.
Common mistakes with Grok Bot routines
- Automating a task that is not reliable yet. The vendor's order is skill first, then routine. If the skill still needs your help, wait.
- Scheduling it too often. Every run spends usage. Weekly work needs a weekly routine.
- Expecting the routine to send things. The vendor says email a routine sends from the Bot's own address waits as a draft until you press Send, and a routine's approval cards expire.
- Forgetting it exists. Put the routine in your handbook, and pause it when you go on holiday or when a source site changes.
Today's actions
Ticks are not saved without an accountDo it in Grok Bot
Grok Bot
- Open Settings and, under Bot, check Timezone. Auto-detect follows this computer. Pick a zone only if the routine should follow a different one.
- Open the chat with the Bot that should own the job, paste the request below, fill in the brackets, and send it.
Every [day] at [time], run the [name of your skill] skill for [input, for example the coming Saturday]. Post the result in this conversation and save it in /workspace/[folder name]. Do not contact anyone and do not change [the app you connected]. If a source cannot be reached, report that under Could not verify. Do not use old data. If there is nothing to prepare, post one line that says so and stop. - Click the Bot's name at the top of the chat to open its details. Routines are on the Details tab. Open your new routine.
- Read Instruction and When to run. If the schedule is not what you meant, choose Edit and tell the Bot what to fix.
- Choose Test if the routine shows it. The button says Running… until the run finishes, and the result shows up in the Bot's chat.
- Review the result: current inputs, the right format, a source for every fact, and a clear line for anything that failed.
- Go back to the Details tab and use the switch on the routine's row to pause it, then switch it on again.
Note: A new routine waits for its next scheduled time. It does not run when it is created. A test run does real work and spends usage. Some routines do not show Test: then ask the Bot to do the same work once in chat. Routines run in the cloud while your laptop is closed. An approval card from a routine expires after 30 minutes. On the phone, a routine has an Active switch and a Run history.
Paid planNeeds Premium, Super or Ultra on The X Subscription. Plus and Free do not include Grok Bot. Every run draws from your weekly usage.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up