# What Is Comment-to-DM Automation? Meaning and Rules

> Comment-to-DM automation sends a private message to people who comment a keyword on your post. How it works, the rules Meta sets, and when it is the wrong tool.

Type: Glossary term · Updated: 2026-11-12 · Written by [Karim Radwan](https://automationtoolsforcreators.com/authors/karim-radwan) · Reviewed by [Shatla.io Team](https://automationtoolsforcreators.com/shatla-io-team) · Topic: [Comment and DM automation](https://automationtoolsforcreators.com/topics/dm-automation) · Canonical: https://automationtoolsforcreators.com/what-is-comment-to-dm-automation

## Short answer

Comment-to-DM automation sends a private message to a person who comments on your post, usually when the comment contains a keyword such as GUIDE. It runs through Meta's official API, which allows one private reply per comment, sent within 7 days of the comment [1].

## Key takeaways

- The trigger is a comment; the answer is one private message to the person who wrote it [1].
- Meta allows one private reply per comment, within 7 days of the comment [1].
- If the person answers your message, a normal 24-hour window opens for more messages [2].
- You need a professional Instagram account with access to messages turned on for connected tools [3].

## How does comment-to-DM automation work?

A tool watches the comments on a post. When a comment matches your keyword, it sends that person one private reply and, if you want, a short public reply under the comment.

Every setup has the same three parts:

| Part | What happens | Who sees it |
| --- | --- | --- |
| Trigger | A comment on the chosen post contains your keyword | Everyone on the post |
| Private reply | One message goes to the person who commented | Only that person |
| Public reply (optional) | A short answer appears under the comment | Everyone on the post |

The private reply is linked to the comment, so the person does not need to message you first. It lands in their main inbox or in their message requests, depending on whether they follow you [1].

### A worked example

A fitness coach posts a reel and writes "Comment PLAN and I will send you my free 4-week plan." Someone comments "PLAN please". The tool sees the word PLAN, sends the person a message with a button to the plan, and replies "Sent, check your messages" under the comment. The coach did nothing by hand.

## What rules does Meta set for private replies?

One private reply per comment, sent within 7 days of the comment. After the person answers, you have 24 hours to keep talking. Live comments can be answered only while the broadcast runs [1].

These rules come from Meta's developer documentation, which every approved tool has to follow:

- **One message per comment.** Only one private reply can be sent to the commenter [1].
- **Within 7 days.** The reply must go out within 7 days of the comment [1]. Old posts with old comments cannot be answered this way.
- **Live video.** Comments on a live broadcast can get a private reply only while the broadcast is running [1].
- **The 24-hour window.** When the person writes back, a standard messaging window of 24 hours opens [2]. Outside it, an automation cannot message them.
- **Human agent replies.** A person on your team can answer by hand inside a separate 7-day window, using Meta's human agent tag [2].
- **Say it is automated where the law asks.** Meta requires automated chats to disclose that they are automated when applicable law requires it, and recommends it anyway [2].

## What do you need before you set it up?

A professional Instagram account (Business or Creator), message access turned on for connected tools, and a tool that uses Meta's official API [3].

1. **A professional account.** Personal Instagram accounts cannot connect to messaging tools. Business and Creator accounts both work [3].
2. **Message access.** In Instagram, go to Settings, then Messages and story replies, then Message controls, then Connected tools, and turn on Allow access to messages [3].
3. **An approved tool.** Use a tool that connects through Meta's login and never asks for your Instagram password.
4. **One offer per keyword.** A guide, a link, a discount code. One clear thing keeps the message short.

## How is it different from other DM automations?

The difference is the trigger. Comment-to-DM starts from a public comment; keyword DM replies start from a message; story automations start from a story reply.

| Automation | What starts it | Typical use |
| --- | --- | --- |
| Comment-to-DM | A comment on a post or reel | Send a guide, a link or a code to everyone who asks in the comments |
| Keyword DM reply | A message that contains a keyword | Answer common questions such as "price" or "link" |
| Story reply automation | A reply or mention on a story | Send a booking link to people who react to a story |

Comment-to-DM is the only one of the three that also works as public proof: other readers see the comments and the public replies.

## When is comment-to-DM the wrong tool?

When the conversation needs a person, when the comments are older than 7 days, or when you would message people who never asked.

- **Questions that need judgment.** A keyword cannot tell a buyer from a complaint. Read those comments yourself.
- **Old posts.** Comments older than 7 days cannot get a private reply [1].
- **People who did not ask.** Instagram's guidelines ban repeatedly contacting people for commercial purposes without their consent [4]. Only answer people who commented.
- **Long offers.** One message per comment means you cannot send a sequence unless the person writes back [1].

## Do it in Shatla.io

In Shatla.io a comment automation takes five steps: connect the account, pick the post, add keywords, write the message, then save it and test it.

Shatla.io answers comments on Instagram and Facebook Pages through Meta's official API, so every message follows the rules above, including the 24-hour window. The follow-first option is for Instagram only; Facebook Pages do not have it. Replies to comments on ads and a follow-up message are on [paid plans](https://shatla.io/pricing?utm_source=atfc&utm_medium=hub&utm_campaign=what-is-comment-to-dm-automation). More on the [comment automation page](https://shatla.io/comment-link-automation?utm_source=atfc&utm_medium=hub&utm_campaign=what-is-comment-to-dm-automation).

Checked against the Shatla.io product on 12 November 2026. The screenshots come from the Shatla.io screenshot library: a placeholder store shown in the real app, with example names and numbers, not a customer ([how we check](/shatla-io-team)).

1. Connect your professional Instagram account or Facebook Page with Meta's login. Shatla.io never asks for your password.
2. Create a comment automation. Choose any post or reel, one specific post or reel, or, on Instagram, the next reel you publish; on paid plans you can also pick ads and campaigns. Add up to 10 keywords; matching ignores capital letters.

   ![The comment-to-DM automation editor in Shatla.io: a chosen reel, the keyword GUIDE, the opening DM with a "Send it" button, a follow-first step and a live preview of the conversation. Example account and example numbers.](https://automationtoolsforcreators.com/api/media/file/shot-en-comment-to-dm-editor-desktop.webp)

3. Write the message. Use {username} for the person's name. On Instagram the link is sent as a button; on a Facebook Page it is sent in the text. On Instagram you can ask people to follow you before the link is sent.

   ![The follow-first option in a Shatla.io automation: the message that asks the person to follow, and the two buttons, before the link is sent. Example account and example numbers.](https://automationtoolsforcreators.com/api/media/file/shot-en-follow-gate-editor-desktop.webp)

4. Under Advanced, the public reply to comments starts on with three ready versions: edit them or turn it off. You can write up to 10 versions, and Shatla.io picks one at random each time so replies do not look copied.
5. Save the automation (new automations start Live), then comment your keyword from a second account and check that the message arrives. Watch runs, link clicks and failed messages in the Automations list, and use the Live switch to stop it at any time.

   ![The automations list in Shatla.io with runs, link clicks, click-through rate and failed messages for each automation. Example account and example numbers.](https://automationtoolsforcreators.com/api/media/file/shot-en-tracked-links-automations-desktop.webp)


[The full guide on Shatla.io](https://shatla.io/guides/comment-to-dm?utm_source=atfc&utm_medium=hub&utm_campaign=what-is-comment-to-dm-automation)

## Frequently asked questions

### Is comment-to-DM automation allowed on Instagram?

Yes, when it runs through Meta's official API and only answers people who commented. Meta's documentation describes exactly this kind of private reply [1].

### Can I send a private reply to comments on old posts?

Only for comments made in the last 7 days. After that, Meta does not allow a private reply to that comment [1].

### Can I send more than one message after a comment?

Only one message per comment. If the person answers you, a 24-hour window opens and you can keep the conversation going inside it [1] [2].

### Does the person have to follow me to get the message?

No. The message still arrives, but people who do not follow you may find it in their message requests instead of their main inbox [1].

## What changes (2026-11)

Checked on 2026-11-12: one private reply per comment, within 7 days, and a 24-hour window once the person answers [1] [2]. We re-read Meta's documentation before the review date and note any change here.

Next review by 2027-02-12.

## Sources

1. [Send a Private Reply to a Commenter (Instagram Platform)](https://developers.facebook.com/docs/instagram-platform/private-replies), Meta for Developers, accessed 2026-11-12
2. [Messenger Platform and Instagram Messaging API policy](https://developers.facebook.com/documentation/business-messaging/messenger-platform/policy.md), Meta for Developers, accessed 2026-11-12
3. [Instagram Messaging: get started](https://developers.facebook.com/documentation/business-messaging/instagram-messaging/get-started.md), Meta for Developers, accessed 2026-11-12
4. [Community Guidelines](https://help.instagram.com/477434105621119), Instagram Help Center, accessed 2026-11-12

## Next steps

- Learn: [Tools creators use on Instagram, by job](https://automationtoolsforcreators.com/instagram-tools-for-creators)
- Try a free tool: [Instagram engagement rate calculator](https://automationtoolsforcreators.com/instagram-engagement-rate-calculator)
- Start on Shatla.io: [Start free on Shatla.io](https://shatla.io/comment-link-automation?utm_source=atfc&utm_medium=hub&utm_campaign=what-is-comment-to-dm-automation)
  The Free plan is free forever, no card needed. [See the price in your country](https://shatla.io/pricing)

---

Source: Automation Tools for Creators, https://automationtoolsforcreators.com/what-is-comment-to-dm-automation
