Instagram comment-to-DM automation: send a DM when someone comments
Turn "comment PRICE" into leads. How keyword comment-to-DM works under Instagram's rules, how to set it up, and DMs that get replies.
You've seen the captions: "Comment GUIDE and I'll send it to you." A few seconds later the link appears in your DMs. That's comment-to-DM automation, and it's one of the simplest ways to turn Instagram views into leads, sales and bookings. This guide explains how it works under Instagram's rules, how to set it up, and the mistakes that make people ignore the message.
The short answer: Instagram comment-to-DM automation watches the comments on your posts and reels. When someone comments a keyword you choose, such as "PRICE", it sends them one private message straight away. Instagram's rules allow one private reply per comment, sent within 7 days of the comment. If the person replies to that DM, a normal conversation opens and you can keep chatting for 24 hours after each of their messages. You need an Instagram professional (business or creator) account and a tool connected through Meta's official API.
Key takeaways
- A keyword comment triggers one private DM. That's an Instagram rule, not a tool limit.
- The DM must be sent within 7 days of the comment. On a live broadcast, only while it's live.
- Get the person to reply to your first DM, for example with a button or a question. That opens a 24-hour window for follow-ups.
- Use one short keyword per offer, put it in the caption and on the video, and deliver exactly what you promised in the first message.
How comment-to-DM works
- You post a reel"Comment PRICE for the full price list"
- Someone comments"price 🙌"
- Tool matches the keywordAny comment containing "price"
- DM sent in secondsPlus an optional public reply
Here's what that looks like for the person who commented:
Comment on your reel
price please 🙏
Public reply under the commentSent you a DM, check your inbox! ✨
Private reply · 1 allowed per comment
Hi! Here's our full price list for bridal makeup 👇 [link]. Want me to check if your date is free?Buttons: Check my date · Not now
Check my date
They replied · 24-hour window opens
Great! Which date is the wedding, and which city? 📅Follow-ups are now allowed for 24 hours after each reply
Instagram's rules you need to know
| Rule | What it means for you |
|---|---|
| One private reply per comment | Your first DM must contain everything the person asked for. You can't send a second one unless they reply. |
| Within 7 days of the comment | Comments on old posts can still be answered for a week. After that, the private reply is blocked. |
| Live videos: only during the live | Private replies to comments on an Instagram Live can only be sent while the broadcast is running. |
| 24-hour window after they reply | Once the person sends you a message, you can reply freely for 24 hours from their latest message. |
| Professional account + official API | Personal accounts can't use automation. Tools must connect through Meta's Instagram messaging API. |
How to set it up
- Switch to a professional account In Instagram settings, choose a business or creator account and link it to a Facebook Page if your tool asks for it.
- Connect Instagram to your automation tool Log in with Meta and allow messaging permissions. Your tool should never ask for your Instagram password.
- Pick the post or reel Run the rule on one post, or on every post for an always-on keyword like "PRICE".
- Set the keyword Use one short word that's easy to spell on a phone. Add common variations, like "price" and "prices".
- Write the public reply (optional) A short "Check your DMs ✨" under the comment shows others the automation works, which brings more comments.
- Write the DM Deliver the promised link or info first, then ask one question or add a button to start a conversation.
- Test it Comment from a second account, using capitals, emojis and a misspelling. Check the DM arrives and the link works.
Keyword ideas that work
Use a different keyword for each offer so you can see which post brought which leads. Avoid words people type anyway, like "nice" or "wow", or the automation will fire on regular comments.
3 DM templates you can copy
Online store · keyword LINK
Hey! Here's the link to the oversized linen shirt from the reel 👇 [link]
Sizes S to XL are in stock today. Want me to send the size guide too?
Coach or creator · keyword GUIDE
Here's your free 7-day meal plan 📄 [link]
Quick question so I can send you the right recipes next: are you vegetarian? Reply YES or NO.
Salon or clinic · keyword BOOK
Hi! These are this week's open slots for a hair spa 💆♀️ [booking link]
Prefer a weekend? Reply with the day and I'll check for you.
Mistakes that kill results
Weak setup
- Keyword only in the caption, which most viewers never open
- First DM says "Thanks! How can we help?" and nothing else
- Long or tricky keyword, like "WORKSHOP2026"
- No question or button, so the conversation ends after one message
Strong setup
- Keyword said in the video, shown on screen and in the caption
- First DM delivers the link or info right away
- Short keyword, like "PLAN"
- One clear question or button that invites a reply
Take it further: story replies and WhatsApp
For welcome messages, keyword replies and story automations in DMs, see Instagram DM auto reply.
The same idea works on stories. When someone replies to your story with a keyword, or mentions you, an automation can answer. And when a lead is ready to buy, many businesses move the chat to WhatsApp, where order updates and reminders work better. In Flowleb, Instagram DMs and WhatsApp chats land in the same team inbox and can run through the same flows, so a lead from a reel is followed up the same way as one from WhatsApp.
Turn comments into conversationsSet up comment-to-DM on any post or reel with Flowleb: keywords, a public reply, and a follow-up flow when they answer.
See how it worksFrequently asked questions
How do I automatically send a DM when someone comments on Instagram?
Connect your Instagram professional account to an automation tool that uses Meta's official messaging API, choose a post or reel, set a keyword, and write the message. When someone comments the keyword, the tool sends them one private reply automatically.
How many DMs can I send to someone who commented?
Instagram allows one private reply per comment. If the person replies to your DM, a 24-hour window opens and you can keep messaging them normally within 24 hours of their latest message.
How long after a comment can I send the private reply?
Within 7 days of the comment on posts, reels and ads. For comments on an Instagram Live, the private reply can only be sent while the broadcast is live.
Is Instagram comment-to-DM automation allowed?
Yes, when it runs through Meta's official Instagram messaging API and only messages people who commented. Tools that log in with your password or mass-message people who never contacted you can get your account restricted.
Do I need a business account for Instagram DM automation?
You need an Instagram professional account, which can be a business or creator account. Personal accounts can't connect to the messaging API.