How to set up an Instagram bot
An Instagram bot in SMSBAT Omni is an automation layer on top of an Instagram account that is already connected through Meta. The bot answers Direct messages by itself with templates (text, quick replies, images, carousels, buttons, products), shows starter questions in a new conversation and decides when a conversation goes to an operator in chat.smsbat.com.
Use this page when you want automatic replies in Instagram Direct, or when you set up or change what the bot sends.
Connection and bot: what is the difference
| Instagram connection | Instagram bot | |
|---|---|---|
| What it is | Access to your Instagram account through Meta authorization. | Automatic replies and chat rules for that account. |
| Where | Channels → Meta → Meta Shops | Channels → Instagram → Bots |
| What it gives | Direct messages, Story replies and comments arrive in the operator workspace. | Starter questions, chat triggers, a strategy of actions and templates. |
| Required | Yes, for any Instagram work. | No. Without a bot, operators simply answer messages themselves. |
Connect the account first, see Connect Instagram. A bot can only be created for an existing connection.
Before you start
- an Instagram account connected in Meta Shops with the type Instagram, and its token status Valid, see Connect Instagram;
- the connection belongs to the organization in which you create the bot.
Where to find Instagram bots
In the left menu of omni.smsbat.com open Channels → Instagram → Bots. The Instagram Bots page opens.
Filters
The Filters button shows or hides the filter bar; Clear filter resets it.
| Filter | What it does |
|---|---|
| Organization | Shows the bots of one organization. |
| Name | Finds a bot by name. |
| Status | Shows bots with one status (see Bot statuses). |
| Operator chat enabled | Active — bots that hand chats to operators; Inactive — bots that don’t. |
| Client Name | Visible to SMSBAT administrators only. |
Table columns
| Column | What it shows |
|---|---|
| Name | The bot name and, under it, the Instagram account name with its picture. “Instagram account is not connected” means the bot has no linked account data. |
| Status | The bot status. |
| Operator chat enabled | Active or Inactive. |
| Organization | The organization of the bot. |
| Created At | The creation date. |
Click a row to open the bot. On a phone each bot is a card with a Details button.
Step 1. Create the bot
-
Press Add Bot. A window opens.
-
Fill in the form:
Field What to enter Organization The organization with the connected Instagram account. Meta Shops Open Select Meta shop with Instagram and choose the Instagram account. The list becomes available after you choose the organization and shows only Instagram connections with a valid token. Name The bot name in SMSBAT. Optional here, but required when you save the bot settings later, so fill it in now. Description Optional notes for colleagues. Operator chat enabled On by default. Keep it on if operators should receive conversations from this bot. -
Press Create. The message Successfully was created appears and the bot shows up in the table.
If you see “No Instagram-enabled Meta shops were found for this organization.”, the organization has no Instagram connection with a valid token. Connect or reconnect the account in Meta Shops first.
Step 2. Check the bot details
- Click the bot in the table.
- Press the menu icon (three lines) on the left to show the bot menu: Details, Chat trigger, Starter questions.
The Details block contains:
| Field | What it means |
|---|---|
| Status | The bot status, see Bot statuses. |
| Account | The linked Instagram account. Read only. |
| Created At, Organization | Read only. |
| Operator chat enabled | Whether conversations from this bot go to operators. |
| Bot Name | Required. |
| Description | Optional. |
Press Update Bot Settings to save; the message Bot data updated appears. Edit Bot Strategy opens the strategy editor.
Step 3. Add starter questions
Starter questions are the ready-made questions a customer can tap when opening a conversation with your account.
- Open Starter questions in the bot menu and expand the panel.
- Press Add. A card #1 appears.
- Type the Question (up to 80 characters; the counter shows how many are used).
- Optionally choose an Action from the bot strategy that runs when the customer taps the question.
- Repeat for up to 4 questions; the counter “N / 4” shows how many you have. The bin icon removes a question.
- Press Save.
The message Successfully was updated confirms the save. If Meta returned a warning while applying the questions, the message shows that warning instead.
Step 4. Set chat triggers
Chat triggers are texts that start or end a chat for this bot.
- Open Chat trigger in the bot menu, expand the panel and press +.
- In Select type choose Start chat or End chat.
- Enter the Text and press Create.
The table shows Trigger type and Text. Use the pencil icon to change the text and the bin icon to delete a trigger.
Bot strategy
The strategy decides what the bot sends and when. Open it with Edit Bot Strategy. The page has three parts:
- Actions — the list of actions with a search box and a + button;
- the editor of the selected action;
- Templates — the template library of this bot.
The strategy is built from two things: templates (ready messages) and actions (when to send which templates). One template can be attached to several actions.
Step 1. Create templates
-
In Templates press +. The Create template window opens.
-
Choose the Message Type and fill in its fields:
Message Type What to fill in Limits Text Text. Up to 1000 characters. Quick replies Text and the quick replies: a Name and an Action for quick reply for each. 1–13 quick replies; name up to 20 characters; the action is required. Image Press Upload or paste the image Url. JPG, JPEG, PNG, up to 5 MB. Carousel Cards: Name (title), Description (subtitle), image (Upload or Url), Card tap URL and buttons. 1–10 cards; title and subtitle up to 80 characters; each card needs a subtitle, an image or a button; up to 3 buttons per card. Buttons Text and the Buttons. Text up to 640 characters; 1–3 buttons; button name up to 20 characters. Product Product IDs: type an ID and press Enter or Add. 1–10 product IDs. Buttons have two types: Web URL opens a link (the URL must start with http:// or https://), Postback runs an Action for button.
-
Optionally choose the Next action — the action that runs after this template.
-
Press Create (or Save when editing). If a field is wrong, the window lists the errors, for example “Button #1: URL is required.”.
In the Template library list, the pencil icon edits a template and the bin icon deletes it from the library after confirmation.
Step 2. Create an action
-
In Actions press +.
-
Fill in:
Field What to choose Action Name A clear name, for example “Welcome”. Required. Trigger event On chat status change — the action runs when the chat gets a certain status; Default reply when no open chat — the action answers when the customer writes and there is no open chat. Chat status action Only for On chat status change, and then required: New, Open, Waiting, On pause or Closed. -
Press Create. For an existing action the button is Save.
To delete an action, press the small × on its card in Actions and confirm.
Step 3. Attach templates to the action
- Select the action in Actions.
- In Available templates open Select template, choose a template and press Add Template. The message “Template attached to the action.” appears.
- In the action editor, the Templates list shows the attached templates in the order they are sent. Use the up and down arrows to change the Order, and × to detach a template (“Template detached from the action.”).
If all templates are already attached, you see “All templates from the current library view are already attached to this action.”
Bot statuses
An Instagram bot can be Active, Inactive, Pending Approval, Hold, Closed, Declined or Archived. You change the status on the Details block and save it with Update Bot Settings.
Using the bot in chats
- Customers’ Instagram messages arrive in chat.smsbat.com under the chat type Instagram.
- With Operator chat enabled on, conversations are handed to operators; the chat triggers and the trigger events of the strategy decide when the bot answers and when a chat starts or ends.
- Operators cannot start an Instagram chat themselves; the customer always writes first, see How to sign in and create a chat.
Common questions
The Meta Shops list in the form is empty or inactive. Choose the Organization first. If the list stays empty and you see “No Instagram-enabled Meta shops were found for this organization.”, connect the Instagram account in Meta Shops or reconnect it if its token is Invalid, see Connect Instagram.
Do I need a bot to receive Instagram messages? No. The Meta connection alone delivers messages to operators. The bot only adds automatic replies, starter questions and chat rules.
I can’t save the bot details: “Field is required”. Bot Name is required on the Details block. Fill it in and press Update Bot Settings.
I can’t add a fifth starter question. Instagram allows up to 4; Add becomes inactive at “4 / 4”.
The Create button in the template window does nothing. The template has errors; they are listed in the window. A common one is a quick reply or a Postback button without an action: create the action first.
Chat status action is inactive. It is used only with the trigger event On chat status change.