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.
| Field | Required or optional | What to set | Effect |
|---|---|---|---|
| Connected account | Required | Instagram Business or Creator account | Determines whether comment and DM automation can run; personal accounts are unsupported. |
| Scope | Required | Specific post or reel, or account-wide | Controls which comments the automation watches. |
| Trigger words | Optional; empty means every new comment | One or more keywords people should comment | Defines the comment text that can start the automation. |
| Match mode | Required when trigger words are set | Whole word, contains, or exact | Controls how strictly comment text must match a trigger word. |
| Exclude words | Optional | Words that should skip the automation | Prevents a DM when a comment contains an excluded term. |
| DM text | Required | Private message and link to deliver | Sent automatically after a matching comment. |
| Optional public reply | Optional | Visible reply under the comment | Confirms to the commenter that a DM was sent. |
| Status | Required | Active or paused | Lets 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 | Best for | Watch out for |
|---|---|---|
| Whole word | Distinct keywords such as GUIDE or LINK | May miss misspellings or words attached to other characters. |
| Contains | Catching keyword variations inside longer comments | Higher risk of accidental or unwanted triggers. |
| Exact | Comments that should match the trigger precisely | Narrowest behavior; ordinary sentences may not trigger. |
| Empty keywords | Triggering on every new comment on the selected post | Sends the most DMs and uses the most credits. |
Decision guide based on the available match modes: whole word, contains, and exact.
| Situation | What happens | Check or fix |
|---|---|---|
| Personal Instagram account connected | Automation cannot run | Use a Business or Creator account. |
| Comment or messaging permission missing | Automation cannot watch comments or send DMs | Reconnect and grant both permissions. |
| Comment does not match trigger words | No DM is sent | Check spelling, match mode, and exclude words. |
| Comment contains an exclude word | Automation skips the comment | Remove the exclude word if the skip was unintended. |
| Automation paused or campaign ended | No DM is sent | Resume, edit the message, or create a new automation. |
| Credits exhausted | Triggered DM or public reply may not send under the credit terms | Check 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.
{
"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"
}