Switch an automation on or off
postfjord_set_automationSwitches one DM automation on (it starts answering people by itself right away) or pauses it, the same as Activate and Pause on the Automations screen. Confirm with the person you work for before switching one on. Needs a key with the Publish scope. Create one with postfjord_create_automation; editing is done in the app.
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": {
"automationId": "<automationId>",
"enabled": "<enabled>"
},
"name": "postfjord_set_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true switches it on, false pauses it. | |
| automationId | Yes | The automation id from postfjord_list_automations. |