How to Set Up an Instagram Chatbot in an Afternoon
Account requirements, the connection through Meta, the first three automations worth building, and the tests that catch the mistakes everybody makes on day one.
Setting up an Instagram chatbot takes about an afternoon, and most of that afternoon is deciding what it should say. The technical part — connecting the account, wiring the first rule — is roughly fifteen minutes. This guide is in that order: requirements, connection, the three automations worth building first, and the tests that catch the mistakes.
Step 1. Check your account can actually do this
Three prerequisites, and all three are inside Instagram, not inside any tool:
- A Professional account. Business or Creator. A personal account has no messaging API, so nothing will work and the error message will not tell you that clearly. Switch in Settings → Account type.
- Message controls allowing connected tools. In Instagram’s settings there is a toggle that permits apps to access your messages. If it is off, the connection completes and then nothing arrives — the single most common “it is not working” cause.
- You are logged into the right account in the browser where you will do the connection. If you manage several accounts, log out of the others first. Connecting the wrong one and only noticing later is unpleasant to unwind.
Step 2. Connect through Meta’s own screen
The connection is Instagram Business Login: you are sent to a Meta page, you see exactly which permissions are being requested, you approve, and you come back. You do not type your Instagram password into anything except Instagram.
If a tool asks for your password directly, stop. That is a headless browser driving your account, which is against Instagram’s terms and is the main reason accounts in this category get restricted.
After connecting, check two things before building anything: that your username shows correctly in the tool, and that a test Direct message from a second account appears. If the second one fails, it is almost always the message-controls toggle from step 1.
Step 3. Build the welcome message first, not the funnel
The instinct is to build the clever thing first. Build the boring thing first, because it covers the largest share of messages: a welcome that fires on a first contact and tells people what they can ask for.
Two rules for writing it:
- Offer choices, not an invitation to type. “How can I help?” produces free text your bot cannot handle. Three buttons — Prices, Opening hours, Talk to a person — produce answerable requests.
- Include the escape hatch from the start. One of those buttons must reach a human. A bot with no exit is the fastest way to lose a buyer who has a question you did not anticipate.
Step 4. Add the comment-to-DM rule
This is the automation that produces most of the value, and it works like this: someone comments a word you nominated on one of your posts, and Instagram lets you send them exactly one Direct message in reply — a private reply — within seven days.
Three decisions to get right:
- Pick one keyword and say it in the caption. One word, easy to spell, unlikely to appear by accident. “PRICE” is better than “send me the price list please”.
- Decide what happens to people who comment something else. Most posts get more off-keyword comments than on-keyword ones, and a rule that answers everything reads as spam.
- Plan for the failure. If someone has their Direct restricted, the private reply fails silently — and the slot is gone. A public comment reply saying “check your Direct” is the fallback that saves those.
The full version, including what to do about people who comment twice, is in the comment-to-DM guide.
Step 5. Add keyword replies for the three questions you answer daily
Open your Instagram inbox and read the last fifty messages. Three questions will account for most of them — typically price, availability and location or delivery. Those three are your keyword rules.
Do not try to anticipate a fourth. Keyword sets grow by evidence, not by imagination, and every extra keyword is another thing that can misfire. Choosing words people actually type is covered in the keyword guide.
Step 6. Decide what happens when the bot does not know
Every tree ends. The question is what the person sees at the end of it, and there are only two acceptable answers: a human takes over, or an AI agent answers from your own material and hands over when it should.
The unacceptable answer is silence, and it is the most common one in practice — not because anyone chose it, but because nobody built the last node.
How do you test an Instagram chatbot properly?
Not from your own account. Instagram treats you differently when you are the page owner, and several things that fail for a real person appear to work for you.
Use a second account that does not follow you, and run this list:
- Comment the keyword on a live post. Did the Direct message arrive, and how long did it take?
- Comment something that is not the keyword. Did anything happen that should not have?
- Send a first Direct message. Did the welcome fire?
- Type something none of your rules cover. Where did you end up?
- Press the “talk to a person” button. Did a notification actually reach a person?
- Wait 25 hours and try to send yourself a follow-up. It should fail — that is the window doing its job, and it is worth seeing once.
What usually goes wrong on day one?
Four things, in rough order of frequency:
- Message controls were never enabled in Instagram settings. Everything looks connected; nothing arrives.
- The keyword is in the caption but the post is old. Comment rules apply to the posts you attach them to; a rule built today does not retroactively cover last month’s Reel unless you attach it.
- The flow has no human exit, and the first real question with no branch sits unanswered for two days.
- Nobody is watching the inbox. Automation moves the work, it does not remove it. Somebody has to see what the bot could not answer, and that somebody needs a screen to do it from.
What to do in week two
Read the conversations. Not the dashboard — the actual text. The first fifty real conversations will tell you exactly which branch is missing, which keyword nobody types, and which answer is being misread. That hour is worth more than any amount of building.
Chatonaut connects Instagram through Meta’s official Business Login, keeps comments, Direct and story mentions in one inbox, and includes an AI agent you train on your own material. The free plan runs a real automation rather than a demo; the tiers are on the pricing page, and if you want the conceptual map first, start with what Instagram automation actually is.
Try it on your own account
Connect your Instagram account and let the bot answer comments and DMs while you sleep. Free plan, no card needed.