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). Org-scoped tokens only; call email_list_projects first.

On this page