Add leads to a campaign
add_leadsAdd 1-100 leads to a campaign (call again for more). Each is deduplicated by email within the campaign; malformed addresses are counted as invalid. Set skipIfInOtherCampaigns to also skip emails already in another campaign (counted as inOtherCampaigns). Emails that would be new contacts beyond the fair use of contact storage are skipped and counted as overStorageLimit. A person who already exists in Contacts is added too; mode decides their details, which all their campaigns share: fill_empty (default) fills only empty fields, overwrite replaces fields with the values sent, skip leaves them. An empty value never erases a field, and tags are always added to the person's (never removed).
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": {
"campaignId": "<campaignId>",
"leads": "<leads>"
},
"name": "add_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| leads | Yes | ||
| campaignId | Yes | Campaign id (UUID). | |
| skipIfInOtherCampaigns | No | Skip emails that already exist in another campaign of the workspace. Default false. |