Import an auto reply template
sprkly_import_automation_templateRead an auto reply template, and optionally set it up. With no profile_id NOTHING is written: the template is checked and handed back, which is the safe first call. With a profile_id the automation is created, and it goes live when the trigger can be satisfied. A trigger that watches one post (a keyword on a post, or every comment on a post) needs post_id as well. Without one it saves as a draft that sends nothing until a post is chosen. A keyword on any post and a Profile DM need no post_id. A template that DMs every commenter on the whole account is turned off and is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | No | The published post to watch. Only for a trigger that watches one post. Leave it out for a keyword on any post or a Profile DM. | |
| template | Yes | The template, as an object or as the file text. | |
| profile_id | No | The Instagram account to set it up on. Leave this out to only check the template. |