Set up an automation
sprkly_create_automation_from_templateSet up one ready-made automation on one Instagram account and turn it on. This is the same as Go live in the app. It starts replying to real people right away, so show the user the template, the account, the word and the link first. Pass template_id from sprkly_list_automation_templates and profile_id from sprkly_list_profiles. If asks_for has post, pass post_id: a published Instagram post on that account. If it does not, leave post_id out. If asks_for has link, pass a full https link. keyword is optional and defaults to the template's word. message is optional and replaces the DM, or the public reply on a template that only replies in the comments. The coupon template is refused until message holds the real code instead of YOUR-CODE. Use sprkly_pause_automation to stop it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | The https link the DM sends. Only when the template asks for a link. | |
| keyword | No | The word people comment or send. Defaults to the template's word. | |
| message | No | Your own words for the DM, or for the public reply on a reply-only template. | |
| post_id | No | The published Instagram post to watch. Only when the template asks for a post. | |
| profile_id | Yes | The Instagram account to set it up on. | |
| template_id | Yes | The template id from sprkly_list_automation_templates. |