campaigns_autopilot_run
Forces one autopilot tick: works out how far this campaign is from filling today's quota, restarts enrichment chains that stalled upstream, and pulls fresh prospects from the saved searches feeding its segment.
dry_run defaults to true — the response is identical but nothing is written and no connects are spent. Pass dry_run=false to actually acquire. A live run charges ADD_LEAD_FROM_DISCOVERY per new lead plus whatever the upstream enrichment chain costs, so check billing_balance first.
Enrichment is asynchronous: reconciled[].task_sqids are jobs to poll with jobs_get, and leads pulled now reach the campaign only once their chain and its qualification finish.
Never enables anything on the user's behalf — a paused saved search or a disabled qualification comes back in blockers. Note a saved search's is_enabled is irrelevant here: it gates the hourly scheduled run only. Set its add_limit to 0 to stop autopilot pulling from it.
Typical flow: campaigns_pipeline to see the blockers, fix them, run this with dry_run=true to check the plan, then dry_run=false. Autopilot does all of this by itself every 10 minutes when is_autopilot_enabled is set.
Method: POST /api/v1/workspaces/{workspace_sqid}/campaigns/{sqid}/autopilot-run/
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sqid": "<sqid>"
},
"name": "campaigns_autopilot_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sqid | Yes | ||
| dry_run | No | **Defaults to true.** A dry run returns the identical payload having written nothing and spent no connects. Pass false to actually acquire leads. | |
| max_pull | No | Cap this pass below the configured per-tick ceiling. |