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:
| Event | How it appears |
|---|---|
| Direct messages | A new conversation, or the next message in an existing one |
| Story replies and message requests | Delivered as DMs to the same conversation |
| Photos, videos, and voice notes | Shown inline in the thread |
| Reactions | Shown on the message the customer reacted to |
| Replies sent from the Instagram app | Shown 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 Mode | Agent Mode | |
|---|---|---|
| Who replies | The bot connected to the Instagram account | A member of your team |
| When it starts | A message matches the bot's Starting Step trigger | An agent replies, or clicks Switch to Agent Mode |
| What the customer sees | Instant automated replies, buttons, and media | Replies typed by your team |
| How it ends | An agent takes over | Switch 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.
- Go to Settings > Channels > Instagram
- In Active Instagram Accounts, open the Actions dropdown for your account
- Click Connect a Bot
- 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.
- Open the bot in Studio and click the Starting Step block
- 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
- Set the Conversation Inactivity Timeout so idle conversations close and the next message starts the flow again
- Optionally add a Bot Mode Activation Message, sent to the customer when an agent hands the conversation back to the bot
- 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.
- Open the conversation in the Inbox
- Click Switch to Agent Mode (the robot icon in the conversation toolbar)
- 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.
- Open the conversation in the Inbox
- Click Switch to Bot Mode (the same toolbar button, which shows the opposite action)
- 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.
| Rule | What it means for you |
|---|---|
| 24-hour reply window | You 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 limit | Instagram allows up to 3 buttons on a button message. ChatMaxima sends larger menus as quick replies, up to 13 options |
| First message after a comment | When a conversation starts from a comment, the first DM cannot contain buttons. See Instagram DM Automation |
| One messaging tool per thread | If 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
- Confirm a bot is connected: Settings > Channels > Instagram > Actions > Connect a Bot
- Check the bot's Starting Step trigger. With keyword triggers, the bot answers only matching messages
- Check whether the conversation is in Agent Mode. If the toolbar shows Switch to Bot Mode, an agent owns it
- Make sure the bot is saved and published after your last change
The bot keeps answering after an agent replied
- Check whether the customer typed a trigger keyword, which restarts the bot by design
- Use Switch to Agent Mode to stop the bot explicitly
- 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.
- In Instagram or Meta Business Suite, open the conversation routing settings
- Set ChatMaxima as the app that handles your conversations, or disconnect the other tool
- 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
Configuração do Instagram - Conecte DMs do Instagram ao ChatMaxima
Conecte sua conta Business ou Creator do Instagram ao ChatMaxima e gerencie DMs, respostas de stories e solicitações de mensagens do Instagram em uma só caixa de entrada.
Instagram DM Automation - Comment-to-DM Rules
Automate Instagram DMs with ChatMaxima. Turn post and reel comments into DMs using Comment Automation rules or the Instagram Comment trigger in Studio.