Get a free Shopify store audit

Instagram DM Automation: What Meta Actually Allows

Instagram DM automation runs on Meta's private reply rules: a 7-day window, one message, then a 24-hour reply window. Here's how it really works.

By Ahmed

Instagram DM automation that fires from a comment runs on Meta's private reply mechanism: one message per comment, sendable within 7 days of the comment. Once the commenter replies, the conversation continues inside a 24-hour messaging window. Every comment-to-DM tool, regardless of vendor, operates within these same limits — they're platform rules, not vendor features.

How comment-to-DM automation actually works

The mechanism behind every "comment X and I'll DM you" setup is Meta's private reply API, and it works the same way regardless of which tool triggers it. Someone comments on an Instagram professional account's post, reel, story, Live, or ad post. That fires a webhook event — subscribed to the `comments` or `live_comments` topic — carrying the commenter's Instagram-scoped ID and username, the comment's ID, the media ID, and the comment text. The app then uses that comment ID to send a single private reply directly to the commenter.

Where that reply lands depends on the relationship between the two accounts: it appears in the commenter's Inbox if they follow the professional account, or in their Requests folder if they don't. The message automatically includes a link back to the post that was commented on. The one exception to the 7-day sending window is Instagram Live — a private reply to a Live comment can only be sent while the broadcast is still running; once it ends, that door closes.

On the technical side, sending private replies requires specific permissions depending on which login flow the app uses. With Instagram API with Instagram Login, that's `instagram_business_basic` and `instagram_business_manage_comments`. With Instagram API with Facebook Login, it's `instagram_basic`, `instagram_manage_comments`, and `pages_read_engagement` — plus `ads_management` or `ads_read` if the app user has an ads role on the connected Page through Business Manager. Either way, the app needs webhook subscriptions to both the `comments` and `live_comments` topics to actually receive the events that trigger a reply.

ASSOSIATIX's own product, Commiko, is built on exactly this pattern for Shopify merchants: it replies to Instagram comments and sends a DM with the answer, using an AI agent that reads the store's Shopify products. It's currently in private beta and free to use.

The 24-hour window you're actually working inside

Sending the private reply is only the first message. What happens after that is governed by Meta's standard messaging window, and its length depends on what action opened it. For most user actions — including commenting on a post — the standard window lasts 24 hours. It can stretch to up to 7 days, but only in one specific case: when the window opens from a person's first message sent after clicking a Click-to-Messenger or Click-to-Direct ad. Commenting on a post is not that case, so a comment-triggered conversation is working inside the ordinary 24-hour window once it's underway.

That matters for what you can send and when. A follow-up message after your initial private reply is only allowed if the commenter actually responds — you can't send a second unprompted message to someone who ignores your first one — and that follow-up has to go out within 24 hours of their response. Miss that window and the conversation closes back up unless you have another qualifying trigger to reopen it.

Commenting isn't the only action that opens a standard messaging window — it's just the one relevant to comment-to-DM automation specifically. Meta's broader messaging policy also lists sending a message to the account directly, clicking a call-to-action button, starting a conversation through a plugin, clicking an ig.me link with a ref parameter on an existing thread, and reacting to a message as actions that open the same 24-hour window. Any automation you build that reaches beyond comment replies is still bound by the same window rules, just triggered by a different starting action.

When you need a human in the loop: the Human Agent tag

Meta requires every app built on the Instagram Messaging APIs to provide an escalation path to a human agent. Automation is allowed to qualify intent and handle the first response, but the experience has to give the user a way to reach an actual person — automation can start the conversation, it just can't be the only way to have it.

The mechanism for that escalation is the `human_agent` message tag. It lets a business reply manually within a separate 7-day period, for situations the standard 24-hour window can't resolve — Meta's own examples are the business being closed for the weekend, or an issue that needs more time than the standard window allows. Using this tag isn't automatic: it requires completing Meta's App Review process and business verification before the app can access live data with it.

Meta describes two patterns for providing that human escalation path. A single app can run both the automated experience and a custom inbox for human replies, so the same messaging app handles the handoff internally. Alternatively, the Handover Protocol lets one app run the automated experience and pass the conversation to a separate app or inbox when a human needs to take over. Either pattern satisfies the requirement; what Meta doesn't allow is an automated experience with no path to a person at all.

There's a related disclosure requirement worth building into any automated reply: where applicable law requires it — Meta flags the California and German markets specifically — an automated chat experience has to disclose that the user is talking to an automated service, at the start of the conversation, after a significant time gap, or when the conversation hands off from a human to automation. Meta's suggested phrasing includes lines like "I'm the [Page Name] bot" or "You are interacting with an automated experience."

What's off-limits on Instagram that works on Messenger

If you've read about Messenger automation and expect the same toolkit on Instagram, a few pieces are missing. One-time Notification, News Messaging, and Sponsored Messages are all explicitly listed as not available for the Instagram Messaging API — they're Messenger Platform features only. And regardless of which platform you're on, Message Tags — including the Human Agent tag — may never be used for promotional content; they exist for important, personally relevant messages tied to an approved use case, not for marketing.

If you want this set up for your store, talk to our team.

Frequently asked questions

How long do I have to send a DM after someone comments on Instagram?

You have 7 days from the comment's creation time to send a private reply, with one exception: for comments on an Instagram Live broadcast, the private reply can only be sent while the broadcast is still running. Once the broadcast ends, you can no longer send a private reply tied to that comment.

Can I send more than one private reply to the same commenter from one comment?

No. Meta's documentation is explicit that only one private reply message can be sent per comment. A follow-up message is only possible if the commenter responds first, and that follow-up must be sent within 24 hours of their response.

Do I need an Instagram professional (business or creator) account to use comment-to-DM automation?

Yes. The private reply mechanism applies to comments on an Instagram professional account's post, reel, story, Live, or ad post — a personal account isn't eligible to use the Instagram Messaging APIs this way.

What happens if the commenter doesn't follow my account?

Your private reply still sends — it just lands somewhere different. If the commenter follows your account, the reply appears in their Inbox. If they don't follow you, it appears in their Requests folder instead, which they'd need to check and accept to see it.

Does my Instagram DM automation need a way for users to reach a real person?

Yes. Meta requires apps that use the Instagram Messaging APIs to provide an escalation path to a human agent. The conversation can start as automation that qualifies intent, but users must be able to reach a human agent when they need to, typically using the human_agent message tag for cases the standard window can't resolve.

Sources

Tell us what you're building.

Share a few details and we'll reply within 1–2 business days with questions, a scope and a quote.