Change an automation
update_automationOn one site of the account, named in site. A new name, the trigger's newsletter or label, or the conditions (given, they replace all of them; {} removes them). The trigger itself stays: a new trigger is a new automation. While the automation is on, a member on the way who no longer matches gets no more of its emails: say so to the person first.
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": {
"site": "<site>",
"automation": "<automation>"
},
"name": "update_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| site | Yes | The site to work on, as list_sites names it | |
| label | No | For label.added: the label's name | |
| automation | Yes | The automation's id, or its name in any case | |
| conditions | No | Who of the trigger's members get it, every part a must; given, it replaces all the conditions; {} removes them | |
| newsletter | No | For newsletter.joined: the newsletter's name |