Build chosen setup campaigns
build_campaignsBuild the setup campaigns the customer picked from plan_campaigns as Plays with draft messages that send nothing. Pass their keys and the plan's setupRevision as expectedRevision; a setup that changed since the plan was read is refused, so read the plan again. Building ends the setup questions. Afterwards show each campaign's audience and every draft message in full, approve a Sequence only after the customer approves that exact revision, and ask for LinkedIn, email or billing only when a campaign is ready. Never approves a sequence or contacts anyone. Only a workspace owner or admin's connection may use it. Returns each built campaign with its Play, sequence review link or setup link.
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": {
"keys": "<keys>",
"expectedRevision": "<expectedRevision>"
},
"name": "build_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Campaign keys the customer picked, from plan_campaigns. | |
| workspaceId | No | A teammate's workspace you may manage: an active workspace ID from list_team_workspaces. Omit for your own workspace. Supply on every call for a teammate. | |
| expectedRevision | Yes | setupRevision from plan_campaigns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | One entry per requested campaign: what was built or why not. | |
| nextStep | Yes | What to show and ask next. | |
| contacted | Yes | Always false. |