Create a campaign (as a draft)
create_campaignLaunch outbound voice campaigns to a lead group or filter, assigning an agent and scheduling calls. Campaigns start as drafts until activated.
Instructions
Create an outbound campaign against a lead group or a filter. Starts as "draft" - call update_campaign with status:"running" to actually dial. Same trial block, concurrency cap and calling-hours narrowing as the dashboard. Needs the "campaigns" scope, and the workspace's campaigns entitlement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| agentId | Yes | The agent that places these calls. | |
| targetType | No | ||
| concurrency | No | Clamped to the plan's max concurrent calls. | |
| leadGroupId | No | Required unless targetType is "filter". | |
| scheduledAt | No | ISO datetime. Leave out to start it manually instead. | |
| retryEnabled | No | ||
| targetFilter | No | ||
| budgetCapCents | No | ||
| callingWindowEnd | No | ||
| maxRetryAttempts | No | ||
| callingWindowStart | No | HH:mm, narrowed into the legal hours for the workspace's market. |