get_automation
Read one automation in full: trigger (keywords, match mode, target
posts), the public-reply and DM text, buttons, follow gate, AI brief, and
its counters (DMs sent and failed, replies received, taps, AI usage) and
stalled flag.
This is the only way to see what an automation currently says — the list_automations result is a summary. Call it before update_automation so an edit merges onto what is really there, and to answer "what does my 'price' keyword reply with?" or "is this automation actually working?".
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": {
"workspace_id": "<workspace_id>",
"automation_id": "<automation_id>"
},
"name": "get_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | ||
| automation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| stats | No | What happened after this automation ran. `dms_failed` is a send that was tried and did not land (dead token, Meta rate limit, policy rejection) — read it next to `events_received` before concluding an automation 'works'. | |
| status | Yes | ||
| ai_goal | Yes | ||
| ai_link | Yes | ||
| ai_tone | Yes | ||
| stalled | No | ||
| dms_sent | Yes | ||
| keywords | Yes | ||
| post_ids | Yes | ||
| ai_context | Yes | ||
| dm_buttons | No | ||
| post_target | Yes | ||
| ice_breakers | Yes | ||
| trigger_type | Yes | ||
| keyword_match | Yes | ||
| ask_for_follow | Yes | ||
| ai_exit_condition | Yes | ||
| follow_up_enabled | No | ||
| follow_up_message | No | ||
| dm_link_button_url | Yes | ||
| follow_gate_message | Yes | ||
| ice_breaker_replies | No | ||
| private_dm_messages | Yes | ||
| public_replies_sent | Yes | ||
| dm_link_button_label | Yes | ||
| public_reply_messages | Yes | ||
| follow_up_delay_seconds | No | ||
| ice_breakers_sync_error | No |