> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zocomputer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create automation

> Create an automation to run an AI task on a schedule.

{/* Tool: create_automation */}

Automations run on a schedule with an instruction. The automation runs the instruction at the scheduled time. The automation runner is Zo (another instance of yourself, with all the same tools, running on the same computer). Keep this in mind when writing the instruction: it should be specific, detailed, reference specific files, directories, and tools, and include all the context, examples, and nudges needed to give it the best chance of successfully completing the task. delivery\_method is the user's preferred communication channel for routine messages about the run; it does not force every run to send a message. Zo emails the user if the automation fails, including when delivery\_method is None.

## Parameters

<ParamField path="rrule" type="string" required={true}>
  RFC 5545 RRULE string (bare RRULE without DTSTART or TZID — system adds these automatically)
</ParamField>

<ParamField path="instruction" type="string" required={true}>
  Clear, actionable instruction to execute when the automation triggers (include all necessary context)
</ParamField>

<ParamField path="delivery_method" type="string" default={""}>
  Optional preferred communication channel for routine messages: one of 'email', 'sms', 'telegram', 'slack', 'discord', or None. Failure alerts are emailed even when this is None
</ParamField>

<ParamField path="model" type="string" default={""}>
  Optional model ID. Call tool\_docs('create\_automation') or tool\_docs('edit\_automation') to see available model IDs. User-specific BYOK model IDs in the format 'byok:your\_config\_id' are also accepted.
</ParamField>
