Reescrever as mensagens da campanha
rewrite_campaign_messagesWrites again the messages of the people of ONE campaign that are from an earlier version of its template (messagesOutdated), the "Reescrever as N" action. One run, only those people: sent messages and hand-edited ones stay, and so do the steps the template change left as they were. channels or days limit it to the steps the user named. It is refused in the same request that changed the template. Free. Nothing is sent. Returns how many were rewritten, or that the rest is still being written.
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>"
},
"name": "rewrite_campaign_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Only the steps on these days ("o passo 3" is the day of the cadence's third step); the other steps stay exactly as they are. Absent: every step. | |
| channels | No | Only these channels' steps are written again ("reescreve os e-mails" is ["email"]); the other steps stay exactly as they are. Absent: the whole cadence. | |
| campaignId | Yes | Exact campaign UUID. |