Connect & setupUpdated 5 min read
Instagram Comment-to-DM Automation: How It Works and Meta's Rules
How Instagram comment-to-DM automation works: what you can automate, what Meta's messaging rules actually require, and where people get it wrong.

"Comment PRICE below and I'll DM you" is one of the most common calls to action on Instagram Reels. This post explains what happens behind it, and the rules that keep your account safe.
What does comment-to-DM actually do?
- Someone comments a keyword (PRICE, LINK, GUIDE, whatever you choose) on a post or Reel.
- Meta sends your tool a webhook: an instant notification that a new comment arrived.
- The tool checks the comment against your keyword rules.
- It can reply publicly under the comment, so other viewers see a response.
- It sends the person a DM with the link, price or file.
All of this runs through the Graph API, the official system Meta gives apps to read comments and send messages for an account. You need an Instagram professional account (Business or Creator). A Facebook Page is needed only if the tool connects with Facebook Login.
Why does this work better than a pinned "link in bio" comment?
A pinned "link in bio" comment is a slower call to action than a keyword that triggers a DM:
- People don't want to leave the app to find your bio link.
- A pinned comment gets buried under newer ones within minutes on a popular post.
- The person has to remember to come back later.
A DM lands in their inbox with the information ready, and it starts a one-to-one conversation. That conversation is also where a sale can close. A public comment can't take payment; a DM with a payment link can.
Which Meta rules do you actually need to follow?
This part matters more than the setup, because getting it wrong risks your account, not just a failed message.
- Only message people who engaged first. Replying to someone who commented or messaged you is allowed. Sending DMs to people who never interacted with you breaks Instagram's policy and reads as spam.
- 1 private reply per comment, within 7 days. A private reply is a DM sent in answer to a comment. Meta allows one per comment, sent within 7 days of the comment.
- 24 hours after they reply. Once the person messages you back, you can keep replying for 24 hours after their last message. When that window closes, a normal message can't be sent.
- Rate limits. As of November 2026, Meta allows 750 private replies per hour on post and Reel comments per professional account. Most creators never get close.
- Replies should read like a person wrote them. Repetitive scripted messages sent at scale are more likely to be flagged by Meta's spam systems.
- Use the official API, never a password-based bot. Tools that log in with your Instagram password and copy a browser session break Instagram's terms and are the fastest way to get an account disabled.
What does good practice look like?
- Keep the keyword specific. A generic word like "yes" or "info" matches comments that weren't meant to trigger it.
- Write the public reply so it stands alone ("Sent you a DM!") instead of repeating the full offer in public.
- Send the DM within seconds. The value of this automation is replacing a delay with an instant reply.
- Ask the person to reply in the DM. Their reply opens the 24-hour window, so you can follow up or send a file later.
- Review a sample of triggered DMs every week. If a keyword misfires on unrelated comments, fix the rule.
- Keep a person on the inbox for questions that don't fit the script. Comment-to-DM should start the conversation, not be the whole conversation.
How does Zavii help with comment-to-DM?
Zavii connects through Meta's official Instagram API, so every rule above still applies. Zavii handles the keyword matching, the replies and the payment step:
- Automate keyword rules. Set a keyword, choose Contains or Exact Match, and run the rule on All posts & reels or on specific posts. Add an optional public comment reply and the DM text.
- Share product payment link. Attach a Store product (a PDF, course link, URL or text) and the DM carries a Razorpay checkout link the buyer can pay by UPI, card or netbanking. See Sell.
- Inbox. Instagram and WhatsApp chats sit in one shared inbox, so a person can take over when the script ends.
Auto-DM on one Instagram or WhatsApp channel is on the ₹0 Free plan. See Auto-DM. Zavii does not automate Story replies or Story mentions, and it can't reach people who restrict DMs.
If your rule never fires, work through Instagram auto DM not working. If it worked and stopped, read why Instagram automation stopped sending DMs. For the selling side, see how to sell a PDF on Instagram without a website.
For developers: comment-to-DM in the API
You can skip this section if you use Zavii or another tool; it is for people calling the API directly.
- Webhook fields:
commentsfor posts and Reels,live_commentsfor Live,messagesfor replies. - Permissions:
instagram_business_manage_commentsandinstagram_business_manage_messages(Instagram Login), orinstagram_manage_commentsandinstagram_manage_messages(Facebook Login). - Public reply:
POST /<COMMENT_ID>/replieswith amessage. - Private reply:
POST /<IG_ID>/messageswith"recipient": { "comment_id": "<COMMENT_ID>" }. One per comment, within 7 days. On a Live, private replies work only while the broadcast is on.
Sources: Instagram private replies · Instagram messaging API · Instagram webhook fields · Meta Graph API rate limiting (as of November 2026)
Auto-DM · Sell from DMs · Instagram DM automation for business · Selling in a WhatsApp DM


