Write the campaign subsequences
argorant_set_campaign_subsequencesReplace a campaign's subsequences, the follow-up emails that start when a reply contains a keyword (up to 5). Use it for replies such as interested or send pricing that should get their own emails. For the main emails use argorant_set_campaign_emails, and to turn one subsequence off or on by itself use argorant_set_subsequence_enabled. When a reply matches, that 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, so interested matches Interested!, intrested and very interested, but never interesting. A keyword after not or no, as in not interested, never counts, quoted text in a reply is ignored, and replies asking to stop never start one. An empty list removes them all. The first email goes out delay_days after the reply, where 0 means the next sending window, with the subject 'Re: {{thread_subject}}' unless you set one. 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 |