Instagram is a social networking platform. This integration enables your insta users to seamlessly interact with our bot directly from your Instagram account.
You can also promote your products and services, engage with customers by responding to their comments and queries, and increase your brand’s visibility.
The following are key features of this integration:
- Automated Replies: Bot can automate responses to direct messages, comment or private replies, story mentions, story replies, and media share. An event is sent to the bot for each of these actions, such as comments, private replies, story mentions, story replies, and media shares.
- Supported message types: You can use various message types including text, image, carousel, and quick replies, enhancing the communication experience.
These features help you engage with your audience on Instagram and provide a more interactive and responsive experience.
Watch the video on how to setup Instagram channel:
List of supported messages by Yellow.ai platform
Action type | Message type | Bot Support? | User Support? |
---|---|---|---|
Message | Text | Yes | Yes |
Message | Image | Yes. Supported formats: jpg, png, ico, bmp. Size: Less than 8 MB. | Yes. Supported formats: jpg, png, ico, bmp. Size: Less than 8 MB. |
Message | Sticker | No | Yes |
Message | Attachments (video, voice, file) | No | Yes |
Reaction | React | No | No |
Reaction | Unreact | No | No |
Media Share | Image | Yes | Yes |
Media Share | Video | Yes | Yes |
Media Share | Story | Yes | Yes |
Media Share | IGTV | No | No |
Media Share | Reels | No | No |
Character limitations of Instagram
In this section, you can view the character limitations of Instagram channel.
options | Character limit |
---|---|
Quick reply |
|
Conversation starters | A maximum of 4 conversation starters are supported. |
Carousel |
|
Limitations
- Private replies are currently not supported for Instagram ads and IGTV comments.
- Agent can reply to the private replies within 7 days (except on Instagram Live) of the creation date of the comment.
- Private replies do not open the 24-hour window for standard messaging.
Integrating Instagram to your bot
To set up Instagram bot, you need to perform the following:
- Set up a business account on Instagram
- Setup a bot on Yellow.ai platform based on your use case.
- Test your bot
Check out the supported messages and Character limitations of Instagram.
Prerequisites to setup an Instagram channel
The following are the prerequisites to setup a Instagram bot:
- Create an Instagram Professional Account or a business account.
- Ensure that your Facebook Page is connected to your Instagram professional account. To create a new page, click here.
- Ensure that you have enabled Access to Messages in your Instagram account. (Settings > Messages and story replies > Message controls > Allow access to messages).
- Create an additional personal or test Instagram account for testing.
Set up a business account on Instagram
If you already have an Instagram personal account, then you can switch to a business account. For more information, click here.
To set up a business account on Instagram, follow these steps:
Navigate to your profile and click Hamburger Menu > Settings.
Click Switch to Professional Account.
Select Business and then click Next.
Click Next to continue.
Select a category for your business and click Done.
Add your business details and click Save.
Click Don't use my contact info to skip adding business info for testing accounts.Click Done. Now your Instagram personal account will be switched to a business account.
Link your Facebook page to Instagram account
Before you proceed, you need to link your Facebook to Instagram account. This connection enables you to share posts and pictures between your FB page and Instagram, share ads from your FB page to Instagram, and integrate third-party apps.
You can connect to Facebook either through your Facebook page settings or within the settings of your Instagram business account.
To connect Facebook through your Instagram account:
Log in to your Facebook account.
On your News Feed, click the Page that you have created.
On your FB page, navigate to Settings.
Click Linked accounts.
Click Connect Account.
Click Connect.
- Enable Allow access to Instagram messages in Inbox and click Confirm.
<center><img src="https://i.imgur.com/aee8Gaq.png" alt="drawing" width="50%"/></center>
Now your Facebook page will be connected to your Instagram account.
If you want to disconnect your page, which is linked to Instagram, click Disconnect. For more information, click here.
Connect your Facebook account to the Yellow.ai platform
On the left navigation bar, click Extensions.
Click Channels > Messaging > Instagram.
Click Connect to your Facebook account and add your Facebook business account credentials.
After signing into the account, click Continue.
Select the Instagram business account you want to activate and click Next.
Select the Facebook page (you can select only one page) that is connected to your Instagram Business account.
Enable all the permissions and click Done.
Click OK to continue.
Select the Facebook page and click Continue.
This will connect your Facebook page to the Instagram account.
The table below provides description of each option:
Option Description Facebook Page This is the primary Facebook page that is currently connected. Instagram Page This indicates the associated Instagram page connected to the Facebook account. Enable Instagram Comment This allows you to enable or disable the ability to receive comments from Instagram posts. Comment Response This setting allows you to choose where comments from Instagram posts will be responded to: either as a comment on the post itself or as a direct message in the inbox. Delete icon Click this icon to remove a specific connected page. Manage conversaction starter Allows you to configure the initial conversation when a user comments for the first time on a post. For more details, see Add conversation starters.
If you wish to remove the entire account, click Disconnect. This action removes all connected pages associated with the account.
Add conversation starters
Conversation starters allow you to initiate conversations with a business by providing a list of commonly asked questions.
To add conversation starters, follow these steps:
On the Instagram page, click +Add conversation starter.
Enter Quick reply and your preferred Action.
Click +Add conversation starter to add more conversation starters (up to 4), then click Save.
Option 1: Pre-purchase product queries
Option 2: Post-purchase customer support
Enabling Instagram events
Once you have set up the Instagram bot, to initiate the personailzed conversations for particular actions like story replies, story mentions, media shares, and comments use the below events. You can automate response to user activities on Instagram by triggering specific flows based on Instagram events.
By default, these events are inactive, but you can enable them as per your requirements.
Supported Instagram events
Event | Description | Sample use case |
---|---|---|
instagram-story-reply | Bot receives an event with the available information when a user replies to the business Instagram story. | Instagram story reply enables businesses to engage with their audience in real-time. When users reply with inquiries such as product details, availability, pricing, or comments about products featured in the story, businesses can start initiating conversation. |
instagram-story-mention | Bot receives an event with the available information when a user mentions the business in their insta story. | Users can share their feedback by mentioning the brand in their Instagram stories. This can include sharing their thoughts on the product, overall shopping experience, or any positive aspects they wish to highlight. |
instagram-media-share | Bot receives an event with the available information when the business shares a media from a post. | When businesses post details about their products, users have the ability to share this media with their followers. This enables businesses to reach a wider audience with their products. |
instagram-comment | Bot receives an event with the available information when a user comments on the business insta post. | When businesses share details about their products on Instagram, users can engage directly by commenting on the post. These comments may include inquiries about product specifications, availability, pricing, or any additional details. Note: To display the comments in the comment section under the respective comment, contact the Integrations team. By default, replies are currently shown in direct messages. |
Enable Instagram events
Navigate to Extensions > Channels > Instagram. You will see the list of connected accounts (if available).
Click on the Events button.
Navigate to the specific event and click Activate.
Once you enable the required Instagram events, you can use these Instagram events to:
- Trigger bot flows via events
- Store user variables that come from user events into DB or User 360 and create personalized conversations using the stored data.
Setup your Instagram bot
You need to use intents to identify user utterances and automate respond to their messages on Instagram page.
- Define bot's purpose and scope: First, understand the scope and purpose of your bot (use case). Clearly outline what types of questions or requests the bot should handle based on your intended use case.
- Create Intents: Add the intents that correspond to common questions or requests from users. Within each intent, add the relevant utterances and ensure they are trained to trigger the appropriate flow.
- Create flows: Design customized conversation flows to manage responses to your Instram page. You can incorporate text, carousel, and quick replies within the flow.
Once you set up the bot, verify whether the bot responds to user according to the defined use case.
Test your Instagram bot
After connecting your bot on Yellow platform, you can test your bot as mentioned here:
Setup your bot based on your business use case.
Log in to your personal Instagram account or use a secondary test account that you have created for testing purpose.
Send a message (as per the configured intent) to the test Instagram account that you have connected to your bot.
• If the intent does not match, the bot should be able to respond with a fallback message.Navigate to the Inbox module on the platform and select Bot messages in the Chats section. Here, you can view the entire conversation between the bot and user.
If a flow is configured for agent reply using the raise ticket node to start a conversation with an agent, it initiates a conversation with the agent. Once a conversation is initiated, the user can talk to the agent.
To view the entire conversation between the live agent and user, navigate to the Inbox module in the platform and select Bot messages in the My Chats section.
- When the conversation between the agent and user ends, the bot takes over the conversation forward with the user.