Write the campaign subsequences
argorant_set_campaign_subsequencesUse it when the user says "when someone replies interested, send them the case study" or wants their own follow-ups for different answers. It replaces a campaign's subsequences, up to 5 sets of follow-up emails that start when a reply contains a keyword. A matching person leaves the main emails and gets the first matching subsequence, in list order, in the same thread. A keyword also matches in capitals, as a plural, with a small typo or inside a short sentence; a keyword after not or no, as in not interested, never counts, quoted text is ignored, and replies asking to stop never start one. For the main emails use argorant_set_campaign_emails, and to switch one subsequence off or on argorant_set_subsequence_enabled. An empty list removes them all, and left out, enabled keeps a saved subsequence's state. The first email goes out delay_days after the reply, where 0 means the next sending window. 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>",
"subsequences": "<subsequences>"
},
"name": "argorant_set_campaign_subsequences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | The campaign's id, from argorant_list_campaigns. | |
| subsequences | Yes | The full list in order, as [{name, keywords, emails, enabled?}]. keywords holds 1 to 10 words or short phrases. emails holds 1 to 8 emails in the shape argorant_set_campaign_emails takes (subject?, body, delay_days?, same_thread?, variants?). Left out, enabled keeps a saved subsequence's state and a new one starts on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |