Get automation
get_automationReturns one automation in the editable model: a DM automation as flow (triggers and a tree of steps with refs), a comment automation as rules (conditions, actions, waitTime). Includes validation findings, all-time and 30-day performance, the per-step funnel of DM automations (sent, read, clicked, failed, waiting) and the editor URL. The returned flow or rules can be edited and passed back to the matching update operation.
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": {
"brand": "<brand>",
"automationId": "<automationId>"
},
"name": "get_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | Yes | ||
| automationId | Yes | Automation id from list_automations |