Get one DM automation
postkey_get_automationPostkey: Gets one DM automation in full: its status, made_with, what starts it, the Instagram accounts it runs on, whether only followers get the link (followers_only), whether it has changes that are not published yet, its messages in order and, for a Quick form, its keywords, link and message texts. Each message has a step number: postkey_update_automation messages uses it to rewrite a Flow Builder automation's words. Use it before postkey_update_automation or postkey_publish_automation. Results are in postkey_get_automation_stats. An unknown id is refused not_found. An X reply automation also has replies_preview, daily_ceiling and x_status. A DM one also has delivery and dms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | Yes | The automation id (a UUID) from postkey_list_automations or postkey_create_automation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false: refused (isError; code, message, guide_topic, url); no change. | |
| automation | No | The list fields plus runs_on (instagram, status), followers_only, messages (step, kind, says, buttons, cards) and, for a Quick form, quick_form (keywords, opening_message, link_message, link_url). |