On this page

On this page

Automation

Automations

Automations are OpenClaw's built-in scheduler. The scheduler persists jobs, wakes the agent at the right time, and can deliver output to a chat channel, a webhook, or nowhere.

Manage automations with the openclaw automations CLI; openclaw cron remains an alias for the same commands.

Quick start

  • Add a one-shot reminder

    bash
    openclaw automations create "2027-02-01T16:00:00Z" \  --name "Reminder" \  --session main \  --system-event "Reminder: check the automations docs draft" \  --wake now \  --delete-after-run
  • Check your jobs

    bash
    openclaw automations listopenclaw automations get <job-id>openclaw automations show <job-id>
  • See run history

    bash
    openclaw automations runs <job-id>
  • Where each section moved

    This page is an index. Each section below moved to a child page, and every anchor from the single-page version still resolves here.

    Runtime model and promotion

    How automations work — Runtime model, run lifecycle, and job promotion.

    Schedule and trigger sections

    Automation schedules — Schedule kinds, cron rules, pacing, and condition watchers.

    Payload and execution sections

    Automation payloads — Payload kinds, agent-turn flags, and session execution styles.

    Delivery sections

    Automation delivery — Delivery modes, failure notifications, and output language.

    Management and configuration sections

    Manage automations — CLI examples, management commands, run history, and config keys.

    Inbound webhook sections

    Inbound webhooks — Gateway HTTP hooks for external callers.

    Gmail sections

    Gmail PubSub triggers — Gmail inbox triggers through Google Pub/Sub.

    Troubleshooting sections

    Automation troubleshooting — Command ladder and common automation failure shapes.

    Per-job Access

    Agent-turn jobs accept optional cyberAccessProgram: standard, daybreak_blue, or daybreak_red. Use openclaw automations add --access standard to pin a job to Standard, or openclaw automations edit <jobId> --access daybreak_blue. --clear-access (or an update patch with cyberAccessProgram: null) removes the override. Jobs without the field keep their existing selection behavior. The choice is reported in full and compact job reads and does not change the conversation's saved Access. Current role, account, model, and runtime grants still apply when the job runs; saving a choice does not grant access. OpenAI CLI runtimes reject explicit Daybreak because they cannot honor that choice; select Standard or use the OpenClaw or native Codex runtime.

    Jobs with explicit Access persist with a private accessAgentTurn payload kind. Readers from before this feature reject that unknown kind and quarantine the job instead of silently inheriting a different Access selection. Clearing the override writes the ordinary agentTurn form again. Jobs without Access keep their stored shape. This follows the existing command-schedule envelope and adds no SQL migration.

    After a downgrade, restore a supporting version to recover quarantined definitions; older versions cannot run or edit them as ordinary agent turns. This guard covers stores written by this version. It cannot protect exported definitions manually rewritten as agentTurn, or copies written before this safeguard was introduced.

    Was this useful?