# Instagram auto-replies

We created a smart Instagram automation system that reacts to user engagement on your posts and stories — no manual work required.

<div data-with-frame="true"><figure><img src="/files/Pvyj9UjGqWRNCGU5PO8M" alt=""><figcaption></figcaption></figure></div>

Event handling—such as comments or story replies—can now be configured through an intuitive interface without creating separate function or method blocks. This reduces the number of logic chains and minimizes the risk of errors during scaling.

## Settings

Hover over the **Builder** in the left menu

<div data-with-frame="true"><figure><img src="/files/XAV60ZUVg3QjS2d2QW4I" alt="" width="375"><figcaption></figcaption></figure></div>

A dropdown menu will appear — navigate to the **Instagram** section.

If the channel hasn’t been connected yet, you’ll see a button to connect the integration.

After connecting the integration, return to the section and click Add automation

<div data-with-frame="true"><figure><img src="/files/WddzbD4zCfG2HwtvNHFp" alt="" width="365"><figcaption></figcaption></figure></div>

In the automation creation tab, you can set up auto-replies to comments under posts or to replies on stories

<div data-with-frame="true"><figure><img src="/files/Pvyj9UjGqWRNCGU5PO8M" alt=""><figcaption></figcaption></figure></div>

You can choose where to configure the social media automation — for all accounts or for a specific one

<div data-with-frame="true"><figure><img src="/files/hLs9UGZoCtkqmY2ATrqb" alt="" width="375"><figcaption></figcaption></figure></div>

Next, select the type of auto-reply:

1. Auto-reply in Direct — to automate responses when a client messages you in Direct;
2. **Auto-reply to comments** — to automatically send Direct responses to clients who comment on your posts;
3. **Auto-reply to story reaction** — to automate responses to messages clients send via your stories

<div data-with-frame="true"><figure><img src="/files/GwwcAQWp6NyUWo5uhEnl" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="warning" %}
Pay attention!

Within a single automation, you can configure only one type of reaction to user interactions on your account — either a direct message reply, a comment reply, or a story reply.

After setting up one reaction type, simply click **Save**, then go to the section and click **Add automation** again to set up another type of auto-reply.
{% endhint %}

## Auto-reply in Direct

If a client sends you a message in Direct, you can set up an auto-reply that sends a message back to the client — including a button, link, or image

<div data-with-frame="true"><figure><img src="/files/FwcfCJoaVBHlArhHqaMN" alt="" width="375"><figcaption></figcaption></figure></div>

### Bot Reaction Settings

Bot reaction settings allow you to define a trigger that activates the bot. A trigger can be anything — for example, a specific word or phrase

<div data-with-frame="true"><figure><img src="/files/ANUWygam1fgkChVHFy9Z" alt="" width="375"><figcaption></figcaption></figure></div>

If you select **Trigger to specific words** and enter keywords in the field, the bot will send an auto-reply only to those specified words and ignore all others.

The words or phrases that trigger the bot need be separated by semicolons

<div data-with-frame="true"><figure><img src="/files/7ZpvoIb6t8sGv8QA9IOk" alt=""><figcaption></figcaption></figure></div>

If you select Trigger to all words/phrases, the bot will send an auto-reply to any message users send you in Direct

<div data-with-frame="true"><figure><img src="/files/Vz0SoCTy1SuWFlJwAeEb" alt="" width="375"><figcaption></figcaption></figure></div>

### Add action

Чтобы добавить клиента в список или присвоить ему метку (либо удалить из списка и метку), нажмите "+ добавить действие" в настройках реакции

<div data-with-frame="true"><figure><img src="/files/16Y4xDgEoJhheI9DAKoU" alt="" width="375"><figcaption></figcaption></figure></div>

Next select an action

<div data-with-frame="true"><figure><img src="/files/ZhTM79TFjMKo5jjScfXL" alt="" width="375"><figcaption></figcaption></figure></div>

And select a list (tag)

<div data-with-frame="true"><figure><img src="/files/g0xqEJG7pjEjwt8N3SDt" alt="" width="375"><figcaption></figcaption></figure></div>

В зависимости от действия (добавить / удалить), ваш клиент будет добавлен в список или удален из него (аналогично с метками), если напишет вам в директ.

### Direct auto-reply settings

After configuring the bot reaction (adding trigger words/phrases, etc.), you need to set up the message that will be automatically sent to the client as a response

<div data-with-frame="true"><figure><img src="/files/xfrwJbU4Pk7G0HlrlfT7" alt=""><figcaption></figcaption></figure></div>

1. A message with a button link is **required**:

Here you can optionally add an image to be sent to your client, and you also need to enter the message text.

To add a button with a link, click **Add link**

<div data-with-frame="true"><figure><img src="/files/8meXgNPQRnvIJrRAmEm3" alt="" width="375"><figcaption></figcaption></figure></div>

Then, fill in the button text and specify the URL.&#x20;

{% hint style="warning" %}
Important!

At the moment, the option to delete a button is not available.
{% endhint %}

2. You can also set up a message with a simple button. To do this, enable the checkbox

This message will be sent **before** the message containing the button with a link.

You can see an example of how the bot works on the preview screen to the right

<div data-with-frame="true"><figure><img src="/files/QhgwsWLB8V58GGoa9BRJ" alt=""><figcaption></figcaption></figure></div>

Then click **Save** to avoid losing your settings:

<div data-with-frame="true"><figure><img src="/files/EP7u0i8aT5YuHI0uKane" alt="" width="563"><figcaption></figcaption></figure></div>

## Auto-reply to comments under post

To set up automatic replies to comments under posts, select **Auto-reply to comments under post**  in the automation settings.

<div data-with-frame="true"><figure><img src="/files/4QLn1I6057VjTmCogjDU" alt="" width="375"><figcaption></figcaption></figure></div>

Next, choose the specific post whose comments you want to respond to automatically.

<div data-with-frame="true"><figure><img src="/files/1sxiJv1v4EZz6CKgxogp" alt="" width="563"><figcaption></figcaption></figure></div>

Alternatively, check the box **Auto-reply to all posts** to enable automatic comment replies across all your posts.

### Bot reaction settings

Bot reaction settings allow you to define a trigger that activates the bot. A trigger can be anything — for example, a specific word or phrase.

<div data-with-frame="true"><figure><img src="/files/ANUWygam1fgkChVHFy9Z" alt="" width="375"><figcaption></figcaption></figure></div>

If you select **Trigger to specific words** and enter keywords in the field, the bot will send an auto-reply **only** to those specified words and ignore all others.

The words or phrases that trigger the bot need be separated by semicolons.

<div data-with-frame="true"><figure><img src="/files/9ZJHWT67HdOkyqGrHsUs" alt="" width="375"><figcaption></figcaption></figure></div>

If you select “React to all words/phrases”, the bot will send an auto-reply to any comment posted by users.

<div data-with-frame="true"><figure><img src="/files/UlyaWiWzclglvTquPVxY" alt="" width="375"><figcaption></figcaption></figure></div>

### How to add an action

{% hint style="success" %}
The **"Add actions"** settings for post comments are similar to the **"Add action"** settings in the section above.
{% endhint %}

### Auto-reply settings

You can reply to comments under posts either **with a comment** or **with a direct message (or both).**

<div data-with-frame="true"><figure><img src="/files/DYVH9kADtRZF8R1hdXZr" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="success" %}
Detailed instructions on how to configure direct message replies to comments can be found in the section above.
{% endhint %}

To set up an auto-reply as a comment, enable the **Reply as a comment** toggle.

<div data-with-frame="true"><figure><img src="/files/ZwEARg1ebFLTR5lZX4eG" alt=""><figcaption></figcaption></figure></div>

You’ll then see fields where you can enter the text for your auto-replies under posts.

<div data-with-frame="true"><figure><img src="/files/ZBEpJaOSUeN3dQsqNyv2" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="success" %}
You can add between one and four comments, which will be randomly posted in response to your clients' comments on your account.
{% endhint %}

After setting up the auto-replies for posts, don’t forget to click **Save** in the top-right corner.

<div data-with-frame="true"><figure><img src="/files/2UsyUB6PLbldLJzdDZx3" alt=""><figcaption></figcaption></figure></div>

## Auto-reply to story messages

To set up auto-replies to story messages, select **Auto-reply to story reactions**:

<div data-with-frame="true"><figure><img src="/files/VT6VMEVrzK8rICMdJSVI" alt="" width="375"><figcaption></figcaption></figure></div>

Next, choose a specific story or select **All stories** to enable auto-replies for all of them:

<div data-with-frame="true"><figure><img src="/files/gEBx9yZiCqltxX5TsqGP" alt="" width="375"><figcaption></figcaption></figure></div>

### Bot reaction settings

Bot reaction settings allow you to define a trigger that activates the bot. A trigger can be anything — for example, a specific word or phrase.

<div data-with-frame="true"><figure><img src="/files/ANUWygam1fgkChVHFy9Z" alt="" width="375"><figcaption></figcaption></figure></div>

If you select **Trigger to specific words** and enter keywords in the field, the bot will send an auto-reply **only** to those specified words and ignore all others.

The words or phrases that trigger the bot need be separated by semicolons.

<div data-with-frame="true"><figure><img src="/files/0rXEEUmbERVb51zC7IRj" alt="" width="375"><figcaption></figcaption></figure></div>

If you select “Trigger on any words/phrases”, the bot will send an auto-reply to any comment posted by users.

<div data-with-frame="true"><figure><img src="/files/UlyaWiWzclglvTquPVxY" alt="" width="375"><figcaption></figcaption></figure></div>

#### Auto-reply in Direct

{% hint style="success" %}
More details on setting up direct message auto-replies can be found in the section above.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.mavibot.ai/chatbot/quick_automation/instagram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
