Comment-to-DM automation sends a private message to anyone who comments a chosen keyword on your Instagram or Facebook post, usually with the link or resource they asked for. It runs on Meta's private replies feature, which has firm limits: the message must be sent within 7 days of the comment, the business can send only one message to the commenter, and the conversation can continue only if the person replies, inside a 24-hour window.
Below: how it works step by step, Meta's rules with links to the official docs, a setup checklist, copy you can use and a troubleshooting table.
How does comment-to-DM automation work?
- You publish a post with a call to action, such as "Comment GUIDE and we'll send it to you."
- Someone comments with the keyword.
- Meta notifies your automation tool about the new comment through its API.
- The tool checks the comment for your keyword.
- It replies publicly to the comment. This is optional, but it shows other people the offer is real.
- It sends one private reply to the commenter with the link, or a button to it.
- If the person replies to that message, the conversation is open, and the tool or a person on your team can keep talking inside the messaging window.

Meta's rules for comment-to-DM
These come from Meta's developer documentation, linked in the sources at the end of this post. Tools that send private replies have to work inside them.
Instagram private replies
- They work for Instagram professional accounts.
- The message must be sent within 7 days of the comment being made.
- Only one message can be sent to the commenter.
- Follow-up messages can only be sent if the person responds, and must be sent within 24 hours of their response.
- Meta's overview lists comments on the account's posts, reels, stories, Live broadcasts and ads. For Live, private replies can only be sent while the broadcast is running.
Facebook Page private replies
- The message must be sent within 7 days from when the post or comment was created.
- Only one message can be sent to the person who commented.
- The conversation can continue only after the person responds, inside the 24-hour messaging window.
The messaging window
- For most user actions, the standard messaging window lasts 24 hours.
- Conversations started from some Click-to-Messenger and Click-to-Direct ads can extend that to 7 days.
- The Human Agent tag lets a person on your team reply manually within a separate 7-day period. Message tags are limited to approved use cases, and Meta warns that using them outside those cases may restrict your ability to send messages.
- Messages sent inside the standard window may include promotional content.
- Outside private replies and the other entry points, Instagram's messaging API only lets a business message someone after that person has messaged the business.
- Instagram message text must be 1,000 bytes or less.
| Rule | Facebook Page | |
|---|---|---|
| Time to send the private reply | Within 7 days of the comment | Within 7 days of the post or comment |
| Private replies per commenter | One message | One message |
| Continue the conversation | Only after they respond, within 24 hours | Only after they respond, within the 24-hour window |
| Manual replies after the window | Human Agent tag, separate 7-day period | Human Agent tag, separate 7-day period |
Other ways to start a DM conversation
Comment keywords are one entry point. These others open a conversation too:
- A keyword sent by DM. The person messages first, so the window opens.
- Story mentions and story replies.
- Ice breakers. Questions people can tap to start a chat. Meta allows a maximum of 4 questions, and notes the feature is not available on desktop.
- Click-to-Messenger and Click-to-Direct ads.
How to set up a comment-to-DM flow
- Connect an Instagram professional account or a Facebook Page through a tool that uses Meta's API, never one that asks for your password
- Choose the post, or every post, the flow should run on
- Pick a keyword that is short, easy to spell and unlikely to appear by accident
- Add the variants people will type, such as plurals
- Put the keyword in the caption and on the image or video
- Write three to five public reply variations
- Write the private reply: thank them, deliver what you promised, one link
- Decide whether you will ask for an email first, and say why you want it
- Add UTM tags to the link so you can see the traffic in your analytics
- Test from a second account before the post goes live
- Check the flow's log in the first hour after publishing
Copy you can use
Want the full checklist? Comment CHECKLIST and we'll send it to you by DM.
1. Sent! Check your DMs. 2. Just messaged you the checklist. 3. It's in your inbox now. 4. Done. Look for a message from us. 5. On its way to your DMs.
Hi! Here's the checklist you asked for: [link] Any questions about it? Reply here and we'll help.
Happy to send it! What's the best email for the checklist? We'll send the checklist and our monthly tips email. Unsubscribe any time. [When they reply with an email:] Thanks! Here's the checklist: [link]
The email-first version fits the one-message rule: the private reply asks the question, and the person's answer opens the 24-hour window for the second message with the link.
Best practices that keep automation from hurting the account
- Deliver exactly what the caption promised, in the first message. People commented for the link, not a sales pitch.
- Respect the one-message rule. If someone does not reply, do not try to reach them again.
- Vary the public replies. Rotating a few versions reads better than the same line under every comment.
- Route real questions to a person. Complaints and detailed questions in the comments need a human reply, not a link.
- Turn the flow off when the offer ends, or update the link so it never points to an expired page.
Why comment-to-DM flows fail
| Problem | Likely cause | Fix |
|---|---|---|
| No DM was sent | The comment is older than 7 days, the account is not a professional account, or the tool lost its permissions | Check the comment date, the account type and the connection |
| Keyword missed | A typo, a plural or an emoji next to the word | Add variants and match without case |
| The person replied but got no answer | The 24-hour window closed | Reply manually, using the Human Agent tag if your case qualifies |
| DMs sent but few clicks | The message does not match the promise, or the link is buried | Put the link first and make it the only one |
| Same person messaged twice | The flow has no per-person limit | Limit each person to one message per flow in a set period |
How to run comment-to-DM in Ovia
DM flows run on Instagram and Facebook:
- Five ways to start: a keyword in a comment, a keyword in a DM, a story mention, a first message or a conversation starter, with up to four conversation starters per account.
- Run a flow on every post or one post, with up to twenty keywords.
- Reply publicly with up to five rotating variations, then send a DM with up to three link buttons.
- Ask for an email, or on Instagram a follow, before the link is sent.
- See every send, skip and click. Each person gets one DM per flow every 24 hours, and Ovia asks at most twice.
The Social Inbox keeps comments from Facebook, Instagram, LinkedIn, YouTube and Google Business, and DMs from Facebook and Instagram, in one shared inbox, with owners, saved replies and a countdown on the DM reply window.

Sources
- Meta for Developers: Private Replies (Instagram Platform)
- Meta for Developers: Private Replies (Messenger Platform, Facebook Pages)
- Meta for Developers: Messenger Platform policy overview (messaging window and message tags)
- Meta for Developers: Instagram Messaging API
- Meta for Developers: Ice Breakers (Instagram Messaging API)



