Instagram Comment-to-DM Automation: Setup Guide + Scripts (2026)
Step-by-step Instagram comment-to-DM setup guide for 2026. Includes trigger keywords, copy-paste DM scripts, pre-launch testing checklist, and error fixes.
Instagram comment-to-DM automation sends an instant private message whenever a viewer comments a keyword (like LINK, GUIDE, or PRICE) on your post, Reel, Ad, or Live broadcast. Instead of sending viewers through multiple taps to hunt for a link-in-bio page, you deliver the link directly inside their inbox while boosting your post's public comment count.
Below is the complete 2026 setup workflow using Meta's official Private Replies API, along with copy-paste DM scripts, trigger keyword ideas, a pre-launch QA checklist, and fixes for common setup failures. (For a broader overview of all trigger types, see our complete Instagram DM automation guide.)
Quick overview: the 4 parts of a high-converting comment-to-DM flow
| Step | What happens | Recommended configuration |
|---|---|---|
| 1. Caption / video CTA | Viewer comments your keyword on a Reel or post | 1 single-word keyword (e.g., GUIDE, LINK, PRICE) |
| 2. Public comment reply | Bot replies under their comment after a 2s–5s delay | 4–6 rotated variations telling them to check DMs / Message Requests |
| 3. Initial Private Reply DM | Private message lands in their inbox within seconds | Direct link, Follow-to-Unlock gate, or button to open 24h window |
| 4. Timed follow-up | Nudge sent if they opened the chat but didn't click | Send 4 to 12 hours after the user's button tap or reply |
Step-by-step setup guide (under 5 minutes)
Step 1: Verify your Instagram Professional account and mobile toggle
Meta only enables the Instagram Messaging API on Business and Creator accounts. Before connecting any tool:
- Open the Instagram mobile app and go to Settings and activity → Account type and tools to confirm you are on a Professional account.
- Go to Settings and activity → Messages and story replies → Message controls → Connected tools and toggle ON Allow access to messages. (If this switch is off, Meta blocks all automated DMs.)
Step 2: Connect your account via official Meta OAuth
Log into RapidDM and click Connect Instagram. Authorize your account through Meta's official OAuth screen. Never use tools or browser extensions that ask for your raw Instagram password.
Step 3: Select your target Reel or post
Choose which content should trigger the automation:
- Specific Post or Reel: Best when delivering a resource, product link, or recipe tied to one video.
- Next Post Automation: Best when you are scheduling a launch Reel and want the automation armed before the video goes live.
- All Posts: Best for evergreen service businesses where anyone commenting
PRICEorBOOKon any post should receive your pricing guide or calendar link.
Step 4: Configure your trigger keywords
Select Keyword Match and enter 2 to 4 natural variations of your trigger word so nobody gets missed if they type a synonym:
- Primary keyword:
GUIDE - Backup variations:
CHECKLIST,PDF,SEND
Avoid requiring #hashtags or exact capitalization. In RapidDM, keyword matching is case-insensitive (guide, Guide, and GUIDE all fire the same rule).
Step 5: Add 4 to 6 randomized public comment replies
When a non-follower comments on your Reel, your Private Reply lands in their Message Requests tab, which does not always trigger a lock-screen banner. Enabling public comment replies posts a quick reply right under their comment, sending an instant Instagram notification to their phone.
Add at least 4 variations so your comment section looks natural:
- "Just sent it to your DMs! Check your Message Requests if you don't see it."
- "Sent! It's waiting in your inbox."
- "Dropped the link in your DMs right now!"
- "Check your DMs, just sent the full guide over!"
Step 6: Write your Private Reply DM (plus optional Follow Gate and follow-up)
Decide whether you want to send the link in a single message, or verify that the commenter follows your account first using Ask to Follow (Follow-to-Continue). Then toggle on a Timed Follow-Up (6 to 12 hours later) to catch anyone who got distracted before clicking.
Best trigger keywords by campaign type
If you want more comments, keep the keyword under 7 letters so viewers can type it with one thumb. (Need custom caption CTAs? Use our free Comment-to-DM CTA Generator or browse 50 Instagram comment keywords.)
| Campaign goal | Recommended keywords | Words to avoid |
|---|---|---|
| Free guide, PDF, or Notion template | GUIDE, PDF, TEMPLATE, LIST, PLAN | Long phrases like "SEND ME THE PDF 2026" |
| E-commerce product or outfit link | SHOP, LINK, DROP, OUTFIT, CODE | Brand-internal SKU codes or hashtags |
| Service pricing or consultation call | PRICE, BOOK, AUDIT, CALL, INFO | Hard-to-spell words like "CONSULTATION" |
| Course waitlist or webinar signup | CLASS, JOIN, EARLY, SEAT, DEMO | Emoji-only triggers that vary by keyboard |
Copy-and-paste comment-to-DM scripts
Feel free to copy these scripts directly into your campaign. (For 25+ additional templates across support and Story replies, see our 25 Instagram auto-reply message examples.)
Script 1: Direct lead magnet or checklist delivery
Hey! You commented on my Reel about [Topic]. Here is the direct link to the [Checklist/Guide]: https://yourdomain.com/guide
Start with section 2 if you want the fastest win. Reply QUESTIONS if you want help setting it up for your account!
Script 2: Follow-to-Unlock (Ask-to-Follow) 2-step script
[Message 1 - Non-follower prompt]:
Hey! I share the [Resource Name] free for my followers.
1. Tap my profile @[YourHandle] and hit Follow
2. Tap "I'm following" below and I'll send the link right over!
[Message 2 - Unlocked delivery]:
Awesome, thanks for following! Here is your link to [Resource Name]: https://yourdomain.com/resource
Script 3: E-commerce product link + sizing qualifier
Here is the exact [Product Name] from the video: https://yourdomain.com/product
Use code IG10 at checkout for 10% off your first order. Want help picking the right size or shade? Reply with your usual size and I'll point you to the best fit.
Script 4: Coaching / service booking script
Glad that post resonated! Here is the breakdown of how our [Service/Audit] works and open calendar slots for this week: https://yourdomain.com/book
Are you looking to solve [Problem A] or [Problem B] first?
Script 5: 6-hour follow-up reminder (inside the 24-hour window)
Quick check: did that link open okay for you earlier, or would you like me to send the 3-step summary right here in the chat?
Pre-launch testing checklist (run before every big post)
Before you promote a Reel or spend ad budget, run this 60-second test:
- Test from a second Instagram account: Never test by commenting from the same account that owns the post. Meta intentionally suppresses self-comments. Use a personal burner account or ask a teammate to comment.
- Test a non-follower comment: Have an account that does not follow you comment the keyword to verify that your public reply fires and your Follow-to-Unlock gate works as expected.
- Click every link on mobile: Open the DM inside the iOS or Android Instagram app and tap your CTA button to make sure the URL loads cleanly inside Instagram's in-app browser without a redirect loop.
- Confirm one-DM-per-user protection: Comment the keyword twice from the test account to verify your tool does not spam repeat commenters.
Common failure modes and how to fix them
If your comment-to-DM automation does not send, check these four culprits first. (For a full diagnostic walkthrough, see Instagram Comment-to-DM Not Working? 9 Fixes to Try.)
- Failure 1: Meta Business Suite native rules are competing with your tool. Meta only allows one Private Reply per
comment_id. If you left a native Comment to Message rule active inside Meta Business Suite or an old ManyChat workspace, it will race your new tool and trigger Error10900(Activity already replied to). Disable old tools first. - Failure 2: Buttons fail to deliver to non-followers (
1545133). Meta can reject complex button cards in the initial cold Private Reply to non-followers. If you see delivery drops on cold viral Reels, use a plain-text opener or let RapidDM handle the two-step handoff automatically. - Failure 3: Backfilling comments older than 7 days (
2534025). Meta's Private Reply window expires 7 days (168 hours) after a comment is posted on a post or Reel, and closes immediately when an Instagram Live stream ends. - Failure 4: Hitting the 200 calls/hour rate limit on viral Reels. When a Reel gets 2,000 comments in an hour, tools without a rate-limit queue drop webhooks. RapidDM automatically queues excess comments in Redis and paces them safely under Meta's hourly ceiling.
Start free with RapidDM (1,000 automated DMs/month) and launch your first comment-to-DM workflow in under five minutes.
Common questions
Frequently asked questions
How does Instagram comment-to-DM automation work?
When someone comments a trigger keyword on your Instagram post, Reel, Ad, or Live stream, Meta's Instagram Graph API sends a webhook to your automation tool. The tool replies publicly under the comment and sends a Private Reply DM containing your link, button, or Follow-to-Unlock prompt.
What are the best keywords for Instagram comment automation?
Use single, plain-English words that match what the viewer is asking for, such as LINK, GUIDE, PRICE, BOOK, RECIPE, or DEMO. Avoid hashtags, emojis, or multi-word phrases that mobile users mistype.
Why didn't my comment-to-DM automation fire when I tested it?
Meta ignores comments posted by the same Instagram account that published the post. Always test your trigger from a secondary Instagram account, and verify that 'Allow access to messages' is turned on under Connected tools in your Instagram mobile app.
Can I send product carousels and voice notes from a comment trigger?
Yes. Your initial comment Private Reply sends a prompt or button card; as soon as the commenter taps the button or replies, Meta opens a 24-hour conversation window where 10-card product carousels, native voice notes, and timed follow-ups deliver automatically.
Keep reading
Related articles
Instagram Reel Comment Automation: Setup, Rules & Examples (2026)
How to set up Instagram Reel comment automation in 2026. Includes Meta API safety rules, viral rate-limit pacing, copy-paste DM scripts, and examples.
Instagram Story Reply Automation: How to Auto-DM Replies (2026)
Learn how to set up Instagram Story reply automation in 2026. Includes step-by-step setup instructions, 6 high-converting Story campaigns, and DM scripts.
ManyChat Instagram Keyword Automation: Setup, Limits & Alternatives (2026)
How ManyChat Instagram keyword automation works in 2026: step-by-step setup, trigger types (Contains vs Exact), 25-contact free limit, and alternatives.