Someone sends your shop a DM at eleven at night asking whether you have the Ethiopian in stock and how much it is. You see it in the morning. They bought somewhere else.
This guide builds the thing that answers instead. An AI Agent connected to an Instagram Professional account, which reads the question, answers from your real prices and opening hours, asks for a name and phone number when the enquiry is worth a call back, and leaves everything in a shared inbox where you can take over. No code, and you can do it on a free account. Instagram DM support opened to every Quickchat AI account in September 2026, so the connect button is live for you today.
A warning about scope before you start. This handles direct messages only. Comments on posts and Reels are not delivered to it. If comment automation is what you came for, this is not the tool, and the section on what it will not do is worth reading before you spend an afternoon on setup.
What you will build
A working Instagram DM agent for a small business, tested end to end.
The example is Fernwood Coffee Roasters, a single shop in Bristol that sells five coffees and runs a subscription. It is small on purpose. Almost every business that wants this has a short list of things it sells, a set of prices, one location, opening hours, and a handful of questions that arrive over and over. Swap the catalogue for yours and the rest of the guide is unchanged.
By the end it will:
- answer questions about beans, prices, grind options and delivery from a list you give it
- say when something is sold out and offer the nearest thing that is not
- give opening hours and the address
- stop short of taking an order or a payment, and hand those to a human
- collect a name and phone number for wholesale enquiries and log them
- appear in a shared Inbox alongside every other channel, where you can take over mid-conversation
You need a free Quickchat AI account and an Instagram Professional account. Both are free.
How an Instagram DM reaches your AI Agent
Four things happen between the DM landing and the reply appearing, and knowing them makes the rest of this guide much easier to reason about.
Instagram notifies Quickchat AI that a message arrived. When you connect your account, you grant permission to receive messages sent to it and to reply. From then on Instagram pushes each new DM across as it happens. Nothing polls, and nothing is scraped.
Rapid messages are treated as one turn. People type on phones, so they send “hi”, “do you have the ethiopian”, “and how much” as three messages in eight seconds. If the agent answered each one separately you would get three overlapping replies. Instead it waits for a short pause and treats the burst as a single question. One reply, answering all of it.
The Agent answers from what you gave it, not from the internet. It looks up the relevant part of your catalogue and writes a reply in the voice you set. If a long answer would exceed Instagram’s per message limit, it is split into consecutive messages automatically.
The whole pipeline. The part that surprises people is the burst handling: three rapid messages become one question and one reply.
Everything lands in the Inbox. Every conversation appears in one place, whatever channel it came from, and a human can take over at any point. Taking over stops the AI in that conversation. Most tools in this category are built for one network. Quickchat AI is channel-agnostic: the same agent that answers your Instagram DMs runs on your website, WhatsApp, Telegram, and Discord without being rebuilt.
The important consequence of the first point is that the Agent only ever sees what is sent to the account. It has no view of your comments, your followers, or your feed, and it cannot post. That is a permissions boundary, not a setting you can loosen.
Step 1: Create your AI Agent and give it the catalogue
Start with what the Agent knows, because everything else depends on it.
Create an account at app.quickchat.ai and make a new AI Agent. Give it your business name. This name is what appears in the Inbox and in your own sidebar, so use the real one.
Open Knowledge Base and paste in what the Agent needs to know. Plain text is fine. No formatting rules, no schema. The thing that matters is that it is specific and current, because every answer it gives comes from here.
For Fernwood, the whole knowledge base is this:
Fernwood Coffee Roasters roasts specialty coffee in Bristol.
CURRENT BEANS
- Ethiopia Guji Natural, 250g, GBP 11.50. Blueberry, peach, floral. Filter roast. IN STOCK.
- Colombia Huila Washed, 250g, GBP 9.75. Caramel, red apple, milk chocolate. Filter or espresso. IN STOCK.
- Brazil Cerrado Pulped Natural, 250g, GBP 8.50. Hazelnut, dark chocolate. Espresso roast. IN STOCK.
- Kenya Nyeri AA, 250g, GBP 13.00. Blackcurrant, tomato, dense sweetness. Filter roast. SOLD OUT until the new harvest lands in October.
- Fernwood House Blend, 250g, GBP 8.95, also 1kg for GBP 30.00. Brazil and Colombia. Espresso roast. IN STOCK.
GRIND
Whole bean by default. We grind to order at no extra cost: espresso, moka pot, aeropress, filter/V60, cafetiere.
SUBSCRIPTION
250g every two weeks or every four weeks. 10 percent off every bag, cancel any time.
Set up at fernwoodcoffee.co.uk/subscribe.
SHOP
Unit 4, Fernwood Yard, Bristol BS1 6RT.
Monday to Friday 8am to 5pm. Saturday 9am to 4pm. Closed Sunday.
Free filter coffee tasting every Saturday at 11am, no booking needed.
DELIVERY
UK delivery GBP 3.50, free over GBP 30. Orders placed before 1pm ship the same working day.
We do not ship outside the UK.
WHOLESALE
We supply cafes and offices. Ruth handles all wholesale.
Prices depend on volume and are not published.
The whole shop fits in one article. The free plan allows 50, and paste-in text is one of seven ways to add knowledge.
Two details in there are doing real work.
One item is marked SOLD OUT. That is deliberate. “We do not have that” is the answer a DM agent gives most often after a price, and it is the answer people write in to complain about when it is wrong. Marking stock state in the knowledge base is what lets the Agent say “that one is gone until October, but the Colombia is close” instead of quietly inventing availability.
Wholesale prices are explicitly absent, and the text says who owns them. An Agent that does not have a number cannot make one up. This is the cheapest way to keep a category of question out of its hands.
Step 2: Connect your Instagram account
One button, one Instagram sign in, and about thirty seconds.
First, check the account type. A personal Instagram account cannot receive messages from an app, and this is the single most common reason the connection appears to work and then nothing arrives. In the Instagram app go to Settings and privacy, then Account type and tools. If it offers to switch you to a Professional account, you are currently personal. Switch. Business and Creator both work, both are free, and neither changes how your profile looks to visitors.
You do not need a Facebook Page. Instagram connects directly through Instagram, which is different from connecting Facebook Messenger or WhatsApp, where a Page is required. If you have read an older guide that told you to link a Page first, that guide is describing the other integration.
Instagram app, Settings and activity, Account type and tools. Professional is what makes messaging available at all; Business and Creator both work.
Instagram lives on the External Apps page, alongside every other channel the same agent can answer on.
Now connect it:
- In the Quickchat AI App, open External Apps in the left sidebar.
- Click the Instagram card.
- Click Connect to Instagram.
- Sign in as the account you want the Agent to answer for.
- Leave the message permission switched on, and allow access.
Step 4 is where this goes wrong most often, and the failure is confusing because it does not come from Quickchat AI. Instagram authorizes whichever account your session is already signed into, and it offers no account picker.
If that account is a personal one, or simply the wrong one of several you are signed into, Instagram shows a bare “Something went wrong” and stops. Nothing reaches Quickchat AI, so there is nothing in the panel explaining what happened.
If you see that, click Sign in as a different account underneath the connect button. That makes Instagram ask for credentials again, which is the only way to get back to choosing an account.
The two permissions, and nothing else. Leave the second one on: without it the Agent can identify the account but cannot reply to anything.
Allow it, and Instagram hands you back:
The window closes itself. Nothing to copy, no token to paste anywhere.
The panel then shows which account is connected and since when.
Connected. The panel names the account so you can confirm you signed in as the right one.
Quickchat AI asks for two permissions and no others: enough to identify the account, and enough to read and send its DMs. It cannot post to your feed, read your follower list, or change your account settings, because it was never granted the ability to.
Until the first DM arrives, the panel says so rather than claiming everything is fine.
A new connection has not proved anything yet. This is the panel being honest about that rather than showing a green tick.
Step 3: Write the prompt that decides what it will and will not do
The knowledge base is what it knows. The prompt is what it does. Most of the quality difference between a useful DM agent and an annoying one lives here.
Open Identity and write the AI Main Prompt. Here is Fernwood’s in full, and the reasoning follows.
You are the assistant for Fernwood Coffee Roasters, a specialty coffee roaster with one shop in Bristol.
Answer questions about our beans, prices, grind options, opening hours and where to find us, using only the information you have been given. If a bean is sold out, say so and suggest the closest one we do have in stock.
Ask for one thing at a time. Never ask for two pieces of information in the same message.
For wholesale enquiries, cafe supply, or any order above 5kg: collect the person's name and phone number, log the enquiry, and tell them Ruth will call them back within one working day. Do NOT quote wholesale prices and do NOT agree an order yourself. Those are Ruth's to make.
Never take payment or card details. If someone wants to buy right now, point them to fernwoodcoffee.co.uk or invite them into the shop.
If you do not know something, say so plainly and offer to pass the question to a human.
The whole persona is 921 characters. The editor counts them; the ceiling is 15,000.
Why it refuses to sell
The instinct when setting one of these up is to let it close the sale. Do not, at least not first.
We looked at the Quickchat AI agents actually running at volume on WhatsApp and Messenger, the ones handling thousands of real conversations a month rather than sitting in a test account. Across every one of them, the same boundary appears: they answer, they qualify, they capture a contact, and then they stop. Several state the refusal in capital letters in their own prompts. A driver recruitment agent checks eligibility and creates a contact record. A trip planner qualifies the group and hands to a human planner, and is explicitly forbidden from quoting a price. A fast food agent gives a price estimate and is told never to confirm the order.
None of them takes money. That is not squeamishness, it is what survives contact with real customers. A wrong price quoted confidently is a refund and an argument. A wrong price that a human confirms before it becomes an order is a five second correction.
So the useful shape for a DM agent is: answer from a short authoritative list, ask one question at a time, capture the contact, then stop.
Why “one thing at a time” is its own line
Left alone, an AI writing a reply will ask for the name, the phone number, the volume and the delivery address in a single paragraph. In a web chat window that is merely dense. In a DM on a phone it is a wall of text that gets ignored.
Making it a separate instruction, phrased as a prohibition rather than a preference, is what makes it stick.
Step 4: Test it from a second Instagram account
Do this before you tell anyone the account is answering.
Use a different Instagram account, not the connected one, and send it the four messages below. These are chosen to hit the behaviours that break most often.
“how much is the ethiopian” tests the plainest possible lookup. Expect the price and the tasting notes.
“do you have the kenyan” tests the sold out path. A correct answer says it is unavailable and offers the closest bean in stock. A wrong answer quotes it as though it were on the shelf, which means your stock markings are not clear enough.
“what time do you open on saturday” tests a fact that is not a product.
“i run a cafe and want to order 20kg a month” tests the boundary. A correct answer asks for one piece of contact information, does not quote a wholesale price, and says Ruth will call back.
The sold out path, answered properly. It names the bean, the price, when it is back, and what to buy instead. That last part is the whole difference between a useful DM agent and an away message.
Send the first three in quick succession as well as one at a time. Sent together they should produce one reply covering all three, not three replies. That is the burst handling described earlier, and seeing it work is worth the ten seconds.
Taking over from the AI
The wholesale enquiry is the case where a human should finish the conversation, and the Inbox is where that happens.
Open Inbox in the left sidebar. Every Instagram conversation is there, labelled as Instagram, alongside conversations from every other channel. Open one and you see the whole transcript.
Typing a reply yourself takes the conversation over. The AI stops answering in that thread, so you are not competing with it mid sentence. The person on Instagram sees one continuous conversation and no announcement that they have been handed over, which is the correct behaviour: they messaged a shop, not a robot, and the shop replied.
The same conversation in the Inbox. The agent names who owns the decision, declines to quote, and asks for one thing.
Every conversation carries where it came from, so Instagram sits in the same queue as everything else:
Assignee and channel, on every conversation. Changing the assignee is what takes it off the AI.
Reply, and it arrives in Instagram as a message from the shop. No handover announcement, no second thread:
Ruth’s reply, in the same thread the AI was answering in. The customer messaged a shop and the shop replied.
One limit worth knowing before you rely on this. A reply you type by hand has to fit inside Instagram’s single message limit, which is around a thousand bytes. The AI’s answers are split automatically when they are long. Yours are not, and an over long reply is refused rather than truncated. In practice this only bites when pasting something prewritten.
What it will not do
Being straight about the edges saves you finding them in front of a customer.
The boundary in one picture. Everything on the right is invisible to the agent by permission design, not by configuration.
Comments are not received. Not on posts, not on Reels. The integration is subscribed to messages and nothing else, so an agent cannot see a comment, cannot reply to one, and cannot send a DM triggered by one. Comment to DM automation, which is the headline feature of several tools in this category, is not something this does.
Story mentions are ignored. If someone mentions you in their story, nothing happens.
Story replies are answered, and the Agent knows the message was a reply to a story rather than a cold DM. It cannot see the story itself, so it will not pretend to know what was in it.
There is a 24 hour window. Instagram only permits a business to reply within 24 hours of the person’s last message. Past that, the conversation cannot receive a reply from anyone, the AI or you. This is Instagram’s rule. The practical effect is that a DM which arrives while you are closed for a long weekend can go unanswerable, which is an argument for having the AI answer immediately rather than triaging by hand on Monday.
Voice notes are transcribed, and images are received. If a transcription fails the Agent is told that it failed rather than being handed an empty message, so it can ask the person to type instead.
One Instagram account connects to one AI Agent. Trying to connect the same account to a second Agent is refused. If you run several shops, each needs its own account.
Going live
Three things to do before you point real traffic at it.
Check the Enable toggle. The Instagram panel has an Enable Instagram switch. It is on after you connect. It exists so you can stop the Agent replying without disconnecting the account and losing the connection, which is what you want during a busy Saturday or while you are rewriting the prompt.
Watch the first day in the Inbox. Read what it actually said, not a sample. The first day of real questions will surface two or three things missing from your knowledge base, and adding them is a two minute edit.
Decide who watches the wholesale enquiries. The Agent captures them, but capturing is not answering. If nobody calls back within the day you promised, the automation has made things worse rather than better.
Know where the off switch is on the Instagram side. Disconnecting in Quickchat AI ends the connection from our end. Instagram keeps its own record of what you authorised, and you can see and revoke it there:
Instagram app, Settings and activity, Your app and media, App website permissions, Apps and websites. Quickchat AI sits under the Active tab; removing it there revokes access from Instagram’s side, whatever the Quickchat AI panel says.
How to tune it
Tuning a DM agent is a loop, and it is short.
- Read a real conversation in the Inbox where the answer was wrong or clumsy.
- Decide whether the fault was knowledge or instruction. If the Agent did not have the fact, it is knowledge. If it had the fact and used it badly, it is the prompt.
- Change one thing.
- Send the same message again from your test account.
Almost every early problem is a knowledge problem wearing an instruction costume. “It keeps saying it does not know about oat milk” is not a prompt failure, it is a line missing from the knowledge base.
The exceptions, in order of how often they come up:
It answers three questions at once and the reply is a wall. Add or strengthen the one thing at a time instruction.
It quotes a sold out item as available. Your stock markings are ambiguous. SOLD OUT until October is unambiguous, low stock is not.
It agrees to something it should not. A preference (“try not to quote wholesale prices”) is much weaker than a prohibition (“do NOT quote wholesale prices”). Rewrite it as a prohibition and name who owns the decision instead.
Summary
The setup is short: create an Agent, paste in your catalogue, write a prompt that says what it must not do, and click one button to connect an Instagram Professional account. No Facebook Page, no code, no hosting.
The part worth spending time on is the boundary. The agents that work in production answer from a short authoritative list, ask one question at a time, capture a contact, and stop. The ones that get switched off are the ones that were allowed to close a sale they were never in a position to close.
Start it on the questions you answer twenty times a week. Let it prove itself on prices and opening hours before you let it near anything that costs money.
Frequently asked questions
How do I set up auto reply on Instagram DMs?
Instagram has a built-in away message and saved replies, which send the same fixed text to everyone. An AI chatbot is different: it reads a question, looks up the answer in what you have told it about your business, and writes a reply specific to that person. Connect an Instagram Professional account to a Quickchat AI Agent and it answers every DM in your own words, with your real prices and opening hours.
Does Instagram have a built-in AI chatbot?
No. Instagram provides saved replies and an away message, both of which are fixed text you write in advance. To have something read the question and answer it, you connect an external tool through the Instagram API. That is what this guide sets up.
Can an AI chatbot reply to Instagram comments?
Not with Quickchat AI. This integration receives direct messages only. Comments on posts and Reels are not delivered to it, so it cannot see them or reply to them. If comment automation is the thing you need, this is not the right tool.
Do I need a Facebook Page to connect Instagram?
No. Instagram connects directly through Instagram. You do not need to link a Facebook Page or use a Facebook Business account, which is different from connecting Facebook Messenger or WhatsApp. You do need an Instagram Professional account, either Business or Creator.
Do I need code to build an Instagram AI chatbot?
No. You create an AI Agent, paste in what it should know about your business, and click one button to connect your Instagram account. There is nothing to host and nothing to deploy.
Can ChatGPT, Claude, or Gemini answer my Instagram DMs?
Not on their own. None of them can receive an Instagram DM, because that requires an app connected to your account through the Instagram API with permission to read and send messages. Quickchat AI handles that connection and the reply, so the model answers using your business information rather than general knowledge.
Does it work on a personal Instagram account?
No. A personal account cannot receive messages from an app. You need to switch to a Professional account, which is free and takes about a minute in the Instagram app under Settings and privacy, then Account type and tools.
Why does Instagram say “Something went wrong” when I try to connect?
Instagram connects whichever account your browser session is already signed into, and it offers no account picker. If that account is personal rather than professional, or simply the wrong one of several you are signed into, Instagram stops with a generic error before the request ever reaches Quickchat AI. Switch to the professional account in the Instagram app, or click “Sign in as a different account” under the connect button, which makes Instagram ask you to sign in again so you can choose.
What happens when someone asks something the AI cannot answer?
It says so rather than guessing, and the conversation is waiting in your Inbox where you can type a reply yourself. Taking over stops the AI in that conversation, so you are not talking over each other.
Is there a time limit on replying to an Instagram DM?
Yes. Instagram only lets a business reply within 24 hours of the person’s last message. After that the conversation cannot receive a reply, from the AI or from a human. This is an Instagram rule, not a Quickchat AI limit.
How much does an Instagram AI chatbot cost?
You can build and connect one on the Quickchat AI free plan. Paid plans start when you need more AI credits or more channels. Instagram itself charges nothing for a Professional account or for the messaging API.
Related guides
- How to Connect ChatGPT to WhatsApp, the same one click Meta connection for WhatsApp Business.
- How to Build an AI Telegram Bot to Manage Your Group, if you want an agent that takes actions rather than only answering.
- How to Build a Free Roleplay AI Chatbot That Stays in Character, if the account you want answering is a character, not a shop.
- Instagram channel documentation for the setup reference and troubleshooting.