Bring people back into a campaign
argorant_restore_campaign_leadsBring back people who were taken out of a campaign and never got an email, by lead_ids, addresses, tag, a CSV file (up to 100,000) or all_removed=true. Use it to undo a removal; to add new people use argorant_add_campaign_leads. Always call it first with preview=true and tell the user how many would come back and how many stay out. People who were emailed, replied, bounced, unsubscribed or are blocked never come back. The ones who come back wait for the first email, and nothing is sent until the campaign runs. Doing it needs confirmed=true after the user's clear yes. 2,000 people or more come back in the background, with a job_id for argorant_add_campaign_leads_status. More in the docs at https://docs.argorant.com/docs/agents/tools#campaigns
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": {
"campaign_id": "<campaign_id>"
},
"name": "argorant_restore_campaign_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Everyone who carries this tag. | |
| file | No | CSV text of lead ids or email addresses, up to 100,000. | |
| emails | No | The people's email addresses. | |
| preview | No | Set it to true to only count, without changing anything. | |
| lead_ids | No | Ids from argorant_list_campaign_leads. | |
| confirmed | No | true only after the user's clear yes to bringing these people back | |
| all_removed | No | Everyone taken out of this campaign who was never emailed. | |
| campaign_id | Yes | The campaign's id, from argorant_list_campaigns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |