Answer Every Comment Without Typing Them
Your warmest leads are sitting in your comments right now, unanswered. Here is the system I set up once that handles them while I sleep.
What you'll walk away with
- The keyword rules that decide whether anything fires at all
- Three reply variants so forty people do not get one message
- The polling setup that skips Meta app review entirely
Two ways to do this
Want to set this up immediately without having to build it?
If you want this immediately instead of building it yourself, BetterReply does all of this out of the box. I use BetterReply for my entire social media. This link gives you a 14 day free trial, instead of their usual 7 day free trial.
Start Your 14 Day FREE TrialOtherwise, build it yourself. The rest of this page is the system, exact rules, and prompts I use.
One note before we start. I use BetterReply to run all of this for me, automatically. If you would rather not pay for it, here is how to do the whole thing by hand.
Go do something for me first. Open your last ten posts and count the comments you never answered. I did this and the number was 41. Forty one people who had already watched the whole thing, already knew who I was, and then went out of their way to type something. I walked past every one of them while paying money to reach strangers.
That is the whole argument. A comment is the warmest lead you will ever get, and almost nobody works them, because answering comments by hand at 11pm does not scale past about twenty a day. So you build a system once instead.
Pick your keywords
Step 1: pick your keywords.
- 1A keyword is one word someone comments to get something specific from you. Mine are things like GUIDE, CONTENT, SETUP.
- 2One word, no spaces, letters and numbers only. This is the rule people break first. A keyword with a space in it can never match cleanly, and you will spend a week wondering why nothing fires.
- 3Make it obvious and easy to spell out loud. If you have to spell it in the video, it is the wrong word.
- 4One keyword per thing you give away. Do not point three keywords at the same link, you lose the ability to tell which video actually worked.
Write three replies, not one
Step 2: write three versions of every reply, not one.
- 1Write three different messages for each keyword and let the system rotate them.
- 2This is the single biggest thing that separates a system that works from one that gets your account flagged. If forty people comment the same word and all forty get a identical message, word for word, your comment section reads like a bot convention.
- 3Keep them short. Two lines and the link. Nobody reads a paragraph they did not ask for.
- 4Write them so they make sense in public. More on that in step 3.
I need three short reply messages for a comment keyword automation.
The keyword is: [KEYWORD]
What the person gets: [WHAT YOU SEND]
The link: [YOUR LINK]
Rules:
- Each one is two short lines maximum, then the link.
- All three say the same thing in completely different words. Do not just swap synonyms.
- Write them so they read fine as a PUBLIC reply as well as a private message, so never say "check your DMs" or "sent to your inbox".
- Sound like a person typing quickly, not like a brand. No exclamation marks, no emoji.
- Match my writing voice from the samples I am about to paste.tap to copyAnswer in public too
Step 3: answer in public AND in private.
- 1Every keyword comment should get two things. A short public reply under the comment, and the actual delivery.
- 2The public reply is the part most people skip and it is the one that compounds. Everyone else scrolling the comments sees that you answer. That is social proof you cannot buy.
- 3Here is the trap. Instagram and Facebook let you send a private message. YouTube, Threads and LinkedIn do not have that door, so whatever you wrote as the private message posts publicly instead.
- 4So write every message as if it will be public, because on half your channels it will be. Never write "sent to your inbox" or "check your messages". Write "here it is" and the link.
That one rule will save you a genuinely embarrassing week. I have seen automations promise a DM on a platform with no DM, so the promise posts publicly and nothing ever arrives. The person who commented thinks you lied to them.
Make it sound like you
Step 4: make the replies sound like you.
- 1If you let AI write the replies, it will get clocked. Perfect grammar, three neat clauses, and one word you have never said out loud in your life.
- 2Fix it with a file. Write down how you actually talk. What you say, what you never say, where you break your sentences, the words you overuse.
- 3Feed that file to the model before it drafts anything. I keep mine as VOICE.md and it goes into every prompt.
- 4I wrote a full guide on this. It is linked at the bottom of this page.
Step 5: the four rules that keep it from going wrong.
- 1Never reply to yourself. Match on the commenter account id, not on a list of handles. Handle lists break the day you rename, and then your automation has a conversation with itself in public forever.
- 2Only auto answer fresh comments. The age of the COMMENT decides, not the age of the post. A 48 hour window is about right. Someone commenting on a two year old video still deserves an answer, but a bot answering a two year old thread at 3am looks exactly like what it is.
- 3Answer each person once per post. Dedupe on the post, not globally, or a repeat viewer never gets an answer on your next video.
- 4Have an off switch and test that it actually works on every path. A kill switch that only covers one of your three send paths is not a kill switch.
What you need first
That is the system on paper. Now the part the guides always skip. Actually building it.
Get these three things first. None of them cost anything.
- 1An Instagram professional account, either Business or Creator. You switch it in your settings and it takes about a minute. A personal account has no API at all, so nothing below this line works until you do that.
- 2A developer app at developers.facebook.com. Free. You are making one for yourself, not shipping it to an app store, and it never leaves your account.
- 3Somewhere for it to run on a timer. I use a Vercel cron job on the free plan. Any machine that stays on works.
Set up the Meta side. It is the boring part and you only do it once.
- 1Go to developers.facebook.com, create an app, and connect your Instagram professional account to it.
- 2Ask for two permissions. instagram_business_basic and instagram_business_manage_comments. Those two cover reading your comments AND sending the private reply, which surprised me, because the DM half sounds like it should need a messaging permission of its own.
- 3Generate an access token. Put it in an environment variable and never paste it into a file you commit. If that sentence means nothing to you, tell Claude Code exactly that and it will walk you through it.
- 4Grab your Instagram account id. Claude Code can pull it in one API call.
Skip the webhooks
Now the call that decides whether this ships in a weekend or never ships at all. Meta has webhooks that fire the second someone comments, and every tutorial you will find points you straight at them. What those tutorials leave out is that the comments webhook needs Advanced Access, business verification, and your app flipped to Live. That is the exact gauntlet you just avoided.
So do not use webhooks. Read your own comments on a timer instead. Once a minute is plenty, nobody on earth notices a sixty second delay on a DM, and reading your own comments works on Standard Access today with nothing to apply for.
Here is what the thing actually does, in order.
- 1Every minute, pull the comments on your recent posts.
- 2Look for your keywords in each one. Ignore capitals, and match the word even when it is buried in a sentence, because plenty of people type "send me GUIDE please" instead of the word on its own.
- 3Skip it if the commenter is you. Match on the account id, not on your handle.
- 4Skip it if you already answered this person on this post.
- 5Send the private reply, picking one of your three variants at random.
- 6Post the public reply under the comment.
- 7Write a row in a log. Who, which keyword, which post, which variant, and what came back.
I want to build a comment to DM system for my own Instagram professional account. I am not a developer, so explain your choices as you go and tell me when you need something from me.
What it does:
- Every minute, read the comments on my recent posts
- If a comment contains one of my keywords, send that person a DM with the matching link, and post a short public reply under their comment
- Rotate randomly between three message variants per keyword, so forty people do not all get identical text
- Log every send: who, keyword, post, variant, and the API response
Hard rules, none of these are optional:
- Never reply to my own comments. Compare the commenter account id to my account id. Do not use a list of handles.
- Only answer comments made in the last 48 hours. Judge the age of the COMMENT, not the age of the post.
- One reply per person per post. Store it somewhere a restart cannot forget, or you will double send.
- One kill switch environment variable that every single send path checks before it sends anything.
- Space the sends out instead of firing them all at once.
Technical notes:
- Use the Instagram API with Instagram Login. Permissions: instagram_business_basic and instagram_business_manage_comments.
- Private reply is a POST to /<MY_IG_ID>/messages with recipient set to {"comment_id": "..."}. Public reply is a POST to /<COMMENT_ID>/replies.
- POLL on a schedule. Do not build webhooks, they need Advanced Access and I do not have it.
- Keep my token in an environment variable. Never write it into a file, a log line, or the console.
Before you write any code, give me the plan and a list of everything you need from me.tap to copyTest it somewhere harmless
One more that genuinely surprised me. If the person does not follow you, your DM lands in their message Requests, not their inbox. It is delivered, it is fine, but they have to go looking for it. That is why the public reply is not a nice extra. It is the thing that tells them to go look.
Test it somewhere harmless before you put a keyword in a real caption.
- 1Put up a throwaway post. Comment your keyword from a second account and watch the log.
- 2Comment the same word again from that same account. Nothing should go out the second time. If it sends twice, your dedupe is broken and you just found it on a post nobody is looking at.
- 3Comment from your own account. Nothing should happen at all.
- 4Flip the kill switch on and comment again. If anything still sends, your kill switch is not covering every path, which is the entire reason you test it.
- 5Now put a keyword in a real caption.
That is the whole thing. Keywords, three variants each, public reply plus delivery, a voice file so it sounds like you, four guardrails, and a script on a one minute timer. Set it up once and it runs. Mine answered thirty people between midnight and 6am last week and I did not touch my phone.
The full course goes deeper on the build side, including the voice file setup and the prompts I use to generate a whole keyword library at once.
The Claude Code Course
Liked this? There's 50x more in the course.
- Getting Started setup guide + prompts
- Quick Wins library (growing monthly)
- Step-by-step website and dashboard builds
- All future sections + updates forever
$47 once. Keep forever. Full refund within 14 days.