Create an Instagram auto-reply rule
create_autoreplyCreates a rule that answers Instagram comments or direct messages containing one of its keywords, with the words given here, in the account's name. source comment (the default): each matching comment gets one public reply, picked from replies, and — if the account can message — the one private message Instagram allows per comment. source message: each matching direct message gets one answer from replies, at most once per person an hour. Whole words match, in any case. Under an autopilot credential the rule is live at once and answers real people in public; under a review-mode credential it is saved off and a person turns it on in Hub. Read the account and its posts with list_autoreplies first. Requires posts:write and posts:publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | No | The Instagram post a comment rule listens on, from list_autoreplies with posts: true. Left out: every post. | |
| source | No | What the rule answers. Defaults to comment. | |
| account | No | Username or id from list_autoreplies. May be left out when one account is connected. | |
| message | No | Comment rules only: the private message sent to the commenter, up to 1000 characters. | |
| replies | No | Reply variants, up to 300 characters each; one is picked per answer. Required for source message. | |
| keywords | Yes | Words to listen for, up to 40 characters each. |