Before You Begin
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
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:
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.
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.
Step 5: Add Buttons
For this e-commerce example, add three buttons:
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
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:
👖 Pants: ৳1,800–৳3,000
👖 Jeans: ৳2,000–৳3,500
🕴️ Suits: ৳6,000–৳12,000
Step 7: Add Product Details
Connect the Product Info button to another Text block.
For example:
Pants: Cotton Blend, S–XXL
Jeans: Denim, 28–38
Suits: Premium Fabric, 36–46
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:
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.
Part 4: Connect the Flow
Step 9: Connect the Blocks
Connect each block according to the customer journey:
The completed flow works like this:
Step 10: Save the Automation
Click Save after checking:
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
How the Instagram Keyword Reply Works
The complete process is:
↓
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:
↓
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:
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:
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:


