Skip to main content

Instagram Business Trigger

The Instagram Business trigger starts your flow when something happens on a connected Instagram account — a direct message, a comment, a mention, or a story reply. Flowera handles all the Meta webhook plumbing for you, so you just pick the account and the events you care about.

This page covers setting up the trigger inside a flow. Connecting the Instagram account itself happens once in the Channels section.

note

The Instagram account must already be connected to Flowera (via Business Login) before it appears in the account dropdown here. See the Credentials section for account connection.

Adding it to a flow

On the Start node, open Webhooks, add a webhook, and set Webhook Type to Instagram Business.

Inputs

ParameterDescriptionRequired
Webhook NameA unique name for this webhook (e.g. instagram-dm). Used in variables like {{$webhook.instagram-dm.senderId}}.Yes
Instagram AccountThe connected Instagram Business account this trigger listens to.Yes
Instagram EventsWhich events start the flow — DMs, comments, mentions, and/or story replies (see below).Yes
Auto-switch to manual mode on operator replyWhen on, a human reply from the Instagram app pauses the AI for that chat. On by default.No
Batch MessagesWhen on, a customer's rapid-fire messages are combined into one response. On by default.No

Events

Under Instagram Events you choose which activity triggers the flow. You can select more than one:

EventFires when…
Direct Messages 💬A user sends a DM to your account.
Comments 💭Someone comments on one of your posts or reels.
Mentions @A user @mentions your account.
Story Replies 📖Someone replies to one of your stories.
tip

Events already claimed by another flow on the same account are hidden here, so two flows never fight over the same event. Route DMs to one flow and comments to another by giving each its own webhook.

The event that fired is available in your flow as {{$webhook.<name>.eventType}} (message, comment, mention, or story_reply), alongside sender details like {{$webhook.<name>.senderUsername}} and the message text as {{$question}}. See Variables for the full payload.

Auto-switch to manual mode on operator reply

When a team member replies to a customer directly from the Instagram app (not the Flowera panel), Meta echoes that reply back to Flowera. With Auto-switch to manual mode on operator reply on (the default), Flowera treats that as a human taking over: it records the operator's reply and pauses the AI for that conversation so the bot doesn't talk over your team.

  • Typed text and media replies take over the session (manual mode stays on through 24 hours of inactivity).
  • Pure emoji or sticker reactions are recorded but do not pause the AI.

Turn this off only if the account is driven by your own automation outside Flowera — then operator-style messages are still recorded, but the AI keeps responding. See Manual mode for the full behavior and the $flow.manual.* variables.

Batch Messages

Customers often send several short messages in a row ("Hi" … "I have a question" … "about my order"). With Batch Messages on (the default), Flowera waits a moment, combines those into a single input, and runs the flow once — so the bot replies to the whole thought instead of each fragment. Turn it off to reply to every message the instant it arrives.

note

Batching applies to direct messages only. Comments are always handled one by one, regardless of this toggle.

Example

An Instagram DM autoresponder: webhook named instagram-dm, account @yourbrand, event Direct Messages. The flow reads {{$question}}, an Agent answers, and a Tool node with the Instagram tool sends the answer back as a DM — while a human can still jump in from the app at any time to take over.

Tips

  • Give each webhook a clear name — it's the <name> in every {{$webhook.<name>.*}} variable.
  • Use a Condition on {{$webhook.<name>.eventType}} to handle DMs, comments, and story replies differently within one flow.
  • Leave manual mode auto-switch on for human-in-the-loop teams; turn it off only for fully automated accounts.