email_preview_automation
Dry-run the sequence: render every send step with a sample contact (its example props ⊕ any props you pass) and return subject + text (+ html on request), plus the humanized timeline.
read email_preview_automation
Dry-run the sequence: render every send step with a sample contact (its example props ⊕ any props you pass) and return subject + text (+ html on request), plus the humanized timeline. No side effects, nothing sent — this is how you show a human what a sequence will actually look like before enabling it.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
automation | string | Yes | |
includeHtml | boolean | No | Include rendered HTML per step (larger output); subject+text otherwise. |
props | object | No | Sample props merged over each step's example props. |
projectId | string | No | Target company (project id). Org-scoped tokens only; call email_list_projects first. |
get_automation_metricsread
Per-step and per-variant funnel for an automation: sent, delivered, opened, clicked, bounced (from message + event data).
set_ab_testwrite
Attach or clear an A/B split on a step: weighted template VERSIONS (create variant versions with email_update_template variantKey + publish them first).