Tutorial · September 10, 2026 · 3 min read

How comment-to-DM automation actually works on Instagram

Someone comments a keyword under your post and a direct message arrives seconds later. It looks like magic, but it runs on a small, well documented part of the Instagram API with clear rules. Knowing those rules is the difference between a flow that works and one that silently fails.

Close-up of a hand scrolling a social media feed on a smartphone

The short version

  1. 1
    The comment arrives

    Instagram lets the automation tool know that someone commented on one of your posts or reels.

  2. 2
    The keyword is matched

    The tool compares the comment with the triggers you set up, for example LINK or GUIDE.

  3. 3
    A private reply is sent

    The tool sends one direct message to the commenter through Instagram's private replies feature. Instagram adds a link to the post that was commented on.

  4. 4
    The conversation continues if they answer

    When the person replies to that message, follow-up messages become possible.

What you need first

The API only works for professional accounts. Meta's Instagram Platform overview states that app users must have an Instagram professional account. A personal account has to be switched to a business or creator account before any tool can automate replies.

  • An Instagram professional account

    Business or creator. Personal accounts cannot use the API.

  • Permission to manage comments

    With Instagram Login, private replies need instagram_business_basic and instagram_business_manage_comments.

  • A tool that listens for new comments

    It receives the comment, checks the keyword and sends the reply. ChatPeak's comment to DM is one of them.

The one-message rule

A private reply is exactly one message. Meta's private replies documentation says only one message can be sent to the commenter, and that it must be sent within 7 days of the comment on the post or reel.

This shapes how the first message has to be written. It should deliver the promised thing on its own, and it should invite a reply, because a reply is what makes the rest of the conversation possible.

What happens after they reply

Once the person answers, the documentation allows follow-up messages, but only within 24 hours of that response. Each time they write back, you again have up to 24 hours, which matches Meta's standard messaging window. If they go quiet for longer, automated messages are no longer an option.

SituationWhat you can sendTime limit
Comment on a post or reelOne private replyWithin 7 days of the comment
Comment during Instagram LiveOne private replyOnly while the broadcast is live
Person replied to your messageFollow-up messagesWithin 24 hours of their response

Source: Meta for Developers, Instagram Platform documentation.

Live comments are different

Comments during an Instagram Live follow a stricter rule: private replies can only be sent while the broadcast is running. Once it ends, the chance is gone, so a Live giveaway flow has to answer in real time.

Where automations usually break

  • The account is not professional

    Nothing can be sent, and the creator often never sees an error.

  • The first message tries to do too much

    There is only one. A message that asks for an email address before delivering anything tends to end the conversation.

  • Follow-ups arrive too late

    A flow that sends its next message hours after the person answered can miss the 24 hour window.

  • The keyword is too broad

    Matching a common word sends DMs to people who never asked. See choosing keyword triggers.

Frequently asked questions

Not from the comment alone. A private reply is limited to one message. If the person replies, follow-up messages are allowed within 24 hours of their response.

For posts and reels, Meta allows the private reply within 7 days of the comment. For Instagram Live comments, only while the broadcast is running.

No. Meta requires an Instagram professional account to use the API, so a personal account has to be switched to a business or creator account first.

Yes. According to Meta's documentation, the private reply message includes a link to the commented post.

Turn comments into conversations

ChatPeak answers keyword comments with a direct message. Start on the free plan, no credit card needed.