Manage A/B Variants
Manages A/B variants for a specific campaign step. Use action='list' to see variants, 'add' to create a new arm (label plus message_template, with limits split evenly), or 'remove' to retire an arm so enrolled leads fall back to the base template. Target the pre-send sequence or the post-acceptance follow-up step array. Fails if the campaign or step is not found.
Example prompt: Add variant B to step 0 of gtm-engineers-apr26 with a more casual opener
{
"campaign_id": "gtm-engineers-apr26",
"step_index": 0,
"action": "add",
"variants": ["A", "B"]
}What you can build
Parameters
Inputs accepted by manage_variants.
| Name | Type | Description |
|---|---|---|
| campaign_id | string | Campaign slug (e.g. 'gtm-engineers-apr26'). |
| action | "list" | "add" | "remove" | 'list' returns all variants for the step; 'add' adds a new variant; 'remove' retires a variant arm (requires label). |
| step_index | number | 0-based index of the sequence step to manage variants for. Required: matches REST path /campaigns/{campaign_id}/steps/{step_index}/variants. |
| label | string | Required for action='add'. Short label for the variant (e.g. 'B'). |
| message_template | string | Required for action='add'. Message template text for this variant. Supports {first_name}, {company}, etc. |
| subject | string | Optional for action='add'. Subject line for InMail steps. |
| target | "sequence" | "follow_up" | Which step array to target. 'sequence' (default) = pre-send. 'follow_up' = post-acceptance. |
Related tools
Get Campaign Variant Stats
Compare per-variant campaign performance with sent, accepted, replied, and positive-reply rates for each step and message arm.
Manage Campaign Outreach
Set up, pause, or resume LinkedIn campaign outreach. Configure warmup, invite, and follow-up steps with daily invite limits and an invite note template.
Manage Campaign Senders
List, add, or remove sender accounts on a LinkedIn campaign. Round-robin distribution splits daily limits evenly across every sender in the pool.
The complete LinkedIn API. Ready when you are.
Connect your first LinkedIn profile in under 5 minutes. Every tool, every seat, no feature gates. Safe limits, warm-up, and full permission control built in.