This is preview documentation. The official release is not yet available.
Create a digest rule
The examples use Bash,curl, and jq. Set SERVICE_URL to your Service address, TOKEN to a user Bearer token, and TENANT / NAMESPACE to your authorized scope; see API authentication. Define this request helper:
AGENT_ID to the digest Agent. Create a disabled rule with both schedule and Webhook triggers, so you can inspect a test execution before enabling automatic work:
execution.runbook describes the work. Use assignee type team for a Team. Environment and tools come from the target itself. outputMode:"create_issue" retains collaborative, reviewable work; run_only exposes results through automation execution and uses automatic completion.
Save webhookSecret in the sender’s credential configuration; it is returned only on creation or rotation. Retain trigger IDs when updating the trigger collection.
Preview and test
Specify the intended time zone. Schedule preview returns the next five trigger times:/trigger without test=true. Save run.id; HTTP 202 is acceptance, not completion.
After reviewing results and artifacts, enable the current version:
expectedVersion to update the Runbook, target, or triggers. Reload on conflict. Both the rule and its relevant trigger must be enabled for automatic dispatch.
Receive an external Webhook
External systems post a JSON object or array to this URL. It authenticates withX-Automation-Secret, not a user Bearer token:
events filter accepts all event types. The payload’s event field can also specify the type. Input is appended as Trigger data, so define field meanings, material access, and missing-data handling in the Runbook.
This inbound Webhook lets external systems trigger Service work. Register a Session or Turn Webhook when your backend needs result notifications. The directions, URLs, and authentication differ. Adapt through your backend if the external sender cannot provide required headers.
Inspect results, overlap, and retries
status, waitReason, input, output, and errors; detail responses link Issues, tasks, and Artifacts. Work with review completion can still await human acceptance after computation finishes.
concurrencyPolicy:"skip" skips overlapping triggers; queue processes them in order. queueTimeoutSeconds bounds waiting and runTimeoutSeconds bounds execution; each accepts 60–604800 seconds. Disabling a rule stops future triggers. Cancel existing work through POST /api/v1/automations/{id}/runs/{runId}/cancel.
Use /runs/{runId}/rerun for another execution or /deliveries/{deliveryId}/replay to replay a delivery. Both use a new Idempotency-Key and retain lineage. Inspect the failure first because re-execution can repeat external side effects. Rotate secrets with /rotate-secret, providing expectedVersion, and update the sender.
See Console: automation and channels for configuration and execution-history UI flows.