Skip to content

Instagram comment to DM automation

Instagram comment to DM automation sends a direct message automatically when someone comments a keyword on your post or Reel. You choose the campaign scope, trigger words, match mode, and message in the browser with no code, and you can add an optional public reply so the commenter knows to check their DMs.

What this tool does and who it is for

This tool is for creators and businesses that want a comment to become the start of a private conversation. Instead of watching every post and manually messaging people who ask for a link, you configure one automation and let matching comments trigger the follow-up. It is designed for a Business or Creator account, because personal Instagram accounts cannot automate comments or DMs. The setup is completed in the browser with no code, so the main work is choosing the right scope, trigger, and message before you switch the automation live.

How it works

First, connect your Instagram Business or Creator account through the managed connection flow. During connection, the comment and messaging permissions needed for the automation are requested, so check that both are granted before continuing. Next, pick a specific post or reel or choose account-wide scope, then set the trigger words that should start a DM. Finally, write the DM text and add an optional public reply, review the match settings, and go live. After launch, the automation watches for new matching comments and sends the configured DM automatically.

Automation settings

Each automation is built from a small set of settings. Scope determines where comments are watched. Trigger words and match mode determine which comments qualify. Exclude words give you a way to skip comments that contain a term you do not want to act on, such as a support complaint or an unrelated word that happens to appear in a comment. DM text is the private message delivered after a match, and the optional public reply is the visible confirmation posted under the comment. The status setting lets you pause or edit the automation when a campaign ends or the message changes.

Choosing a match mode

Match mode is the decision that most affects how often the automation fires. Whole word is usually the safest default when your keyword is a distinct word such as GUIDE or LINK, because it reduces accidental matches inside longer words. Contains is broader and can catch variations, but it also increases the chance of unwanted triggers. Exact is the narrowest option and is useful when you want the comment to match the trigger precisely. If you leave keywords empty, the automation triggers on every new comment on the selected post, which suits a general announcement but will send far more DMs than a keyword campaign.

Worked example

Consider a Reel where you ask viewers to comment GUIDE to receive a checklist. The automation is scoped to that specific post or reel, the trigger word is GUIDE, the match mode is whole word, and the DM contains the checklist link. When a viewer comments GUIDE, the tool sends the DM and, if enabled, posts the optional public reply telling them to check their DMs. That triggered DM uses 1 credit and the public reply uses 1 more credit when it sends. If a viewer comments a different word, or a comment contains an exclude word, no DM is sent.

Eligibility and troubleshooting checklist

Before launching, run through a quick checklist. Confirm the connected account is a Business or Creator account, confirm comment and messaging permissions were granted, and test the exact keyword you expect people to type. Also check that the automation is active rather than paused, that the DM text still points to the correct link, and that enough credits remain for both the DM and the optional public reply. If an offer has ended, pause or edit the automation instead of leaving an outdated message live.

Browser setup versus API path

The browser tool and the API path share the same automation inputs: account scope, post or Reel scope, trigger words, match mode, exclude words, DM text, and optional public reply. The browser path is for configuring individual automations without code. The API path is for products that need to create and manage automations programmatically, such as marketing tools or client campaign dashboards. Related capabilities include reading and replying to public comments, and continuing private conversations by reading message history and sending replies within Instagram's supported messaging windows.

Automation settings at a glance
FieldRequired or optionalWhat to setEffect
Connected accountRequiredInstagram Business or Creator accountDetermines whether comment and DM automation can run; personal accounts are unsupported.
ScopeRequiredSpecific post or reel, or account-wideControls which comments the automation watches.
Trigger wordsOptional; empty means every new commentOne or more keywords people should commentDefines the comment text that can start the automation.
Match modeRequired when trigger words are setWhole word, contains, or exactControls how strictly comment text must match a trigger word.
Exclude wordsOptionalWords that should skip the automationPrevents a DM when a comment contains an excluded term.
DM textRequiredPrivate message and link to deliverSent automatically after a matching comment.
Optional public replyOptionalVisible reply under the commentConfirms to the commenter that a DM was sent.
StatusRequiredActive or pausedLets you stop or resume the automation when campaigns change.

Configuration guidance based on the settings described for this tool; no HTTP endpoint contract is presented here.

Match-mode comparison
Match modeBest forWatch out for
Whole wordDistinct keywords such as GUIDE or LINKMay miss misspellings or words attached to other characters.
ContainsCatching keyword variations inside longer commentsHigher risk of accidental or unwanted triggers.
ExactComments that should match the trigger preciselyNarrowest behavior; ordinary sentences may not trigger.
Empty keywordsTriggering on every new comment on the selected postSends the most DMs and uses the most credits.

Decision guide based on the available match modes: whole word, contains, and exact.

Eligibility and troubleshooting
SituationWhat happensCheck or fix
Personal Instagram account connectedAutomation cannot runUse a Business or Creator account.
Comment or messaging permission missingAutomation cannot watch comments or send DMsReconnect and grant both permissions.
Comment does not match trigger wordsNo DM is sentCheck spelling, match mode, and exclude words.
Comment contains an exclude wordAutomation skips the commentRemove the exclude word if the skip was unintended.
Automation paused or campaign endedNo DM is sentResume, edit the message, or create a new automation.
Credits exhaustedTriggered DM or public reply may not send under the credit termsCheck remaining credits before launching or resuming.

Eligibility and troubleshooting checks based on the account, permission, and credit terms described for this tool.

Frequently asked questions

Is the Instagram comment to DM tool free?

Starting out costs nothing upfront: a new signup includes 20 credits and does not ask for a card. Sending the private message after a match consumes one credit, and posting the visible confirmation consumes another one at the moment it goes out.

Which Instagram accounts are supported?

Only professional account types qualify — Business and Creator. A personal profile cannot run automated comment or DM flows. During linking, both comment access and messaging access must be granted for the automation to function.

How does the keyword trigger work?

You define the words that start the flow, then pick how strictly they are compared: as a standalone word, as a substring, or as a complete match. Adding terms to the exclusion list stops certain comments from starting the flow. Leaving the keyword list blank means any fresh comment on the chosen post will start it.

Do I need to write any code?

No. Everything is configured through the browser interface. The identical set of settings can later be managed through an API if you want to embed the flow in your own product.

How can I create Instagram comment-to-DM automations through an API?

Link an eligible professional Instagram account and obtain an API key. Then supply the scope (a chosen post or the whole account), the trigger words, comparison settings, exclusions, DM wording, and any visible confirmation. The system then monitors incoming comments and delivers the configured message when one qualifies.

Illustrative automation configuration
{
  "automation_name": "Guide request automation",
  "account_type": "Business or Creator account",
  "scope": {
    "type": "specific post or reel",
    "post_id": "<REPLACE_WITH_POST_ID>"
  },
  "trigger_words": ["GUIDE"],
  "match_mode": "whole word",
  "exclude_words": ["spam"],
  "dm_text": "Thanks for commenting. Here is the guide you asked for: <REPLACE_WITH_LINK>",
  "public_reply": "Check your DMs — I just sent the guide.",
  "status": "active"
}