ChatMaxima Docs

Instagram DM Messages - Agent and Bot Mode

Handle Instagram DMs in the ChatMaxima Inbox with a bot, a human agent, or both. Connect a bot, take over a chat, and hand it back to automation.

Overview

Every Instagram DM sent to your connected account lands in the ChatMaxima Inbox, next to your WhatsApp, Messenger, and web chat conversations. Each Instagram conversation runs in one of two modes: Bot Mode, where a Studio bot answers automatically, or Agent Mode, where your team replies by hand.

This guide explains how the two modes work for Instagram DMs and how to connect a bot. It also covers switching a conversation between your bot and your team, plus the Instagram messaging rules that affect your replies.

Prerequisites

Before you begin, ensure you have:

  • A connected Instagram account - Follow Instagram Setup to connect a Business or Creator account
  • A published bot in Studio - Needed only if you want Bot Mode (see Studio)
  • Inbox access - Your role must allow you to view and reply to conversations

What Arrives in the Inbox

Once your account is connected, ChatMaxima receives your Instagram messaging events and shows them in the conversation thread:

EventHow it appears
Direct messagesA new conversation, or the next message in an existing one
Story replies and message requestsDelivered as DMs to the same conversation
Photos, videos, and voice notesShown inline in the thread
ReactionsShown on the message the customer reacted to
Replies sent from the Instagram appShown as outgoing messages, so the thread stays complete

Note: Use the Instagram filter in the Inbox to see only Instagram conversations. See Inbox Filters.

Bot Mode vs Agent Mode

Bot ModeAgent Mode
Who repliesThe bot connected to the Instagram accountA member of your team
When it startsA message matches the bot's Starting Step triggerAn agent replies, or clicks Switch to Agent Mode
What the customer seesInstant automated replies, buttons, and mediaReplies typed by your team
How it endsAn agent takes overSwitch to Bot Mode, an idle conversation, or a trigger keyword

A conversation is never handled by both at once. When an agent owns a conversation, the bot stays silent until the conversation is handed back.

Step 1: Connect a Bot to Your Instagram Account

To answer Instagram DMs automatically, attach a bot to the account.

  1. Go to Settings > Channels > Instagram
  2. In Active Instagram Accounts, open the Actions dropdown for your account
  3. Click Connect a Bot
  4. Select the bot you want to use and confirm

Bots can be connected or changed anytime. If no bot is connected, every Instagram DM goes to your team in Agent Mode.

Step 2: Configure How the Bot Starts

The bot's Starting Step in Studio decides which DMs it answers.

  1. Open the bot in Studio and click the Starting Step block
  2. Choose a trigger type. Use keywords (exact match, contains, starts with, ends with) to answer only specific messages, or None to answer every new DM
  3. Set the Conversation Inactivity Timeout so idle conversations close and the next message starts the flow again
  4. Optionally add a Bot Mode Activation Message, sent to the customer when an agent hands the conversation back to the bot
  5. Save and publish the bot

Note: A customer who types a trigger keyword always restarts the bot, even in Agent Mode. Choose trigger keywords that customers will not type by accident in the middle of a conversation with your team.

Step 3: Take Over a Conversation (Agent Mode)

An agent can take a conversation away from the bot in two ways.

Reply from the Inbox

Open the conversation and send a reply. The conversation moves to Agent Mode and the bot stops answering this customer.

Switch to Agent Mode without messaging

Use this when you want the bot to stop before you have a reply ready.

  1. Open the conversation in the Inbox
  2. Click Switch to Agent Mode (the robot icon in the conversation toolbar)
  3. Confirm with Yes, Switch to Agent Mode

Nothing is sent to the customer. The bot stops replying, and your team answers the conversation from now on.

Step 4: Hand the Conversation Back (Bot Mode)

When the human part of the request is done, return the conversation to automation.

  1. Open the conversation in the Inbox
  2. Click Switch to Bot Mode (the same toolbar button, which shows the opposite action)
  3. Confirm with Yes, Switch to Bot Mode

The bot handles all incoming messages again, starting from the Starting Step. If the bot has a Bot Mode Activation Message, the customer receives it immediately.

A conversation also returns to the bot when:

  • It stays idle past the Conversation Inactivity Timeout
  • The customer types one of the bot's trigger keywords

Instagram Messaging Rules

Instagram applies a few limits that affect both bots and agents.

RuleWhat it means for you
24-hour reply windowYou can reply only within 24 hours of the customer's last message. After that, the Inbox shows a Delivery Alert and you can reply once the customer messages again
Button limitInstagram allows up to 3 buttons on a button message. ChatMaxima sends larger menus as quick replies, up to 13 options
First message after a commentWhen a conversation starts from a comment, the first DM cannot contain buttons. See Instagram DM Automation
One messaging tool per threadIf another tool also manages your Instagram DMs, Meta lets only one of them reply. See Troubleshooting below

Best Practices

  • Start with keyword triggers - Let the bot handle common questions (pricing, hours, order status) and route everything else to your team
  • Add a hand-off path in the bot - Use a Talk to Agent step so customers can ask for a human without waiting for the bot to run out of answers
  • Write a Bot Mode Activation Message - Tell customers clearly when they are back with the automated assistant
  • Reply within 24 hours - Assign Instagram conversations quickly so replies are not blocked by the reply window
  • Use private notes for context - Leave a private note before handing a conversation back, so the next agent knows what happened

Troubleshooting

The bot does not reply to Instagram DMs

  1. Confirm a bot is connected: Settings > Channels > Instagram > Actions > Connect a Bot
  2. Check the bot's Starting Step trigger. With keyword triggers, the bot answers only matching messages
  3. Check whether the conversation is in Agent Mode. If the toolbar shows Switch to Bot Mode, an agent owns it
  4. Make sure the bot is saved and published after your last change

The bot keeps answering after an agent replied

  1. Check whether the customer typed a trigger keyword, which restarts the bot by design
  2. Use Switch to Agent Mode to stop the bot explicitly
  3. Review your trigger keywords and make them more specific

Replies fail or some DMs are missing

This usually means another app (for example, another chat tool) also manages your Instagram DMs. Meta delivers each thread to one owner, and only that owner can reply.

  1. In Instagram or Meta Business Suite, open the conversation routing settings
  2. Set ChatMaxima as the app that handles your conversations, or disconnect the other tool
  3. Send a new test DM and reply from the Inbox

"The 24-hour window for this conversation has expired"

Instagram blocks replies more than 24 hours after the customer's last message. Wait for the customer to message again, then reply.

Next Steps

In questa pagina