Blog

How to Auto Reply to Instagram Comments With a DM

19 October 2026

You can auto reply to Instagram comments with a DM by setting a keyword on a post and letting an automation send the private message each time it appears. The best setups do two things at once: the DM delivers the link or file, and a short public reply under the comment tells everyone else that something happened. Viralyze handles both, using the official Instagram API so the replies stay within Meta's rules.

This article covers how the two replies work together, how to keep them from looking robotic, and what to do with the conversations they start.

What is the difference between a public reply and a DM reply?

The DM is private and carries the real content. The public reply is a short comment posted under the person's comment, visible to everyone scrolling the thread.

The public reply matters more than it looks. When a new viewer sees twenty comments saying "KUNDLI" and twenty replies saying "Sent you a DM 💌", they understand instantly what to do. The thread becomes its own instruction.

How do you keep automated replies from looking copy-pasted?

Vary them. Viralyze rotates the public reply between several variations you approve, and it applies AI variations to the DM so each person gets slightly different wording with the same meaning.

It also replies in the commenter's language. If someone writes in Hindi or Hinglish, the reply can match, which reads as far more human than a fixed English line.

How do you set it up?

An astrologer offering birth-chart readings could set it up like this:

1. Choose the post announcing the readings. 2. Add keywords: "KUNDLI", "reading", "kundli bhejo". 3. Write the DM and attach the booking page, so the person can pick a slot and pay by UPI. 4. Turn on the public reply and add two or three variations such as "Check your DMs", "Sent it over 🙏" and "Details in your inbox". 5. Test with a sample comment and go Live.

From then on, every "KUNDLI" comment gets a booking link privately and a short acknowledgement publicly.

Does Instagram allow this kind of auto reply?

Yes, within limits. Instagram permits one private reply per comment, sent within 7 days of that comment, and only from Business or Creator accounts through the official API. Viralyze is a Meta Tech Provider and enforces those limits for you.

What is not allowed is messaging people who never engaged with you, or using tools that ask for your Instagram password. You log in on Meta's own screen, and nothing is posted to your feed.

What happens when people reply to the DM?

Their messages land in one Inbox inside the app, with the comment that started it shown as context. You can answer from the app or in Instagram, within the 24-hour reply window.

Every conversation becomes a contact tagged with its source. For the astrologer above, that means a list of everyone who asked about a reading, bookers and non-bookers alike, ready to export as CSV before the next launch.

Can you reply to story replies too?

Yes. The same automation can trigger on replies to any story or one specific story. Post a story saying "Reply READING to grab a slot", and the booking link goes out the same way.

Frequently asked questions

**Can I turn off the public reply and only send the DM?** Yes. The public reply is optional, and some creators prefer a quiet thread for paid offers.

**Will it reply to old comments made before I turned it on?** It replies to matching comments within Instagram's 7-day window, so recent comments on the post can still receive the DM.

**What if two people comment at the same time?** Each comment is handled separately and each gets its own DM, usually within about a second.

Start the 7-day free trial of Viralyze, no card needed, and let your comments answer themselves.

← All posts