Create Comment Automation
create_comment_automationCreate a comment→DM automation. Once created it is LIVE and will DM real people automatically, so show the user the exact dmMessage, keywords and which account it runs on, and get their approval first. Use an accountId from list_comment_automations. Instagram and Facebook only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Internal name for the automation (not shown to the public) | |
| buttons | No | URL buttons; messages with buttons allow 640 characters. Show destinations before creating. | |
| trigger | No | comment: fires on post comments. story_reply: fires on story replies | comment |
| clickTag | No | Tag contacts who click a tracked URL button; empty clears. | |
| keywords | No | Words that trigger it (max 25). Leave empty to fire on every comment | |
| accountId | Yes | The Zernio accountId from list_comment_automations | |
| dmMessage | Yes | The DM sent to whoever triggers the automation | |
| matchMode | No | exact: the comment must be exactly the keyword. contains: the keyword appears anywhere | contains |
| postTitle | No | Human-readable label for the post it is restricted to | |
| commentReply | No | Optional PUBLIC reply posted under the comment as well | |
| linkTracking | No | Track clicks on links in the DM | |
| followersOnly | No | Explicitly restrict Instagram comment buttons to known followers. Non-followers and unknowns are skipped; use plain text to reach them. | |
| alsoMatchInDms | No | Also match incoming DM keywords; comment trigger and non-empty keywords required. | |
| platformPostId | No | Restrict to one post (platform id). Omit to run account-wide on every post |