Skip to content
Launching on 20 December 2026. Get an invitation
Automations

Comment to DM automation on Instagram: Meta's rules and setup

Author: Influmine editorial teamPublished 7 min read

Comment to DM automation on Instagram works like this: someone comments a keyword such as LINK under your video, and a moment later a message with the guide, training plan or link lands in their inbox. Meta allows it through the official API, with precise rules. We go through them one by one, then through a setup that respects them.

What Meta allows, in five points

If you are short on time, these are the rules every automated DM on Instagram and Facebook has to follow:

  • One private message per comment. You can send the commenter one private reply, no later than 7 days after the comment.
  • More messages only after they reply. When the person answers, the standard messaging window opens, 24 hours for most user actions.
  • The bot says it is a bot. Where the law requires it, an automated chat must disclose that it is automated. Meta recommends doing so even where it is not required.
  • No spam. Meta's Community Standards prohibit, for example, activity at very high frequencies and gating content behind likes, shares or follows.
  • Official API only. Access through Meta login (OAuth) and within the call limits. A tool that asks for your Instagram password is outside this route.

Each point is explained below, with its source.

How comment to DM automation works

Meta calls this feature a private reply. Your app is notified of a new comment, checks the keyword and sends the commenter one message to their inbox.

One message, 7 days

Meta's documentation for Instagram says: one message can be sent to the commenter, within 7 days of the comment being created. It works for comments on a post, reel, story, Live or ad. Live is the exception: you can send private replies only during the broadcast, not after it ends.

Facebook works in a similar way. A Page can send one message in reply to a comment or a visitor post, within 7 days.

In practice: if you publish on Monday and switch the campaign on a week later, you can no longer reply privately to the first comments. Turn the automation on before you publish.

The 24-hour window and message tags

You can send another message only after the person replies to the first one. That opens the standard messaging window, which lasts 24 hours for most user actions. Messages inside the window may contain promotional content.

Outside the window you can only write with a message tag, and only for approved use cases. One example is HUMAN_AGENT: it lets a person on your team answer within a separate 7-day window. It is meant for human replies and does not extend an automated campaign. Meta warns that using tags outside approved use cases may restrict your ability to send messages.

Disclosing that a bot is answering

Meta's policy for Messenger and Instagram says that when applicable law requires it, an automated chat experience must disclose that the person is interacting with an automated service. The disclosure belongs at the start of the conversation, after a significant lapse of time and when the chat moves from a human to automation. Meta names users in California and Germany as needing special attention and recommends disclosure even where it is not legally required.

One sentence in the first message is enough, for example "This is an automated message".

Opt-out and STOP

According to Meta, people can block or mute a conversation with a business at any time. Offering an easier route is more polite: "Reply STOP and I won't send you anything automated again." Anyone who sends STOP should not receive another automated message, from any campaign.

Spam and content gating

Meta's Spam Community Standard prohibits posting and engaging at very high frequencies, whether manual or automated. It also prohibits like/share-gating: requiring likes, shares, follows or any other public-facing engagement to access content.

For keyword campaigns this leads to two pieces of advice. Send the message to everyone who comments the keyword, with no "follow me first" condition. And keep the content reachable another way too, such as the link in your bio. The comment then becomes a convenient way to ask for it.

Official API only, no passwords

Instagram's Terms of Use prohibit accessing or collecting information in unauthorised ways, including automated collection without express permission. The official route is the Instagram API: a professional account, login through Meta and messaging permissions approved by Meta. A tool that wants your password and logs in as you is outside that route and puts the account at risk.

Call limits

The official API has a ceiling too. According to Meta's documentation (2026), an app can make 750 private-reply calls per hour per professional account for posts and reels, and 100 per second for Live comments. When a video takes off, comments have to wait in a queue and replies are spread over time.

Setup, step by step

1. Choose the keyword

A good keyword is short, easy to type on a phone and does not appear in ordinary comments by accident. "NICE" is a poor choice because people write it anyway. Examples from different niches:

  • food: RECIPE
  • fitness: PLAN
  • beauty: SHADE
  • gaming: SETUP
  • travel: ROUTE
  • education: PDF

Expect variations: link, Link, LINK, and an emoji after the word.

2. Write the first message

The first message has four parts: a greeting, the bot disclosure, the promised content and a way to opt out. For example:

Hi Maya, this is an automated message. Here is the guide I promised: (link). Reply STOP and I won't send you anything automated again.

Deliver what you promised in the video. If you promised a guide, send the guide, not a discount code.

The link should go to your own page: the guide, the plan or your link-in-bio page. Meta's spam rules also target deceptive links and redirects to a substantially different domain, so avoid chaining link shorteners. Add UTM parameters so your web analytics show how many visits came from the campaign.

4. Add a public reply

You can also answer publicly under the comment, for example "Sent it to your DMs". Prepare two or three variants so the replies under the video are not all identical.

5. Follow up only after a reply

When the person writes back "Thanks", the 24-hour window is open. One extra message is fine, such as "Want the shopping list too?". Anyone who did not reply gets nothing.

6. Launch before you publish

Switch the campaign on before the video goes live and put the call to action in both the caption and the video: "Comment LINK and I'll send it to your DMs."

How to measure it

Count only what you can really count:

  • comments with the keyword,
  • private replies sent,
  • link clicks (from UTM or your own page),
  • replies to the message.

That gives you two simple rates:

  • click rate = clicks ÷ messages sent × 100,
  • reply rate = replies to the message ÷ messages sent × 100.

Follower growth during a campaign is not caused by the campaign alone, because the account grows for other reasons as well. Compare it carefully, against the same period without a campaign.

How Influmine helps

In Automations you set the keyword, public replies and a message with variables, and you see a simulation on your recent comments before launch. Influmine sends each person the message only once, puts the bot disclosure in the first message, honours STOP across all campaigns and sends a follow-up only inside the 24-hour window. Replies go through a rate-limited queue, and if the network reports spam or blocking, the campaign pauses itself. On TikTok and YouTube it posts only a public reply with the link, because the official API we use there offers no private message in reply to a comment. The page for food creators shows how this looks with recipes. Planning a comment giveaway? Read the Instagram and Facebook giveaway rules as well.

Sources

This is general information, not legal advice. Valid as of October 2026.

Keyword campaign in the Automations module of Influmine with sample data
Sample data

Frequently asked questions

How many messages can I send someone who commented the keyword?

One private reply per comment, no later than 7 days after the comment. Further messages only after the person replies, inside the 24-hour window.

Is comment to DM automation allowed on Instagram?

Yes, if it runs through the official Instagram API with permissions from Meta and follows the rules on private replies, the 24-hour window and spam. Tools that log in with your password are outside the official route.

Do I have to say the message is automated?

Where the law requires it, yes. Meta mentions California and Germany in particular and recommends disclosure everywhere, so put it in the first message every time.

Can I send the link only to people who follow me?

We advise against it. Meta's Community Standards prohibit gating content behind likes, shares or follows. Send the link to everyone who comments the keyword.

Does it work on TikTok and YouTube?

In Influmine we post a public reply with the link there, because the official API we use offers no private message in reply to a comment. More in Automations.

Your next video can be a decision, not a guess.

Connect your networks, look at your own numbers and the first recommendations with evidence. If it does not help, you pay nothing.