AFP
← All articles

Comment-to-DM Automation for Instagram & Facebook

AFP.MONSTER·May 14, 2026·3 min read

TL;DR

Comment-to-DM sends a private message the moment someone comments a keyword on a post, Reel, or ad. It works on Instagram feed posts, Reels, and Stories mentions, and on Facebook Page posts and ad comments. Typical uses are lead magnets, link delivery, webinar signups, FAQ replies, and handing off to a human; in AFP you connect the account, add a keyword list, a trigger, and a comment-to-DM action, then test.

What comment-to-DM automation actually does

Comment-to-DM automation sends a private message the moment someone comments on your post, Reel, or ad with a keyword you choose. Instead of telling followers "comment 'GUIDE' and check your inbox" and then manually messaging hundreds of people, the workflow fires instantly and at scale.

It works on both platforms. On Instagram you reply to feed posts, Reels, and Stories mentions; on Facebook you respond to Page posts and ad comments. The trigger is the same idea everywhere: a public comment becomes the entry point for a private, one-to-one conversation.

Common use cases

  • Lead magnets - "Comment DOWNLOAD and I'll send the free checklist." The DM delivers the link automatically and captures an engaged audience.
  • Link delivery - Instagram limits links in captions, so routing people to DMs is the cleanest way to share a product page, booking form, or discount code.
  • Webinar and waitlist signups - keyword-trigger a registration link the second interest peaks.
  • FAQ deflection - auto-answer the same "how much?" or "do you ship to X?" comments without typing the reply 40 times.
  • Customer routing - send a quick reply, then hand off to a human for anything that needs nuance.

How to set it up in AFP.MONSTER

  1. Connect the Facebook Page or Instagram Business account you want to automate.

    My Accounts page with the Nova Coffee Roasters Facebook Page linked and the Connect Account button

  2. Create a keyword list with the trigger words (e.g. GUIDE, PRICE, LINK). You can match exact words or broad contains-matching.

    Keyword Lists dialog showing the Buy intent list with its keywords

  3. Open the visual workflow builder and drop in a trigger node bound to the post (or all posts) and your keyword list.

    New Comment trigger set to All Posts, connected to a Condition node that matches a keyword list

  4. Add a comment→DM action with the message you want to send - text, a link, an image, or buttons.

    Send Message node with a text DM that uses the first name variable

  5. Optionally add a public comment reply ("Just sent it your way!") so other viewers see the offer is real.

    Reply to Comment node with a public reply that tells the commenter a DM is on the way

  6. Add branching logic if needed - for example, send a different DM for PRICE than for DEMO.

  7. Publish, then test with a comment from a second account to confirm the DM arrives.

Because the builder is visual, you can layer in delays, conditions, and tags without writing any code, and your whole team workspace can see and edit the same flows.

Best practices

  • Keep the first DM short and lead with the value - deliver the promised link in the first line.
  • Use distinct keywords per offer so your analytics stay clean.
  • Always pair the auto-DM with a visible public reply; it builds social proof and confirms the bot fired.
  • Add a fallback message for people who reply to your DM, so the conversation doesn't dead-end.
  • Don't over-trigger. One clear call to action per post converts better than three competing keywords.

A note on compliance

Meta only permits messaging inside the platform's messaging windows and policies. Comment-to-DM is allowed because the user opted in by commenting, but the standard 24-hour window rules and content policies still apply. Avoid sending unsolicited promotions outside the allowed window, give people an easy way to stop, and keep your messages relevant to what they asked for. Staying inside Meta's rules protects your Page from restrictions and keeps deliverability high.

Set up correctly, comment-to-DM turns passive likes into a measurable pipeline of opted-in conversations - automatically, around the clock.

Frequently asked questions

Yes, within Meta's messaging rules. AFP sends the DM inside the allowed window after a user comments, keeping you compliant.

Yes. Attach a keyword list to the trigger so only matching comments start the comment-to-DM flow.

Text, links, and media - commonly a lead magnet, a discount code, or the link the commenter asked for.

Yes. Add a delay node in the visual builder to wait before sending the follow-up DM.

You can tailor the message per keyword trigger and include links or media relevant to what the user asked about.

Reply to every comment in DMs

Turn comments into private conversations automatically on Facebook and Instagram. 3 days free, no card.

Recommended articles