Move people to another campaign
argorant_move_campaign_leadsMove people from this campaign into another campaign of the same workspace in one step, with their own fields (custom fields, personal lines and tags). Use it instead of an add plus a removal; to copy people without taking them out use argorant_add_campaign_leads with lead_ids and from_campaign_id. Choose them by lead_ids, addresses, tag, a CSV file or status. Only the people who landed in the other campaign leave this one. People who already got an email from this campaign stay unless the user clearly asks to move them too (include_contacted=true). The other campaign's own choice of addresses applies unless you pass grades. Always call it first with preview=true and tell the user the numbers; doing it needs confirmed=true after their clear yes. People already paid for cost nothing, and nothing is sent until the other campaign runs. 2,000 people or more move in the background, with a job_id for argorant_add_campaign_leads_status on this campaign. 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>",
"to_campaign_id": "<to_campaign_id>"
},
"name": "argorant_move_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. | |
| grades | No | ["valid"] or ["valid", "catch_all"]. Without it the other campaign's own choice applies. | |
| status | No | pending, queued, active, sent, replied, bounced, unsubscribed, failed or completed. | |
| 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 moving these people | |
| campaign_id | Yes | The campaign the people are in now. | |
| to_campaign_id | Yes | The campaign they move to. | |
| include_contacted | No | Also move people who already got an email from this campaign. Only when the user asks for it. | |
| keep_custom_fields | No | Bring the people's own fields along (default true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |