Launch LinkedIn Campaign
li_launch_campaignLaunch a created campaign. Two things happen: every already-connected prospect on it (startStage "message" — an inbound invitation you accepted, or anyone already 1st-degree) has their first message scheduled immediately — with NO check that the connection actually exists, so anyone whose invitation was not really accepted fails permanently at send time rather than waiting, and the first pending connection invite is enqueued. The worker drips later invites with humanized delays; the acceptance poller marks accepted invites, then post-acceptance messages auto-send sequentially with reply checks. THIS IS THE CONFIRM STEP for a batch ingested with launch:false — a campaign holding only already-connected people launches fine and returns messageStage.started, and no invite is ever sent to them.
MANY AT ONCE: pass campaignIds (up to 100) or namePrefix (+ sessionLabel to narrow it to one account) instead of campaignId. Without confirmLaunch it lists every matched campaign with its account, status, people and notStartedYet, and which would be refused; confirmed, each launches exactly as the single form, with its own ownership check and its own result line — one refusal does not stop the rest. A namePrefix launch also needs expectCount (the number the preview listed): without it the call only previews, and a different count refuses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | With namePrefix only: match on this account only | |
| campaignId | No | One campaign id from li_list_campaigns. Or campaignIds / namePrefix. | |
| namePrefix | No | Bulk: every campaign you can see whose name starts with this (case-insensitive, the same match as li_list_campaigns), at most 100; listed before anything is launched | |
| campaignIds | No | Bulk: up to 100 campaign ids, each launched as the single form would be | |
| expectCount | No | With namePrefix only: the number of campaigns the preview listed. Required to confirm, so nothing is launched that the preview did not show. | |
| sessionLabel | No | With namePrefix only: match on this account only | |
| confirmLaunch | Yes | Must be true to enqueue the first connection invite |