> 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 an Instagram Template

#### If you want an explanation about the different Message Templates, check the following article:

{% 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 you can create and/or edit existing templates.

<figure><img src="/files/277469f176550e3a7c12d5d587b54136def55f4c" alt=""><figcaption><p><em>Settings dropdown 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 checked. When finished, click 'Save changes'.

<figure><img src="/files/3d2b00881c4b5c9d9dccb1633c83a17a9805b3bc" 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 just one post; to do this, simply click the robot icon on the post, as illustrated in the image below.

<figure><img src="/files/bf7a13b0571d9f14af3bc6b2fd74b993540de878" 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, put a default message in case it is not possible to send that template — like a backup message. Save the changes with the 'Published' option active and it's finished.&#x20;

<figure><img src="/files/e7a44402bb49cf90e3eef9cd275599a60c94490c" 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 relevant post, the Instagram template will be sent. It will appear similarly in the Lead's direct message as follows:

<figure><img src="/files/f126627a61f7dfbec67c43344ae372f86d4afd62" alt="" width="375"><figcaption><p><em>Message Template.</em></p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/attract/social-manager/social-manager-automation-for-sending-instagram-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
