Skip to content
FlexiPedia logo

Instagram Reaction Trigger

Unlock the full potential of your Instagram interactions with the Instagram Reaction Trigger in Flexito OmniAI. This guide walks you through setting up a seamless process to capture, analyse, and respond to user reactions, enhancing engagement and personalisation in your communic

Flexito OmniAI
Beginnerv5
Read in:

Listen to an audio overview

A short, AI-generated podcast-style summary of this article.

Unlock the full potential of your Instagram interactions with the Instagram Reaction Trigger in Flexito OmniAI. This guide walks you through setting up a seamless process to capture, analyse, and respond to user reactions, enhancing engagement and personalisation in your communication strategy.

This guide will walk you through setting up and using the Instagram Reaction Trigger in Flexito OmniAI. Follow the step-by-step instructions below to get started.

Step 1: Set Up a New Trigger

To begin, access the Triggers section within your bot in Flexito OmniAI:

  1. Navigate to Automations on the left sidebar.

  2. Choose Triggers from the list of options.

  3. Click the New Trigger button in the top-right corner.

  4. Select Instagram Reaction from the list of trigger options.

Step 2: Set Up the Instagram Reaction Trigger

In the Trigger Configuration window, follow these steps:

  1. Give your trigger a descriptive name, such as Instagram Reaction Trigger.

  2. For Save content to a user field, select or create a new Custom User Field to store the reaction data.

  3. To create a new user field:

  4. Click the + Create New Field button.

  5. Name the field (e.g., Instagram Reaction Payload).

  6. Choose JSON as the field type.

  7. Save the new field.

  8. Optionally, add tags or notes for better organisation.

  9. Ensure the Trigger Activation Toggle is set to Activated (green).

  10. Click Save to complete the configuration.

Step 3: Connect or Create a Flow for Reactions

Once the Instagram Reaction Trigger is configured, you can:

  • Connect to an existing flow: If you have a flow ready to handle Instagram reactions, link it to the trigger.

  • Create a new flow: If you don't have one, you can create a flow specifically to process the reactions.

Design your flow to capture and process the reaction data stored in the custom user field. This might include:

  • Identifying the type of reaction.

  • Sending a personalised message to the user.

  • Logging the reaction for analytics or reporting purposes.

Step 4: Learn About Payload Integration in Message Nodes

When building your flow, use the Custom User Field that contains the reaction payload. The screenshots provided show:

  • Where to find the Custom User Field (e.g., Instagram Reaction Payload) within a Node.

  • How to access and integrate the reaction data in JSON format into your message content.

This enables you to dynamically reference the reaction data within the flow.

Step 5: See the Payload in Action

The screenshots also provide an example of a reaction being triggered during a live chat conversation:

  • You will see the reaction stored in the Custom User Field with a clear payload structure, including:

  • The message ID of the reacted message.

  • The reaction itself (e.g., 👍 or ❤️).

This example illustrates the data format and how it can be utilised to identify and process the reaction in your flow.

Step 6: Develop a Custom Flow for Reactions

With this knowledge, you can now build or adjust your flow to:

  • Identify the type of reaction.

  • Trigger specific responses or actions based on the reaction type.

  • Manage user engagement in a way that suits your business objectives.

The Flow Builder in Flexito OmniAI offers the flexibility to design a process that meets your specific needs.

By following these steps, you can effectively use the Instagram Reaction Trigger to capture, interpret, and respond to user reactions, creating a personalised and engaging experience.

Additional Guide: Retrieving Message Content with the Bot User API Node

Step 1: Incorporate a Bot User API Node into Your Flow

  1. Open the Flow Builder in Flexito OmniAI.

  2. Drag and drop the Action Node into your flow and proceed to Advanced Actions.

  1. In Advanced Actions, select Bot User API.

Step 2: Set Up the Bot User API Node

  1. Action Type: Choose Get Chat Messages.

  1. Complete the necessary fields:

  • Bot User Ns (Test Only): Input the test User Ns (e.g., f79795u1718...).

  • Message Id: Enter the test Message Id (e.g., wamid.HBgMTN...). Later, replace this static value with a Custom Field containing the dynamic Message ID.

Step 3: Handle the API Response

  1. Test the Request:

  2. Click Test Request to retrieve the JSON response with the message data. The system will return the message content in JSON format.

  3. Mapping the Data:

In the Sample Data section, identify the desired value from the JSON response. For example:

Use the JSON Path to access the specific field and save the message text in a custom field.

  1. Save the Result in a Custom Field:

  2. In the Map Response to Custom Field field, select or create a Custom Field to store the result (e.g., Message_content).

  3. Enter the JSON Path and click Add to confirm.

  4. Optionally, define a Fallback Value if the JSON does not return the expected data.

  5. Replace the Message Id with a Dynamic Variable:

  6. After testing and successfully mapping the JSON, replace the static Message Id field with a Custom Field that dynamically stores the Message ID.

  7. Example: {{Message_ID}}.

  8. Save Your Configuration:

  9. Click Save to complete the setup.

Outcome:

With this setup, the message text will be saved in the designated Custom Field, allowing you to use this data in other nodes or messages within the flow.

If you experience any issues, please submit a ticket to (mailto:).