Automations

email_set_ab_test

Attach or clear an A/B split on a step: weighted template VERSIONS (create variant versions with email_update_template variantKey + publish them first).

write email_set_ab_test

Attach or clear an A/B split on a step: weighted template VERSIONS (create variant versions with email_update_template variantKey + publish them first). Assignment is deterministic per contact-run.

Parameters

ParameterTypeRequiredDescription
automationstringYes
positionintegerYes
variantsobject[] | nullYesnull clears the split (step reverts to the template's current version).
projectIdstringNoTarget company (project id) — required on company-scoped tools. Call email_list_projects to enumerate companies.

On this page