Turn a flow on or off
set_automation_activeEnable or disable an automation flow. Enabling it makes the connected account answer automatically, as the flow says, to the people who trigger it (a message, a comment, a keyword): review it with preview_automation and confirm with the user first. Disabling it stops the bot answering through that flow immediately.
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": {
"flowId": "<flowId>",
"active": "<active>"
},
"name": "set_automation_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | ||
| flowId | Yes | ||
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |