# How to manually set up reactions to stories

When someone sends a reaction or comment in response to your story, a message appears in the Clients section:

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

First comes the message that was sent (or emoji)

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

Then the link to the story.

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

If you want your bot to respond to any reaction to a specific story, you need to copy the part of the link up to the `&` symbol.

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

Go to the **Builder** section and create a **Start** block or a **Trigger** block. In the **Trigger** field, paste the copied text, and in the **Response** field, enter the text that will be sent via Direct Message.

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

If you need to configure a response to a specific word, add that word before the copied link. Enter the desired response text in the **Response** field.

If you need to set up identical reactions for any of your stories, copy the relevant part of the link and then configure the block as described above.

### Callback for a story avatar reaction

Recently, Instagram introduced the ability to use not only emojis but also an avatar as a reaction to stories:

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

In this case, the `instagram_reaction_to_story` callback will be received.

This requires the following settings to be enabled for your Instagram bot's channels:

* The ability to receive story reply links
* The ability to receive comments

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

Then the callback will contain a link:

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

## Reaction to a mention in a story

When you're mentioned in stories, you get a callback like

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

where a link is the link to the story you have mentioned.&#x20;

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

To set up responses to story mentions, go to the **Funnels** section and create a **Start** or **Fallback** block. In the **"Trigger"** field, enter **"A mention in history"**, and in the response field, write the text that will be sent via Direct Message.

You can also include images or links with the text (for example, to offer a bonus for mentioning your account).

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

Then, after being mentioned in the story, the user will receive a message.


---

# 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/messengers/instagram/settings/how-to-manually-set-up-reactions-to-stories.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.
