Update an automation
Partially update an automation.
Partial update on an existing automation. Only the fields you include in the request body are changed. You can modifyDocumentation Index
Fetch the complete documentation index at: https://docs.scrip.dev/llms.txt
Use this file to discover all available pages before exploring further.
name, description, event_name, payload, status, scheduling fields (cron_expression, timezone, trigger_at, schedule_config), and filter fields (participant_filter, guard_condition, filter_hints).
Set status to paused to temporarily stop the automation from firing. Set it back to active to re-enable it. Pausing does not affect any in-progress fan-out; it prevents future triggers from starting.
Authorizations
API key passed in the X-API-Key header.
Path Parameters
Program ID
Automation ID
Body
Fields to update
Updated cron expression (cron trigger only)
Human-readable description
Updated event name (1-255 chars)
1 - 255Updated optimization hints for the participant filter
Updated CEL guard condition evaluated at trigger time
Human-readable label (1-255 chars)
1 - 255Updated CEL expression for participant enrollment
Updated custom data included in the generated event
Updated schedule configuration (participant_state trigger only)
Set to active or paused
active, paused Updated IANA timezone for schedule evaluation
Updated fire time (one_time trigger only, RFC 3339)
Response
Updated automation
When this automation was created
Cron expression defining the recurring schedule (cron trigger only)
Optional human-readable description of what this automation does
Error message if the one-time automation failed
The event name generated when this automation fires
When the current fan-out execution completed
Error message if the fan-out execution failed
When the current fan-out execution started
Current fan-out execution state: idle, pending, executing, completed, or failed (participant-scoped only)
Optimization hints for the participant filter (e.g., has_tag, has_attribute, has_counter)
CEL expression evaluated at trigger time; skips the participant if false
Unique identifier for this automation
Error message from the most recent cron execution, if any (cron trigger only)
When participant filters were last evaluated (participant_state trigger only)
When this automation last fired (cron trigger only)
Human-readable label for this automation
When this automation will next fire (cron trigger only)
CEL expression that determines which participants are enrolled
Target participant for program-scoped one-time automations
Participants processed so far in the current fan-out run
Total participants to process in the current fan-out run
Custom data included in the generated event
When this one-time automation was processed
The program this automation belongs to
Configuration for the schedule type (participant_state trigger only)
How participant subscriptions are scheduled: ATTRIBUTE_DATE, INTERVAL, CRON, or THRESHOLD (participant_state trigger only)
Whether the automation fires once at the program level or fans out per participant: program or participants
How this automation was created: api or rule_action
Current state: active, paused, completed, failed, or archived
IANA timezone used for scheduling (e.g., America/New_York)
When this automation is scheduled to fire (one_time trigger only, RFC 3339)
How this automation is triggered: cron, one_time, participant_state, or immediate
When this automation was last updated