> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/attract/social-manager/social-manager-automation-for-sending-instagram-template.md).

# Social Manager - Automation for sending Instagram Template

How to create an automation in Social Manager to trigger an Instagram template when receiving comments on a post

#### If you want an explanation of the different Message Templates, check out the article below:

{% content-ref url="/pages/90de4882d7fa1991a83bd286a5918053fa3cd853" %}
[Broken mention](broken://pages/90de4882d7fa1991a83bd286a5918053fa3cd853)
{% endcontent-ref %}

## Creating an Instagram Template

In the upper-right corner, you can find the 'Message Templates' option. By clicking it, we can create and/or edit existing templates.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FN27gMR0CnzRSm7v0FeU1%2F1.png?alt=media&amp;token=85f869e1-37de-4613-a24e-31356f947f55" alt=""><figcaption><p><em>Settings drop-down menu.</em></p></figcaption></figure>

## Message Settings

For this example, a text is being created followed by two buttons, one that redirects the Lead to a link, and another that does not redirect. The title was set and the 'Instagram button template' option was selected. When finished, click on 'Save changes'.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F7onwC7LNCnV6tevoEGBP%2F2.png?alt=media&amp;token=5941c1e8-b9a5-4771-a923-7d236d47cfa1" alt=""><figcaption><p><em>Configuring template message.</em></p></figcaption></figure>

## Creating an Automation for a Post

It is possible to create an automation that works for only one post; to do so, simply click the robot icon on the post, as shown in the image below.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FrmnnPIGBANuhYRk6ivdx%2F3.png?alt=media&amp;token=149a8346-6eac-42de-9e8f-6913a1f55f8f" alt=""><figcaption><p><em>Post in Social Manager.</em></p></figcaption></figure>

## Editing Automation

In the 'Direct Message' selector field, choose the desired template, and then, in the text field below, enter a standard message in case that template cannot be sent — as a backup message. Save the changes with the 'Published' option enabled, and it is finished.&#x20;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FUMvEppyXDBXXOc2JEfNc%2F4.png?alt=media&amp;token=1ba74897-79c6-4210-8a46-899bdb272a1f" alt=""><figcaption><p><em>Editing automation.</em></p></figcaption></figure>

{% hint style="info" %}
The specific Social Manager automation runs only once per Lead, for each post.
{% endhint %}

## Receiving Message with Button

When a comment is posted on the publication in question, the Instagram template will be sent. It will appear similarly in the Lead's direct messages as follows:

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FPuqXPT2M7KEtwDLeJHwJ%2FScreenshot_20240917-145129-940.png?alt=media&amp;token=75f98ff1-1842-481f-b0a1-a7c512c510f1" alt="" width="375"><figcaption><p><em>Message Template.</em></p></figcaption></figure>
