Create A/B split campaign
campaign_create_ab_variantSplit a campaign into an A/B pair so two versions of the sequence run against comparable halves of the audience. Compare them later with analytics_campaign. This SPLITS, it does not copy: the backend moves half of the not-yet-contacted leads out of the original into a new DRAFTED campaign, copies the flow, and renames the original to " [A]". The original therefore ends up with half the audience it had. It needs more than 10 leads still waiting to be contacted and refuses otherwise with "Not enough leads to do AB testing, Duplicate campaign instead!" — in which case campaign_duplicate is the backend's own suggestion. Use campaign_duplicate when the audience should be left alone, and this when the point is to compare two versions on one audience.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | Campaign id, from `campaign_list` or `campaign_create`. |