How to create a routine in Grok Bot (step by step)

Turn a one-off task into a scheduled Grok Bot routine: save a skill, set the schedule, test it, and keep approvals in place.

Grok Bot automates work with two building blocks. A skill is a reusable set of instructions. A routine tells one Bot when to run it, either on a schedule or, where supported, after an event (xAI docs).

  1. Run the job once by hand. Paste a recipe prompt, check the output, and fix what was wrong.
  2. Save it as a skill. Ask: "Save the process we just used as a skill called 'Weekly account health'. Include the sources, the output format and the rule that customer contact always needs approval."
  3. Create the routine. Ask the Bot that should own the job: "Every weekday at 8:00 AM, run the Weekly account health skill. Post the result here. If the source data is unavailable, report the failure instead of using old data."
  4. Confirm the details. Check the owning Bot, the schedule and time zone, the inputs, the expected result, the approval boundary and what happens when a source is missing.
  5. Use Test run. A test run does real work, so use safe inputs.

Limits to know

To find a routine later, open the Bot, choose View conversation details, then Routines.