Skip to content

Read Automation

Tool name: get-automation

Reads an automation graph with stable action IDs, revision, status, validation findings and editor URL. The findings are those of validate-automation. Sends and activates nothing.

Input schema

automationIdinteger, >= 1required
accountIdnull or integer, >= 1
Default:null
Input example
{ "automationId": 1, "accountId": null }

Output schema

automationIdintegerrequired
namestringrequired
revisionstringrequired
statusstringrequired
editorUrlstringrequired
graphobjectrequired
findingsArray of objectsrequired
editablebooleanrequired
dryRunbooleanrequired
settingsArray of any or objectrequired
splitTestsArray of objectsrequired
Output example
{ "automationId": 0, "name": "string", "revision": "string", "status": "string", "editorUrl": "string", "graph": { "start": 0, "goals": [ 0 ], "states": [ { "id": 0, "type": "string", "next": 0, "nextNo": 0 } ] }, "findings": [ { "actionId": 0, "code": "string", "message": "string", "warning": true, "variantId": 0 } ], "editable": true, "dryRun": true, "settings": {}, "splitTests": [ { "actionId": 0, "id": 0, "missing": true, "revision": "string", "durationSeconds": 0, "started": 0, "finished": 0, "winnerIndex": 0, "variants": [ { "kind": "string", "entityId": 0, "weight": 0, "goalTagId": 0, "contactCount": 0, "conversionCount": 0 } ] } ] }