Article · Instagram automation
Instagram comment to DM automation: setup, rules and fixes when it stops working
Set up Instagram comment to DM automation: account requirements, Meta's private reply rules, keyword matching, link buttons and why automations fail.
By Henrique SampaioPublished 10 min read

30-second summary
- Instagram comment to DM automation is a rule that watches comments for a keyword, replies in public and sends the commenter a private message with what they asked for.
- You need a professional Instagram account (Business or Creator), the "Allow Access to Messages" toggle turned on under Connected Tools, and a tool that connects through Meta's official login.
- Meta's developer documentation allows one private reply per commenter, within 7 days of the comment; a follow-up only goes out if the person responds, within 24 hours of that response.
- Most failures come from four causes: messaging access turned off, a keyword that doesn't match what people type, a disconnected account, or a second message the rules don't allow.
- Never make the DM conditional on a follow, like or share: Meta's spam policy treats engagement-gating as a deceptive practice.
In this article
- What is Instagram comment to DM automation?
- What do you need before you automate Instagram DMs from comments?
- What do Meta's rules allow?
- How do you set up a comment-to-DM automation, step by step?
- What should the public reply and the DM say?
- Why is my Instagram comment to DM automation not working?
- What can't you automate on Instagram?
- How do you choose a comment-to-DM tool (or a ManyChat alternative)?
- How to do this in LUME Hub
- Summary
- Frequently asked questions
Picture a reel that ends with "Comment GUIDE and I'll send it to you." By morning there are dozens of comments, and you are typing the same link over and over. Or the automation you set up last month sends nothing at all, and you only find out when someone comments "still waiting?"
This guide covers the setup and the troubleshooting: what you need before you start, the rules Meta sets for automated replies, how to choose keywords and write the messages, and why comment-to-DM automations stop working. If you want the bigger picture of turning Instagram into a client channel, start with how to get clients from Instagram.
What is Instagram comment to DM automation?
Instagram comment to DM automation is a rule that watches the comments on your posts for a keyword, replies to the comment in public and sends the commenter a private message with what they asked for, usually a link. Meta calls that message a private reply: a message an app sends directly to someone who commented on a professional account's content.
The comment works as a request. The person typed your keyword because they want the resource, so the DM is expected, which is what separates this from cold outreach.
What do you need before you automate Instagram DMs from comments?
You need a professional Instagram account, messaging access turned on for connected tools, and a tool that connects through Meta's official login. Without these three, nothing gets sent, no matter how well the rule is written.
| Requirement | Why it matters | Where to check |
|---|---|---|
| Professional account (Business or Creator) | Meta's private replies only work for professional accounts | Profile menu > Settings and activity > For professionals > Account type and tools |
| "Allow Access to Messages" turned on | Without it, outside tools can't read or send DMs | Settings > Messages and story replies > Message controls > Connected Tools |
| Official connection | The tool must use Meta's login and API, not your password | The tool's connection screen: you should see Instagram's or Facebook's own login |
| One post with a clear keyword | The rule needs a word to listen for | Your caption, the on-screen text and the first line of the reel |
Instagram's Help Center says that switching a private personal account to a professional one makes it public, and that you can choose Business (retailers, local businesses, service providers) or Creator (public figures, content producers). Either works for automation.
The Connected Tools path above comes from Meta's developer documentation. If your automation tool shows comments but never DMs, this toggle is the first thing to check.
What do Meta's rules allow?
Meta allows one private reply per commenter, sent within 7 days of the comment, and a follow-up only after the person responds. These limits come from Meta for Developers, and every comment-to-DM tool that uses the official API works inside them.
| Rule in Meta's documentation | What it means in practice |
|---|---|
| One private reply per commenter | Put everything in the first DM; you can't send a reminder |
| Sent within 7 days of the comment | The automation must reply quickly; old comments can't be answered privately |
| Follow-up only if the person responds, within 24 hours of the response | When they reply, you have a 24-hour window to continue the conversation |
| Inbox for followers, Requests for non-followers | Tell people in the public reply to check their messages or requests |
| Works on posts, reels, ads and Live | On Live, private replies only work during the broadcast |
| Automated chats must say they are automated where the law requires it | Add a short line such as "automatic reply" if that applies where you operate |
Meta's messaging documentation adds a broader rule: your app can send a message only after the person has messaged the professional account first, and for most actions the window lasts 24 hours. A comment-triggered private reply is the documented exception that lets you start that conversation.
How do you set up a comment-to-DM automation, step by step?
Pick one offer, pick one keyword, write the two messages and test with a second account before you publish. The steps below work in any tool that uses the official API.
- Choose one thing to deliver. A checklist, a template, a price list or a short video. For ideas that fit service businesses, see these lead magnet ideas.
- Choose the keyword. Short, unique, easy to spell on a phone: AUDIT, PRICES, GUIDE.
- Choose where the rule applies. Comments only, DMs only (for people who message the keyword), or both.
- Write the public reply. One line that confirms the DM is on its way.
- Write the DM. The resource, one button and one question that opens a conversation.
- Test from a second account. Comment the keyword exactly as a follower would, then try a variation with an emoji or lowercase letters.
- Publish and watch the log. Check the first replies within the hour, while you can still fix a mismatch.
Which keyword match type should you use?
Use "contains" for most posts, "exact" when the keyword is a common word, and "starts with" when people tend to add text after the keyword.
| Match type | Fires when the comment... | Good for | Watch out for |
|---|---|---|---|
| Contains | Has the keyword anywhere ("I want the GUIDE please") | Most posts | Common words trigger it by accident |
| Exact | Is only the keyword ("guide") | Everyday words like "price" or "link" | Misses "guide!!" or "guide 🙋" in strict tools |
| Starts with | Begins with the keyword ("GUIDE for dentists") | Keywords followed by context | Misses "pls send guide" |
If you run several rules on the same account, give the most specific one priority so it wins when two rules match.
What should the public reply and the DM say?
The public reply confirms the DM was sent; the DM delivers exactly what the post promised, with one link and one question. Keep both short.
Public replies (rotate a few so they don't look copied):
- "Sent! Check your DMs, or your message requests if you don't follow us."
- "On its way to your inbox 📩"
- "Done. If it isn't in your DMs, look in Requests."
The DM:
Hi! Here's the pricing guide from the reel: [button: Open the guide] Quick question so I can point you to the right section: what kind of business do you run?
Meta's generic template supports up to 3 buttons per message element, each opening a link or sending a postback. One button for the promised resource is usually enough. When the person answers your question, the 24-hour window opens and a real conversation can start; log it in a simple CRM so the follow-up doesn't depend on memory.
Why is my Instagram comment to DM automation not working?
Most failures come from four causes: messaging access is off, the keyword doesn't match what people type, the account connection expired, or the tool tried to send a message the rules don't allow. Work through this table from the top.
| Symptom | Likely cause | Fix |
|---|---|---|
| No DMs go out at all | "Allow Access to Messages" is off, or the account isn't professional | Turn on the Connected Tools toggle; check the account type |
| It worked last week and stopped | The connection expired or a password changed | Reconnect Instagram in your tool |
| Some commenters get the DM, others don't | Match type too strict, or typos and emojis | Switch to "contains" or add variations of the keyword |
| People say they never received it | The DM landed in Requests | Mention Requests in the public reply |
| The second message never arrives | Meta allows one private reply per commenter | Put everything in the first DM; follow up only after they reply |
| Old comments get no DM | Older than the 7-day window | Reply manually and invite them to message you |
| Your own test comment gets nothing | Some tools ignore the account's own comments | Test from a second account |
| The wrong reply goes out | Two rules match the same word | Set rule priority or make keywords more specific |
What can't you automate on Instagram?
You can't message people who never interacted with you, send them unsolicited follow-ups, or make the resource depend on a follow, like or share. These limits protect the account as much as the audience.
- Cold DMs to people who never commented or messaged you. Meta's messaging API only lets an app write after the person reached out first.
- More than one private reply per comment. Reminders and drip sequences are off the table until the person answers.
- Engagement-gating. Meta's spam policy lists requiring likes, shares or follows to access content as a deceptive practice. Ask for a comment as a shortcut, never as a toll, and keep the same resource reachable from your link in bio.
- Very high-frequency activity. The spam policy also targets posting, sharing or engaging at very high frequencies, whether manual or automatic.
How do you choose a comment-to-DM tool (or a ManyChat alternative)?
Choose a tool that connects through Meta's official login, supports the match types you need, sends link buttons and shows a log of every reply. Most comparisons stop at features; the log is what saves you when something breaks.
| What to check | Why |
|---|---|
| Official Instagram or Facebook login | Password-based tools fall outside Meta's API and risk the account |
| Contains, exact and starts-with matching | Fewer missed comments |
| Rules for comments, DMs or both | The same keyword works in a comment and in a direct message |
| Link buttons in the DM | Cleaner than a raw URL |
| A fallback for messages no rule covers | Someone still gets an answer |
| A history log with status | You see failures the same day |
| How pricing grows | Some tools charge by contact or message volume, so a viral post can change the bill |
How to do this in LUME Hub
LUME Hub is an all-in-one platform for small businesses, consultants and agencies. Its Instagram Automations answer comments and DMs by keyword through the official Instagram login, and they are included in the Complete plan.
The automations only answer people who commented or messaged you, as Meta's API requires, and there's no charge per contact or per message. The LUME Hub app screens are in Portuguese today; the product page explains every feature in English. You can start your 7-day free trial with no credit card, or see the plans.
Summary
Instagram comment to DM automation replies to a keyword comment in public and sends the commenter a private message with what they asked for. Before you start, switch to a professional account, turn on "Allow Access to Messages" under Connected Tools and connect a tool through Meta's official login. Work inside Meta's rules: one private reply per commenter, within 7 days of the comment, with follow-ups only after the person responds. Use a short, unique keyword with the right match type, deliver exactly what the post promised and never gate it behind a follow or a share. When it stops working, check messaging access, the connection and your match type first, then read the log.
Frequently asked questions
Is Instagram comment to DM automation allowed?
Yes, when it runs through Meta's official API. Meta for Developers documents private replies: an app can send one message to a person who commented on a professional account's post, reel, ad or live broadcast. Tools that log in with your password or simulate taps don't use that route and put the account at risk.
Why does my automated DM go to the Requests folder?
That's expected for people who don't follow you. Meta's documentation says the private reply appears in the commenter's Inbox if they follow the account and in their Requests folder if they don't. Say in your public reply that you sent a DM, so people know where to look.
Can I send a second message if the person doesn't answer the first DM?
No. Meta allows only one private reply per commenter. A follow-up can go out only after the person responds, and it must be sent within 24 hours of their response. Put everything they need in the first message.
Do I need a Facebook Page to automate Instagram DMs?
Not always. Meta offers two routes: the Instagram API with Instagram Login, which doesn't need a linked Page, and the Messenger Platform route, which requires the professional account to be connected to a Facebook Page. Your tool decides which route it uses.
How many link buttons can an Instagram DM have?
Meta's generic template supports up to 3 buttons per element, and the buttons can open a URL or send a postback. In practice, one clear button for the promised resource works better than three choices.
Can the automation reply to comments on old posts?
Only for comments made in the last 7 days, which is the private reply window in Meta's documentation. For Instagram Live, private replies work only while the broadcast is on.
Sources and official reading
- Meta for Developers: Private Replies (Instagram Platform)
- Meta for Developers: Send Messages (Instagram API with Instagram Login)
- Meta for Developers: Instagram Messaging, Get Started
- Meta for Developers: Generic Template (Instagram Messaging)
- Instagram Help Center: Set up a professional account
- Meta Transparency Center: Spam
Henrique SampaioCEO and co-founder of LUME and LUME HubHenrique Sampaio is the CEO and co-founder of LUME (We Are Lume) and LUME Hub, which began as the client area of LUME's mentoring program. He writes about the everyday problems LUME Hub solves for small businesses, agencies and service companies: Instagram, content, sales, prospecting, Google, ads and operations.


