Automations
Event-triggered sequences: steps, A/B, status, runs, metrics, pre-launch checks.
email_create_automation
WRITE — Create an event-triggered automation (welcome, weekly engagement, win-back).
email_update_automation
WRITE — Update an automation's trigger, filter, priority, exit event, or name.
email_add_automation_steps
WRITE — Append steps to the END of an automation or one of a branch's lanes (allowed while active — in-flight runs are unaffected and will continue into the new steps).
email_update_automation_step
WRITE — Edit one step by position.
email_sync_automation_step_props
WRITE — Bulk-set props_overrides across many SEND steps in one call, addressed by position — the write side of a content pipeline that generates per-edition props (e.g.
email_move_automation_step
WRITE — Swap a step with its LANE neighbor (direction 'up' = earlier, 'down' = later; moves never cross lanes).
email_remove_automation_step
WRITE — Remove a step by position.
email_list_automations
READ — List the company's automations with status, trigger, and step count.
email_get_automation
READ — Full automation detail: config + ordered steps + run counts per status.
email_set_automation_status
WRITE — Enable or pause an automation — an explicit human decision you relay, never originate.
email_backfill_missed_enrollments
WRITE — Enroll the contacts who qualified while an automation was PAUSED.
email_list_automation_runs
READ — Per-contact runs of an automation: state, current step, next send time.
email_get_automation_metrics
READ — Per-step and per-variant funnel for an automation: sent, delivered, opened, clicked, bounced (from message + event data).
email_preview_automation
WRITE — Dry-run the automation: render every send step with a sample contact (its example props ⊕ any props you pass) and return subject + text (+ html on request) and a 15-minute previewUrl per email (anyone with the link can view it), plus the humanized timeline.
email_set_ab_test
WRITE — Attach or clear an A/B split on a step: weighted template VERSIONS (create variant versions with email_update_template variantKey + publish them first).
email_duplicate_automation
WRITE — Clone an automation and all its steps into a new PAUSED automation (delays, prop overrides, A/B variants, send windows preserved).
email_pre_launch_check
READ — Read-only pre-launch checklist for an automation: templates published, verified sending domain, whether the trigger event has ever fired.
email_delete_automation
WRITE — Archive an automation (paused only; running contacts' runs are canceled).