Chat with us
Up to 60% OFF with Recurring Discounts on Premium Upgrades & Whitelabel FlexUp to 60% OFF on Premium Upgrade & Whitelabel03:00:00:00Claim
Knowledgebase/Automation/Article

How to Automate Instagram Keyword Replies with Botsailor

  • 18 Nov 2026
  • 6 min read
  • 0 views
TL;DR:
To automate Instagram replies with keywords in BotSailor, connect your Instagram Professional account, openChatbot Manager → Select Instagram Account → Automation → Keyword Replies, create a flow, configure the trigger keyword and matching option, add your reply messages and buttons, connect the blocks, save the automation, and test it from Instagram Direct Messages.

Before You Begin

● Access to the BotSailor dashboard.
● An Instagram Professional account connected to BotSailor.
● A trigger keyword or phrase.
● The reply message or flow you want customers to receive.

BotSailor supports Instagram DM automation through a connected Instagram Professional account. The Instagram account can be connected through BotSailor's Instagram integration using Meta/Facebook login.

Part 1: Configure the Instagram Keyword Trigger

Step 1: Open Keyword Replies

Log in to BotSailor and follow this path:

Dashboard → Chatbot Manager → Select Instagram Account → Automation → Keyword Replies

Keyword Replies section in Instagram Chatbot Manager
Keyword Replies section in Instagram Chatbot Manager


Step 2: Create a New Flow

Click Create to open the visual Flow Builder.

You can use the Flow Builder to create the conversation that will be triggered when an Instagram user sends a configured keyword.

Step 3: Add the Trigger Keyword

Double Click the Start Bot Flow block and enter the keyword or keywords that will activate the Instagram DM automation.

For this example, you can use:

● Hi
● Hello
● Price

In the example flow, the trigger is configured as:
hlw, hi, price

Choose the Matching Option

Select how BotSailor should detect the keyword.

Exact Keyword Match

The customer must send the configured keyword as an exact message.

Example:

Customer sends:
Price

The automation will trigger.

String Match

The keyword can appear inside a longer message.

Example:

Customer sends:
I want to know the price

If price is configured as the keyword, BotSailor can detect the keyword within the message and trigger the connected flow.

This is useful for product-related conversations because customers may ask questions in different ways rather than sending only one word.

Save the Trigger Settings

Review the configured keywords and matching type, then save the trigger settings.

Instagram keyword trigger settings and matching options
Instagram keyword trigger settings and matching options


Part 2: Build the Instagram Automated Reply

Step 4: Add the Initial Reply

Add a double-click on text block to the flow and enter the message you want customers to receive after the keyword is detected.

For this example:
Sure! Here are the details of our product. What would you like to know?

You can then add buttons that let customers choose what information they want.

Initial Instagram reply message configuration in BotSailor.
Initial Instagram reply message configuration in BotSailor.


Step 5: Add Buttons

For this e-commerce example, add three buttons:

● View Price
● Product Info
● Buy Now

These buttons allow the customer to continue through the automated Instagram conversation without typing another message.

Instagram product inquiry message with View Price, Product Info, and Buy Now buttons

Instagram product inquiry message with View Price, Product Info, and Buy Now buttons
Instagram product inquiry message with View Price, Product Info, and Buy Now buttons


Part 3: Configure the Product Responses

Step 6: Add the Price Information

Connect the View Price button to a Text block containing your product prices.

For example:

👕 Shirts: ৳1,500–৳2,500
👖 Pants: ৳1,800–৳3,000
👖 Jeans: ৳2,000–৳3,500
🕴️ Suits: ৳6,000–৳12,000
Instagram automated product price response
Instagram automated product price response


Step 7: Add Product Details

Connect the Product Info button to another Text block.

For example:

Shirts: Cotton, S–XXL
Pants: Cotton Blend, S–XXL
Jeans: Denim, 28–38
Suits: Premium Fabric, 36–46
Instagram automated product information response
Instagram automated product information response


Step 8: Add the Buy Now Button

Connect the Buy Now button to a button configured with Redirect to Website URL.

Enter the URL of your online store or product page.

For example:

Button: Buy Now
Action: Redirect to Website URL
Web URL: Your online store or checkout page

When the customer clicks Buy Now, Instagram redirects them to the configured website.

Buy Now button configured with a website URL
Buy Now button configured with a website URL


Part 4: Connect the Flow

Step 9: Connect the Blocks

Connect each block according to the customer journey:

Start Bot Flow → Initial Message → View Price / Product Info / Buy Now

The completed flow works like this:

Customer sends keyword → BotSailor detects keyword → Automated message is sent → Customer selects an option → Corresponding response or website is opened
Connected Instagram keyword automation flow in BotSailor Flow Builder
Connected Instagram keyword automation flow in BotSailor Flow Builder


Step 10: Save the Automation

Click Save after checking:

● Trigger keywords
● Matching option
● Initial reply
● Button names
● Product price information
● Product details
● Website URL
● Connections between all blocks

Verification: Test the Instagram Keyword Reply

Step 11: Send the Configured Keyword

Open Instagram and send the configured keyword from a customer account.

For example:
price

BotSailor should detect the keyword and start the connected flow.

The customer should receive:
Sure! Here are the details of our product. What would you like to know?

The customer can then select:
View Price | Product Info | Buy Now

Example of an Instagram DM triggering the keyword automation
Example of an Instagram DM triggering the keyword automation


Example of an Instagram DM triggering the keyword automation

How the Instagram Keyword Reply Works

The complete process is:

Customer sends a keyword
↓
BotSailor checks the configured matching rule
↓
The connected flow is triggered
↓
Customer receives the automated message
↓
Customer selects an option
↓
BotSailor sends the corresponding information or redirects the customer to the website

For example:

Customer: “I want to know the price”
↓
BotSailor detects price
↓
“Sure! Here are the details of our product. What would you like to know?”
↓
View Price | Product Info | Buy Now

This allows an Instagram customer to start the conversation and navigate through the product information without requiring a manual response.

Automation Active

Your Instagram keyword-based automation is now active.

When customers send a configured keyword through Instagram Direct Messages, BotSailor can trigger the connected flow and provide the predefined responses, buttons, product information, or website link.

Common Troubleshooting

Error: The keyword does not trigger the flow

Fix:
Check the configured keyword, matching option, Instagram connection, and connection between the Start Bot Flow and the first message block.

Error: The keyword works only when sent alone

Fix:

● Check whether Exact Keyword Match is selected.
● If you want to detect the keyword when it appears inside a longer message, use String Match.

For example:

“Can you tell me the price of this shirt?”

If price is configured and String Match is used, the keyword can be detected within the longer message.

Error: Instagram does not receive the automated response

Fix:

● Confirm that the Instagram account is connected and enabled in BotSailor.
● Make sure the account is an Instagram Professional account.
● Check that the automation is saved.
● Check the trigger keyword.
● Verify that the Flow Builder blocks are connected correctly.
● Test the automation from another Instagram account.

BotSailor's Instagram integration uses Meta's connection flow for the connected Instagram account.

Error: The Buy Now button does not open the website

Fix:
Check the Buy Now button configuration and make sure:

● The button action is set to Redirect to Website URL.
● A valid website URL has been entered.
● The button is connected to the correct part of the flow.


Mahafuz Abir

Mahafuz Abir

FAQ

Frequently Asked Questions

Find answers to common questions about this topic

In BotSailor, connect your Instagram Professional account and open Chatbot Manager → Select Instagram Account → Automation → Keyword Replies. Create a flow, configure the trigger keyword, add your automated messages, connect the blocks, and save the automation.

Yes. You can configure a keyword-based Instagram flow so that a customer's message triggers a connected automated response.

When a customer sends a message containing a configured keyword, BotSailor checks the selected matching option and triggers the connected flow.
For example:
Customer: “I want to know the price”
Keyword: price
BotSailor: Starts the connected product-information flow.

Exact Keyword Match requires the customer to send the configured keyword as the matching message.
String Match allows the configured keyword to be detected within a longer message.
For example, if the keyword is price, String Match can detect it in:
“Can you tell me the price?”

Check that your Instagram account is connected to BotSailor, the keyword is configured correctly, the matching option is appropriate, the automation is saved, and the Start Bot Flow is connected to the reply block.

Yes. You can create different keyword-based flows for product prices, product details, order questions, shipping information, customer support, and other common customer requests.

Yes. You can add a button such as Buy Now and configure it with Redirect to Website URL so customers can open your online store or product page.

Related Articles