My Story AI Challenge Free Guides Get the free kitFree kit
← All free guides
PlaybookBuild and sellFree guide

The Comment to DM Setup: Every Comment Gets a DM, and a Spot on Your List

Someone comments your word, waits, and gets nothing, or a DM with the wrong link. This is the full setup: ManyChat sends the DM in seconds, the DM asks for their email, then sends the guide. Claude Code checks every new word and writes every message for you.

1 to copy4 steps8 min read
Zach CrawfordA free guide by Zach Crawford
Claude Code
I run comment to DM automations in ManyChat. Every video ends with one word to comment, and each word gets its own DM and its own link. Help me set up the next one.
My new word: [the new word]
The free guide it sends: [the guide's name]
The link: [the guide's link]
The whole prompt is in this guide. One click copies it.

This is the start of a real prompt from this guide. It is not a result.

You put a word at the end of your video. People comment it.

Then you sit there sending the link by hand, one by one, hours later. Half of them never see it. None of them end up on your list.

Or you set up ManyChat once, then reuse the same word on the next video, and the old guide goes out instead of the new one.

Here's how I run it now. Every reel ends with one word to comment. When someone comments it, ManyChat sends them a DM in seconds. The DM asks for their email, then sends the free guide. So every comment turns into a name on my list.

1Set up the pieces once

You need three things before your first automation.

Then make a folder on your computer called DM Words. Inside it, make a plain text file called keywords.txt. Put every comment word you've ever used in it, one per line. Never used one? Leave it empty. Claude will add to it from now on.

2Have Claude check the word and write every message

Every video needs its own word, its own DM and its own link. That's the part that eats your time. So hand it to Claude.

Open the Claude desktop app, click the Code tab, and pick your DM Words folder. Fill in the three lines at the top, then paste the whole thing.

Copy and paste this
I run comment to DM automations in ManyChat. Every video ends with one word to comment, and each word gets its own DM and its own link. Help me set up the next one.

My new word: [the new word]
The free guide it sends: [the guide's name]
The link: [the guide's link]

PART 1. CHECK THE WORD
Read keywords.txt in this folder. It lists every comment word I've ever used. If the file is missing, stop and tell me.
My new word is NOT SAFE if any of these are true. Say which one:
- It's already on the list, in any capital letters.
- It's the plural, singular or another form of a word on the list (PLAN, PLANS, PLANNER).
- One word is inside the other (BOOK and NOTEBOOK).
- It's one letter off a word on the list, so a typo could send the wrong DM.
- It's a word people comment anyway, like YES, LOVE, WOW, INFO, LINK, GUIDE, FREE, SEND, DM, ME, PLEASE, NEED, WANT or THANKS.
- It's more than one word, or easy to misspell.
If it's NOT SAFE, give me 5 new words that fit the guide. Check each one the same way, show me which pass, then stop and let me pick.
If it's SAFE, say SAFE and why, in one line.

PART 2. ASK ME FIRST
Before you write any message, ask me these in one message, then wait for my answers:
1. Paste 2 or 3 DMs or captions you wrote yourself, so I can match how you talk.
2. What is the guide, in one line? What can they do once they've read it?
3. What do people get on your email list, besides this guide? (So the email ask is honest.)
4. Anything you never say, or never promise?

PART 3. WRITE THE MESSAGES
Write in my voice, from my answers. Short lines. Sound like a person, not a brand. No hype, no promised results, nothing I didn't tell you. If you need a fact you don't have, leave a blank like [ask me: ...] instead of making it up.
Give me a build sheet I can copy into ManyChat, in this order:
1. THE WORD: the exact word for the keyword box.
2. PUBLIC REPLIES: 3 short replies to the comment, under 10 words each, all different, that tell them to check their DMs.
3. FIRST DM: 1 or 2 lines that name the guide, plus one button (2 to 4 words) they tap to get it.
4. EMAIL ASK: one or two lines that say what they get and ask for their best email.
5. NUDGE: one friendly line if they don't answer, asking again.
6. GUIDE DM: a short thanks, one button (2 to 4 words) that opens my link, and one line inviting a reply.
7. ALREADY ON MY LIST: one line plus the same link button, for people whose email I already have. No email ask.
Then check every message: no long dashes, nothing made up, and the link is exactly my link.

PART 4. LOG THE WORD
When I say the messages are good, add the word to keywords.txt with today's date and the guide's name, so I never use it again. If you told me to add any extra trigger words (like a singular), log those too.

If your word fails the check, pick one of the 5 it gives you, or try your own and ask it to check again. When Claude asks to edit keywords.txt, click Allow.

3Build the automation in ManyChat

ManyChat moves its buttons around now and then. If a name below doesn't match what you see, search ManyChat's help center for "Instagram comment automation".

  1. In ManyChat, go to Automation and start a new one. You can start from the comment to DM template (it's called something like "Auto-DM links from comments") or from scratch.
  2. Pick the trigger User comments on your Post or Reel.
  3. Choose Specific Post or Reel and pick the video. (You can also pick a post you haven't published yet, or every post. For one word per video, pick the one video.)
  4. Set it to fire on specific words, and paste THE WORD from your build sheet.
  5. Turn on the public reply to comments, and paste your 3 PUBLIC REPLIES. ManyChat rotates them, so your comments don't look like a bot.
  6. Add the FIRST DM with its button. Instagram needs them to tap something before you can keep messaging them, so never skip the button.
  7. After the button, add a Data Collection step (some screens call it User Input). Set the reply type to Email, save it to the email system field, and paste your EMAIL ASK. Set the wait for an answer to an hour or so, then send the NUDGE once.
  8. Send their email to your email tool, using the connection from Step 1.
  9. Add the GUIDE DM with a button that opens your link.
  10. Optional: add a condition at the start. If ManyChat already has their email, skip the ask and send ALREADY ON MY LIST instead.
  11. Optional: add a condition before the email ask that checks they follow you. If they don't, ask them to follow first, then go on. That's how mine works, and it grows the page while it grows the list.

Save it. Don't turn it on yet.

Tip: once one automation works, make a copy of it for the next video. Then you only swap the word, the messages and the link.

4Look it over, then turn it on

Now Claude builds each one as a draft for me. I look it over, and I turn it on. Do the same with yours.

Likes are nice. A list you own is a business.

The limitations you should know

Want the next guide? Follow @zachcrawford.ai

More free guides