HeyDM Logo
Tutorials

How to Automatically Send a DM When Someone Comments on Your Instagram Post (2026)

Comment a keyword, get a DM: how Instagram comment-to-DM works, the 7-day and one-DM rules, and a 7-step HeyDM setup with example DMs.

How to Automatically Send a DM When Someone Comments on Your Instagram Post (2026)

You post a Reel that ends with "Comment PLAN and I'll send you my 7-day meal plan." Two hours later there are 300 comments saying PLAN, and every one of those people is waiting for a DM. Sending them by hand takes an evening. A comment-to-DM automation sends them while you're still reading the first few comments.

This guide covers what happens on both sides of the chat, the rules Instagram puts on these messages, and how to set one up in HeyDM in a few minutes. If you're new to automation in general, start with our beginner's guide to Instagram DM automation.

What Happens When Someone Comments

Here's what a follower sees:

  1. They comment your keyword, say PLAN, on the Reel.
  2. A public reply appears under their comment, something like "@riya_fit sent it to your DMs!", so other viewers can see that commenting works.
  3. A DM from your account arrives a few seconds to a few minutes later, with the link, file or offer.
  4. If you've switched on ask-to-follow, the DM first asks them to follow you and sends the link once they do.

On your side, you set one rule: if someone comments [keyword] on [this post], send them [this message]. After that it runs day and night, including the hours when a Reel usually picks up speed and you're asleep.

Can Instagram Do This Without an App?

Partly. Meta Business Suite has a basic Comment to message automation, set up from a computer, that sends a fixed DM when a comment contains a keyword you choose. It's free and fine for a single link on a single post.

What it doesn't do is the part that makes comment-to-DM worth running at scale: asking people to follow before they get the link, collecting an email or phone number in the chat, varying the wording so a thousand people don't get identical text, pacing replies during a spike, or switching automation on for posts you published months ago. For that you need a tool built on Meta's official API, such as HeyDM, ManyChat or the others in our comparison of DM automation tools.

The Rules Instagram Puts on Comment DMs

Every official tool works inside the same limits, because they come from Meta's API, not from the tool:

  • One DM per comment. Instagram allows a single private reply to each comment. Anything after it can only go out once the person replies.
  • Within 7 days. The private reply has to be sent within 7 days of the comment. For comments on a Live, only while the Live is running.
  • 24 hours after a reply. Once the person writes back, you can keep the conversation going for 24 hours from their last message.
  • No cold DMs. The person has to act first: comment, reply to a Story or message you. A tool that offers to DM your whole follower list isn't using the official API.
  • A professional account. Creator or Business. Personal accounts can't be automated.

The practical upshot: your first DM has to carry the link, or a button that leads to it, because it may be the only message you get to send.

How to Set It Up in HeyDM

1. Connect your Instagram account

Start the 14-day trial and connect Instagram. HeyDM uses Instagram's own login, so you sign in on Instagram's screen and HeyDM never sees your password. You don't need a Facebook Page. Before you start, check that Allow access to messages is on in the Instagram app: Settings and activity → Messages and story replies → Message controls → Connected tools.

2. Pick the post

Choose the Reel or post the automation should watch. You can also set it up for your next post before you publish it, or switch it on for an older post that still gets comments.

3. Choose the keyword

One short word works best, and it should be something nobody types by accident: PLAN, GUIDE, PRICE, LINK, BOOK. Avoid "yes", "hi" or "nice", which turn up in ordinary comments. Add the variations people actually type (guide, guides, GUIDE 🙏), because almost nobody types it exactly the way you said it.

4. Write the public reply

Keep it short and add a few versions so your comment section doesn't read like a bot wrote it: "Sent! Check your DMs", "Done, it's in your inbox", "Just sent it over". HeyDM tags the commenter in each reply automatically.

5. Write the DM

Two or three lines, in the voice you use in your videos. Lead with the thing they asked for:

Hey Riya! Here's the 7-day meal plan you asked for: [link]
Day 1 is the easiest, start there. Reply here if you get stuck on any recipe.

If your audience comments in Hinglish, reply the same way:

Hi Riya! Yeh raha aapka 7-day meal plan: [link]
Day 1 se start karo, woh sabse easy hai. Koi doubt ho toh yahin reply kar dena.

For more ready-made messages, including prices, bookings and follow gates, see 59 auto-DM templates you can copy.

That last line matters. When someone replies, Instagram opens a 24-hour window, so you can answer their question or send a follow-up. HeyDM's AI message variations can write several versions of the DM, so each person gets slightly different wording.

6. Decide on ask-to-follow or lead capture

Ask-to-follow sends the link only after the person follows you. It's a good trade on posts that reach a lot of non-followers, like a Reel that's being shown on Explore. Lead capture asks for an email or phone number in the chat before the link, which suits coaches and stores that follow up outside Instagram. Pick one per automation. Each extra step loses some people.

7. Test it from a second account

Tools never DM the account that owns the post, so comment from a friend's account or a second account of your own. Check that the public reply appears, the DM arrives and the link opens. If the DM doesn't show up, look in Message Requests first. Our comment automation troubleshooting guide covers everything else.

Writing a Caption People Act On

The automation only works if people comment. Captions that get comments say three things: what they'll get, the exact word, and where it will arrive.

  • "Comment PLAN and I'll DM you the full 7-day meal plan. Free."
  • "Want the price list? Comment PRICE and it'll be in your inbox in a minute."
  • "Comment GUIDE for the PDF. Don't follow me yet? Check Message Requests."

Say the word in the video and put it on screen as well. Plenty of people watch with the sound off and never open the caption.

Ideas by Type of Account

  • Creators: templates, presets, checklists, recipes, workout plans.
  • Coaches and educators: a free class, a booking link or a short PDF on one problem. See DM automation for coaches and freelancers.
  • Online stores: the product link with a commenter-only discount code, or the size chart people keep asking for. More in our comment-to-DM sales guide.
  • Real estate and services: a brochure, price sheet or site-visit booking link. Our real estate guide goes deeper.
  • Giveaways: confirm the entry by DM and ask for a phone number so you can reach the winner later.

Is It Safe for Your Account?

Sending a DM to someone who commented is something Instagram supports on purpose: the private replies feature in Meta's API exists for exactly this. What gets accounts into trouble is the pattern around it: hundreds of identical DMs in a few minutes, links that look like spam, or tools that log in with your password.

Use a tool on the official API, vary your messages, keep a sensible hourly limit (HeyDM's Smart Safe Mode handles delays and pacing for you) and only message people who asked. No tool can guarantee an account will never be restricted, but those habits keep the risk low. More detail in does DM automation cause bans?

FAQ

How fast does the DM arrive?

With no delay set, usually within seconds. HeyDM lets you set a wait of up to 60 minutes before the first DM, which looks more natural on a busy post.

Do people who don't follow me get the DM?

Yes, but it may land in their Message Requests. Ask-to-follow, or a line in your caption telling people to check requests, helps.

Does it work on Reels and carousels?

Yes. Comment-to-DM works on Reels and feed posts, carousels included. Replies to your Stories use a separate Story automation.

Can I switch it on for an old post?

Yes. HeyDM can turn automation on for posts you published earlier, so new comments on them get the DM from then on.

Is there a limit on how many DMs I can send?

Instagram allows up to 750 private replies an hour per account. HeyDM has no monthly DM cap; you set your own hourly limit in Smart Safe Mode.

Want to try it on your next Reel? Start a 14-day free HeyDM trial and set up the automation before you post, so the first comments get their DMs too.

HeyDM × Meta Verified

Automate your Instagram like a Pro 🚀

Use HeyDM's Instagram Auto DM tools to engage users instantly, generate leads, and grow faster — without manual work.

Create Free Account →