Automation Labs Logo

Social Media automation

Turn every "comment GUIDE" into a captured lead, automatically

Keyword comments get an instant DM and the lead lands in your list.

Reference buildDesigned and demonstrated end to end on Meta's official API. Not deployed for a client yet.

"Comment GUIDE and I'll send it to you" works. The problem is what happens next: 140 comments, each one needing a DM, and the post's momentum is gone by the time you've answered half of them.

Slow replies cost you twice. The commenter forgets why they asked, and you never capture their email, so the lead lives in your DMs and nowhere else.

Today

  • Reply to every comment by hand, for days
  • People who commented on Saturday get their DM on Tuesday
  • Leads stay in Instagram DMs with no email captured
  • No idea which post actually produced leads

With the automation

  • The DM goes out seconds after the comment
  • The DM links to a page that captures their email
  • Every lead is tagged with the post it came from
  • You only step in when someone asks a real question

How the workflow runs

Every step, from what starts it to what you get at the end.

Instagram Comment to DM Automation (Official API): Someone comments your keyword, then The comment is checked against your keyword, then A private reply goes out instantly, then The DM links to a capture page, then Every lead is tagged with its source post.matchquestionTriggerKeyword comment"GUIDE" on your postSystemMeta webhookOfficial Instagram APIClaudeKeyword matchTypos and variantsSystemPrivate replyOne DM, within 7 daysYouNot a matchLeft for youResultEmail capturedTagged by postInstagram Comment to DM Automation (Official API): Someone comments your keyword, then The comment is checked against your keyword, then A private reply goes out instantly, then The DM links to a capture page, then Every lead is tagged with its source post.matchquestionTriggerKeyword comment"GUIDE" on your postSystemMeta webhookOfficial Instagram APIClaudeKeyword matchTypos and variantsSystemPrivate replyOne DM, within 7 daysYouNot a matchLeft for youResultEmail capturedTagged by post
TriggerSystemClaudeHuman reviewResult
  1. 1

    Someone comments your keyword

    You post as usual with a call to action like "comment GUIDE." The automation watches that post's comments through Meta's official webhooks.

  2. 2

    The comment is checked against your keyword

    Exact matches are easy. Claude also catches typos, lowercase and "guide pls", and separates real questions from keyword requests so those come to you instead of getting a canned reply.

  3. 3

    A private reply goes out instantly

    Meta's Private Replies feature allows one DM per comment, sent within seven days of the comment. The automation sends it within seconds, while the commenter still remembers asking.

  4. 4

    The DM links to a capture page

    The link goes to a short page on your site where they enter their email to get the resource. That's what turns a DM into a lead you own.

  5. 5

    Every lead is tagged with its source post

    Your email list or CRM shows which post each lead came from, so you can see which content actually produces leads, not just likes.

What it's worth

About 5 hours saved per campaign post, and replies in seconds instead of days

150 keyword comments at about 2 minutes each to open, reply and paste a link is 5 hours.

Assumptions behind the estimate

  • A post that gets 150 keyword comments
  • Your current process is replying manually
  • Lead capture rate depends on your resource and page, so we don't estimate it

This is an estimate built from the assumptions above, not a measured client result. Your numbers will differ, and we'll work them out with you before you commit.

What it runs on

  • Meta Instagram API (Private Replies)
  • Meta webhooks
  • Claude API
  • Your email platform or CRM
  • Supabase

What we need from you

  • An Instagram professional account linked to a Facebook Page
  • The resource you're giving away and the page it lives on
  • The DM wording you're comfortable sending under your name

Now the honest part

  • Meta only allows one private reply per comment, sent within seven days. Follow-up DMs are only possible if the person replies to you.
  • Replies can land in the commenter's Message Requests folder instead of their main inbox. That's a Meta behavior we can't change, which is why the post itself should say "check your DMs."

Questions

Is this allowed by Instagram?

Yes. It uses Meta's official Private Replies feature, the same mechanism the big comment-automation tools use. No logins are automated and no scraping is involved.

Why not just use ManyChat?

If ManyChat does what you need, use it. A custom build makes sense when you want the leads going straight into your own CRM, tagging by post, or Claude handling the questions that aren't keyword requests.

Does it work on Facebook too?

Yes. Facebook Page comments support the same private reply mechanism with the same one-message, seven-day limit.

Want this for your team?

Tell us how you handle it today. We'll reply within 24 hours with what we'd build and what it would cost.

Free · 5 prompts

The Social Media Repurposing Prompt Pack

Five Claude prompts that turn one video or post into a week of platform-ready content in your own voice.

Get the free pack