How to Turn Instagram Comments Into Leads With Keyword Auto-DMs

Coding Liquids tutorial cover featuring Sagnik Bhattacharya for How to Turn Instagram Comments Into Leads With Keyword Auto-DMs.
Coding Liquids tutorial cover featuring Sagnik Bhattacharya for How to Turn Instagram Comments Into Leads With Keyword Auto-DMs.

Choose one post with a clear offer, ask people to comment a single keyword, and connect a comment-to-DM tool, either Meta's own inbox automations or one such as ManyChat, to send an instant private reply. Make that first DM ask a question or show a button rather than dump a link, then collect an email or phone number and pass warm leads to a person.

One rule shapes everything else. Instagram lets a business send exactly one private reply per comment, within seven days, and you can only keep talking if the person replies, and then only within 24 hours of their reply. If your first message is a wall of links and nobody answers, that conversation is over. So the whole design goal is a first DM that earns a reply.

Follow me on Instagram@sagnikteaches

The two Meta rules your flow has to respect

Every comment-to-DM tool, including Meta's own, works through the same feature, which Meta's developer documentation calls private replies. Its limits aren't settings you can change:

Connect on LinkedInSagnik Bhattacharya
  • One message per comment, sent within 7 days of the comment on a post or Reel. For live broadcasts, only during the broadcast.
  • Follow-ups only after they respond, and within 24 hours of that response.

What that means in practice: you can't send a sequence of three DMs to someone who commented and went quiet, you can't come back a week later with a reminder, and anyone who comments twice gets two chances, not unlimited ones. Tools that promise otherwise are either wrong or doing something that risks your account.

Subscribe on YouTube@codingliquids

Pick an offer worth typing a word for

A comment is a tiny effort, but it's still an effort, and people only make it for something specific. The worked example is an invented but typical one: a florist with a shop and a busy Instagram account, whose best-selling moment of the year is the short peony season. Here's her offer alongside ideas for other small businesses:

BusinessOffer in the postKeywordWhat the DM delivers
FloristPeony season is three weeks long; pre-order list opens FridayPEONYPre-order link and early access
BakeryOur celebration cake sizes and prices, in one guideCAKEPrice guide and order form
Independent bookshopAutumn book club: the eight titles we're readingREADThe list and a sign-up form
Dog groomerHow to brush a doodle between grooms, free guideBRUSHGuide and a booking link
Bicycle repair shopWinter service slots for commuters, limitedSERVICEAvailable dates and a booking link

The strongest offers have a reason to act now (a season, a limited list) or something genuinely useful to download. If you need to make the guide or checklist itself, creating lead magnets with AI covers that; this tutorial is about the delivery.

Choosing a keyword that triggers the right people

A good keyword is one word, obviously connected to the offer, and unlikely to appear in an ordinary comment. Rules that save grief:

  • Avoid everyday words. "Yes", "info", "price", "love" and "want" appear in normal comments and will fire the DM at people who didn't ask.
  • Match variants. Set the trigger to catch "peony", "Peony", "PEONY" and "peonies". Some tools match exact text and are case-sensitive, Meta's own keyword automations included, so test what yours does.
  • Put the keyword in the caption, the first line and on the image or video, so people who don't read captions still see it.
  • Use a different keyword per campaign, so you can tell which post produced which leads.

A realistic mistake, from an illustrative bookshop: its first campaign used LIST as the keyword on a post that also asked "what's on your reading list?" About 60 people answered the question in good faith with sentences containing "list" and received an automated DM about a book club they hadn't asked about. Three replied asking why. The fix was READ on the next post and removing the question from the caption.

Meta's built-in automation or a tool like ManyChat

Meta Business Suite's inbox includes free automations for Instagram and Facebook: instant replies, away messages, FAQs, and custom keyword replies (up to five keywords, set up on desktop). Meta has also been adding automations triggered by comments; check the Automations section of your inbox to see what your account offers. Dedicated tools such as ManyChat add branching flows, email and phone capture, tags, integrations and AI features.

Meta Business Suite automationsManyChat and similar tools
CostFreeSmall free plan; paid plans priced by the number of contacts
Keyword triggersA few exact keywordsMany keywords, variants, per-post triggers
Buttons and branchesBasicMulti-step flows with choices
Collecting emails or phone numbersManualBuilt in, with fields saved to the contact
Sending leads elsewhereManualIntegrations with email tools, sheets, CRMs, Zapier
AI repliesVaries by accountAvailable on paid plans

ManyChat restructured its plans in March 2026, and its free plan is now small; check its pricing page for the current contact limits before building around it. If you're comparing several tools, Instagram DM automation tools compared covers the field. For a single campaign with one keyword and one link, Meta's free tools may be enough; for anything that captures contact details and feeds a list, a dedicated tool usually pays for itself in time saved.

Build the flow in seven steps

  1. Connect the Instagram professional account to your tool and give it permission to manage messages. Allow access to messages in Instagram's settings if prompted.
  2. Create the trigger: "user comments on [this post]" with your keyword and its variants. Tie it to the specific post rather than all posts.
  3. Add a public comment reply so people know to check their messages. Use four or five rotating versions so the comment section doesn't look like a bot wrote it.
  4. Write the first DM with a question or a single button (scripts below).
  5. Add the second step, which only runs if they reply or tap: deliver the thing, and ask for an email or phone number with a clear reason.
  6. Tag the contact with the campaign and interest ("peony-2026", "wedding enquiry"), and notify a person for anything that needs one.
  7. Test from a personal account: comment the keyword, a misspelling, a sentence containing it, and a comment without it. Check each behaves as intended, then publish the post.

Set the automation up before the post goes live. Many tools don't act on comments made before the automation was switched on.

The first three messages, written to earn a reply

Here's the difference between a first DM that ends the conversation and one that starts it. The florist's first draft:

Hi! Thanks for your interest in our peonies. Pre-orders open Friday at 9am here: [link]. Delivery is available within our area, $8. Bouquets from $45. Follow us for more! [link] [link]

It answers everything and asks nothing, so most people read it and leave, and the florist can never message them again. The version she used:

Hi, it's the shop here. Peony season is short this year, so we're giving the pre-order list first pick on Friday. Want me to add you? [Yes, add me] [Just show me prices]

A tap on either button counts as a response, which opens the 24-hour window for the next message. Step two for "Yes, add me":

Lovely. What's the best email for the early link? We'll only use it for peony season and our monthly flower notes, and you can unsubscribe any time.

And for "Just show me prices", deliver the prices and then offer the list once: "Bouquets from $45, delivery $8. Pre-orders open Friday at 9am. Want the early link by email so you don't miss the first batch?"

The public comment replies need variety. An assistant can write them in seconds: ask for "six short, warm replies to people who commented PEONY, telling them to check their DMs, in the voice of a small florist, under 12 words each, no emojis beyond one flower". Then delete any that sound like an advert. If your captions and replies don't sound like you yet, writing Instagram captions with AI that sound like you helps set the voice.

Where AI earns its place in the flow

Buttons handle the predictable path. People don't always use them; they type "do you deliver to the hospital?" or "can I get white ones for a wedding in June?" That's where an AI step helps, by sorting free-text replies so the right ones reach a person fast. A classification prompt of the kind you'd put in an AI step:

You sort Instagram DM replies for a small florist's peony pre-order campaign.
Classify the message into ONE of:
PREORDER (wants to buy or be on the list), PRICE (asking cost),
DELIVERY (asking where or when), WEDDING_EVENT (event or wedding enquiry),
OTHER. Then give a one-line summary and say HUMAN if a person should reply.
Wedding, funeral, complaint or anything about a specific date = HUMAN.
Reply format: CATEGORY | summary | HUMAN or AUTO

Sample output for three replies (illustrative):

"do u deliver to the hospital on sat" → DELIVERY | hospital delivery, Saturday | HUMAN (specific date)

"yes pls add me" → PREORDER | wants the list | AUTO

"could you do 20 jars of white peonies for a wedding 14 June" → WEDDING_EVENT | 20 jars white peonies, wedding 14 June | HUMAN

That wedding enquiry is worth more than every other lead in the campaign put together, and without the sorting step it would have sat in the inbox with 150 "yes pls". What AI shouldn't do here is promise dates, quote custom prices or answer anything it hasn't been given facts for. Keep its free-text answers to things in a short fact sheet (prices, delivery areas, the pre-order time) and send the rest to a person. For making automated DMs sound less mechanical overall, see automating Instagram DMs without sounding like a bot.

Getting the leads out of Instagram

A lead that only exists inside Instagram DMs is fragile: you can't message them after the window closes, and you can't easily see them all in one place. Capture a few fields and send them to wherever you already keep contacts:

  • Fields: Instagram handle, first name, email or phone, campaign tag, interest, date, consent wording shown.
  • Destination: your email tool (most comment-to-DM tools connect directly), a spreadsheet via an integration or Zapier, or your CRM.
  • Consent: say what you'll send and how often, as the florist's step two does, and add the contact to your list only with that agreement.

Then send something useful within a day, not a week. A welcome email sequence built with AI is the natural next step for anyone who gave an email address.

The florist's peony campaign, with numbers

One Reel and one carousel post, keyword PEONY, running for ten days before pre-orders opened. The figures are illustrative:

StageNumberRate
Comments with the keyword340
First DMs delivered32696% (a few commenters had message settings that blocked it)
Replied or tapped a button17152% of DMs delivered
Gave an email address10461% of those who replied
Pre-ordered in week one3837% of emails collected
Wedding or event enquiries passed to the owner62 booked

At an average pre-order of $52, the 38 orders came to about $1,980, and the two weddings were worth far more. The setup took about three hours: an hour choosing the offer and writing messages, an hour building and testing the flow, and an hour on the Reel. The tool cost one month of a paid plan. The lesson she wrote down for next year: the button version of the first DM got more than twice the replies of a plain-text test she ran on a smaller post the week before.

Keeping your account out of trouble

Comment-to-DM automation is allowed and widely used, but a few habits keep you safely inside Meta's rules:

  • Use a tool that connects through Meta's official platform. Never give a tool your Instagram password to log in as you.
  • Only message people who commented the keyword. Don't try to DM followers in bulk or scrape commenters from other accounts.
  • Keep the public replies varied and the DMs relevant to what was asked.
  • Make a person reachable. "Reply HELP and I'll answer myself" is enough.

What actually gets accounts restricted is covered in detail in is Instagram DM automation safe?

What to measure, and what to change first

Track the funnel in the table above for each campaign: comments, DMs delivered, replies, contacts captured, sales. Each stage points to a different fix:

  • Few comments: the offer or its visibility is the problem, not the automation. Put the keyword on the image and in the first line.
  • Lots of comments, few replies: the first DM isn't earning a response. Try buttons, a shorter message, or a direct question.
  • Replies but few contacts: the reason to share an email isn't clear enough, or the ask comes too early.
  • Contacts but few sales: the follow-up is slow or generic.

An illustrative bakery running its CAKE price guide found the bottleneck at the third stage: 58% replied, but only 20% of those gave an email, because the DM asked for it before showing any prices. Moving the email request after the guide doubled the capture rate on the next post. Change one thing per campaign and you'll know which change did it.

Switching the automation off when the offer ends

Posts keep collecting comments for weeks, and an automation left running after the offer has closed sends people a link to something they can no longer buy. Before the offer ends, change the first DM rather than deleting the automation. The florist's end-of-season version read: "Peony season has finished for this year, sorry. Want a message when next year's list opens, or when our garden roses arrive in July?" with two buttons. It collected another 41 email addresses in the month after the season closed, from comments that would otherwise have been ignored. Put a reminder in your calendar for the day an offer ends, because no tool will remember for you.

Comment-to-DM automation: common questions

Can I send the auto-DM to people who liked the post but didn't comment?

No. The private reply feature is tied to a comment: Instagram lets a business send one private message in response to a specific comment. Likes, saves and views don't open a conversation. That's why the post has to ask for a comment with the keyword, and why the offer needs to be worth the small effort of typing it.

Does comment-to-DM automation work on ads and Reels?

Meta's documentation says private replies work on comments on professional accounts' posts, Reels, stories, live broadcasts and ad posts, with the 7-day limit applying to posts and Reels and live comments answerable only during the broadcast. Whether your chosen tool supports each surface varies, so check its settings before building a campaign around an ad.

Will the automation reply to old comments on a post?

Only within the 7-day window, and only if your tool processes comments made before you switched the automation on, which many don't. Set the automation up before the post goes live. If you add it to an older post that's still getting comments, new comments will trigger it but earlier ones usually won't.

Further reads

Sources: Meta for Developers documentation on Instagram private replies; Meta Business Help Center pages on automated responses and custom keywords in Meta Business Suite; ManyChat plan information (restructured March 2026).

Want your comment-to-DM flow built and tested?

On a 1:1 call we'll choose the offer and keyword, write the first three messages, and connect the leads to your email list or CRM so warm ones reach a person quickly.

Book a 1:1 call with me