Integrations
Add an AI agent to Instagram direct messages
Connect your Instagram business account so your QwryAI agent handles direct messages, with human takeover
The Instagram channel connects your QwryAI agent to an Instagram business account, so it answers the direct messages (DMs) customers send that account. It's for businesses that support and sell to customers on Instagram, such as brands whose shoppers ask about sizes, stock and delivery in DMs.
Use cases
DM support. Your agent answers from its data sources and reads the photos and documents customers send. When a customer needs a person, the Escalations Action opens a ticket and your team replies from the Inbox.
DM sales. With Shopify connected, shoppers can find products and check orders in a DM. Choose which Actions run on Instagram on the channel's Actions tab.
Public comments. Comment monitoring turns comments on your Instagram posts into tickets, so your team sees them with your other tickets.
Before you start
- An Instagram professional account set to Business.
- The Instagram username and password of that account.
- A QwryAI agent.
How to connect Instagram
- Allow access to messages in Instagram
In the Instagram app, open your business account's settings, then under How others can interact with you, go to Messages and story replies › Message controls and turn on Allow access to messages.
- Open the Instagram channel
Open your agent and select Channels in the sidebar. On the Instagram card, Connect your agent to an Instagram page and let it respond to messages from your customers, select Setup. If you've connected accounts before, the card shows Manage.
Channels › Instagram › Setup. - Read the note and continue
QwryAI shows Connect Instagram first. Accounts you connect are granted access across your QwryAI agents, and unselecting one that's already connected disconnects it from its agent. Select I understand.
Read this before Instagram opens. - Log in to Instagram and allow access
Instagram's sign-in window opens. Log in with the business account and allow QwryAI to manage its messages and comments. When the window closes, QwryAI connects the account.
- Check the Connection tab
On Channels › Instagram › Manage, the Connection tab lists your Connected Instagram pages. Each one has an Active switch and a menu with Open in Instagram and Delete page. Add more with Connect a new Instagram Page.
Connected Instagram pages.
Human takeover
Human takeover lets you take over a conversation whenever you want and reply to the customer yourself. It works per conversation: the agent stops answering that conversation until you hand it back.
Enable human takeover for a conversation
- Open the Inbox and select Instagram in the Channels list.
- Open the conversation.
- Select Take over. The AI stops answering and your replies go to the customer as DMs.
- To give the conversation back, select Hand back to AI.
Response delay
Customers on Instagram often send several short messages in a row. The response delay makes your agent wait after the customer's latest message; anything sent during the wait is answered in one reply.
To set it:
- Go to Channels › Instagram › Manage › Delay.
- For each account, set a Minimum delay and a Maximum delay in seconds.
- Select Save.
For each reply, the agent waits a random time between the two values. To always wait the same time, enter the same value twice.
Lead collection
QwryAI can save each person who DMs your account as a contact, with their name and profile picture. On the Leads tab, turn on Enable automatic collection of leads and tick the accounts. Collected leads appear in Contacts.
Connecting different AI agents to different pages
Each Instagram account answers with one agent at a time.
- Open the agent the account is connected to, go to Channels › Instagram › Manage, and on the Connection tab choose Delete page in the account's menu.
- Open the agent you want to use and connect the account there with Setup or Connect a new Instagram Page.
An account that answers with another agent is listed under Instagram pages connected to other agents: To change the agent connected, delete the page and navigate to the other agent to connect it again.
Channel settings
Overview shows the model, data sources, Actions and instructions Instagram uses. Turn off Sync with global instructions to write instructions for Instagram only. Actions lists the Actions with a switch for each, so you choose which run on Instagram.
Troubleshooting
Instagram says This Instagram account is connected to another agent.
The account already answers with another agent. Delete it from that agent's Connection tab, then connect it again here. See Connecting different AI agents to different pages.
An account card says Disconnected
The card says Disconnected: Facebook no longer accepts this page's access, for example after a password change. Select Connect a new Instagram Page and log in again.
The agent doesn't reply to DMs
Check that Allow access to messages is on in the Instagram app, that the account's Active switch is on, and that the conversation isn't taken over, paused or covered by an open ticket.
Limitations
- A business account is required. Personal accounts can't be connected; switch to a professional account set to Business first.
- Deleting an account stops replies in its conversations. The conversations stay in the Inbox.
- The agent doesn't answer comments. Comment monitoring turns them into tickets; replies are posted on Instagram.
Best practices
Sync your products
Shoppers send screenshots instead of product names. Connect Shopify so the agent can find the products they mean.
Turn on the commerce Actions together
Turn on the cart and order Actions alongside product search on the Instagram channel, so shoppers can go from a question to an order in one DM thread.
Turn comments into tickets
Turn on comment monitoring so questions under posts don't go unanswered.
Give Instagram its own instructions
Turn off Sync with global instructions to ask for short, friendly DM answers.
Changes to instructions and Actions go into a draft. Instagram customers keep talking to the live agent until you select Publish. See Drafts and publishing.
Frequently asked questions
Can I connect a personal or creator account?
Connect a professional account set to Business. Switch the account type in Instagram's settings first.
Can I connect more than one Instagram account?
Yes. Add each one with Connect a new Instagram Page on the Connection tab.
Does the agent reply to comments?
No. Turn on comment monitoring to get a ticket for each comment, and reply on Instagram.
How do I reply to a customer myself?
Select Take over on the conversation in the Inbox, or let the customer reach your team through an Escalations ticket.
How many message credits does Instagram use?
Each reply uses message credits based on your agent's model, the same as on every other channel.
Comment monitoring
Comment monitoring turns comments on your Instagram posts into tickets in QwryAI.
Go to Channels › Instagram › Manage.
Select the Comments tab.
Turn on Enable comment monitoring and tick the accounts to monitor.
When someone comments on a post, QwryAI creates a ticket titled Instagram comment from the person's username, with the comment and a link to the post.
Open the ticket, follow the post link, and reply under the comment on Instagram.