Skip to main content

Create automation

Notifier configuration is separate from automation creation. Use the notification/notifier settings or /notifiers/* endpoints.

Idempotent creation

Every standalone POST /automations request must include a stable semantic idempotency_key and idempotency_scope: "global". Reuse that exact key only to retry an ambiguous create. If an automation with that key already exists, inspect it and use PATCH /automations/{task_id} for changes; do not create a versioned replacement key. Deleting the automation releases its global key, allowing the same job to be recreated without renaming the key.

Trigger options

Scheduled:
Interval:
Event-driven:
Idle:
Count:

Multiple and message triggers

Pass a triggers array to combine triggers with OR logic. Each item uses type, not the top-level trigger_type field:
Slack message triggers also use triggers. Supply channel names; Arden resolves and stores stable Slack IDs when it saves the automation.

Tool scoping and approval

tool_scope names the contract an automation’s runs execute under. It accepts exactly two values: auto_approve=true skips per-run approvals for tools the scope already grants and never expands it.
A wiki-writing prompt should list the target directory before creating a page, and read the exact path before editing one. The backend protects a fresh read from being overwritten; on a write conflict, list/read again before retrying. Ordinary automation pages belong under automations/. wiki_publish_generated is separate: use it only for a section owned by that automation. Responses also carry tool_scope_label, a rendering of what the scope actually grants (for example read | wiki_create_page | wiki_edit_page). It is informational — the server owns the wording. Arden’s own custodians and workers run under finer contracts assigned in code (area_observe, wiki_producer, daily_notes, and others). Those names appear in tool_scope on read, but the API will not accept them on create or update.

List automations

Get automation

Update automation

Toggle enable/disable

Toggle auto-approve

Allow a headless automation to skip per-call approval for mutating/external tools its tool_scope already grants. This setting does not widen the scope:
The response includes the updated auto_approve value.

Run immediately

Runs and events

Delete automation

Loops

Loops run repeatedly in an existing chat and stop when their condition is met. They do not create a separate automation channel.