Turn on DM automation
activate_automationTurn an automation on, or arm it for the account's next post.
On a post: it answers new comments from now on. Comments made before, including while it was paused, are never answered.
Without a post (created without provider_media_id): it is armed,
status: waiting. It binds to the first post the account publishes after this call, when that post gets its first comment (that comment is answered too), and turnsactive; if that post already has an automation with the same keyword, it goes back to draft instead. Arming is a paid feature, one armed automation per account.Active and armed automations count toward the plan's limit; paused and draft ones do not. Its page, and every page its buttons open, must be published.
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": {
"automation_id": "<automation_id>"
},
"name": "activate_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | Yes | Automation id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||