# How to auto-reply to Instagram comments with a DM (step-by-step)

URL: https://ai-xodim.uz/en/blog/instagram-comment-to-dm
Published: 2026-10-12 · Updated: 2026-10-25

How to send an automatic DM to everyone who comments a keyword on your Instagram post or reel: caption, keyword, DM text, public replies and setup.

- Comment-to-DM means a person comments a keyword under your Instagram post or reel and instantly gets a private message from your account with what they asked for — a link, a price list, a guide.
- It works because the comment is visible engagement under the post, while the DM moves the person into a private conversation where you can answer questions and sell.
- A good setup has four parts: a caption that names the word, a short keyword with variants, a DM with exactly what was promised plus one next step, and several public replies that rotate.
- In Ai Xodim it is one rule in the “Comment auto-replies” tab; you need a Business or Creator account and Ai Xodim Pro — $9.99 a month, the first 3 days free, no card needed.

“Comment PRICE and I'll DM you” — you've seen it under hundreds of reels. Answering by hand works for the first twenty comments. By the hundredth you're copy-pasting at midnight, and half the people never get a reply. Automatic comment-to-DM replies send the message the moment the comment lands — to every commenter, day and night.

Below is the whole setup: what to give, which keyword to pick, how to write the caption and the DM, why public replies must rotate, and how to see which reel actually brings conversations. At the end — how to switch it on in Ai Xodim in about five minutes.

## What “comment to DM” is and why it works

The mechanics are simple. Someone comments a keyword under your post or reel, and your account automatically sends them a private message — Instagram calls it a private reply — with what they asked for. Optionally, your account also answers publicly under the comment (“Sent you a DM 📩”), so everyone scrolling the comments sees that it works.

Why shops, experts and creators use it:

- **A comment is engagement, a DM is a conversation.** The keyword comment is visible activity under your post. The DM moves the person somewhere private, where you can answer questions, send a link and close a sale.
- **Speed sells.** The person gets the price while they are still holding the phone. An answer three hours later reaches someone who has already forgotten why they asked.
- **Prices stay out of the comment thread.** Links and prices go to the person, not into a public thread where anyone can copy them.
- **The conversation can continue.** If the person answers your DM, you can keep talking: Instagram lets a business reply within 24 hours after the person's last message.

## Step 1. Decide what the comment unlocks

The keyword has to be worth typing. The more specific the promise, the more comments you get: “the price list for all 12 linen shirts” beats “more info”.

What works well:

- a price list or a catalogue link;
- a direct link to the product shown in the reel;
- a free checklist, guide or template;
- a promo code for the first order;
- a booking or registration link;
- the recipe, the playlist, the source — whatever the reel is about.

## Step 2. Choose the keyword

Good keywords are short, easy to type with one thumb and obviously connected to what you give: **PRICE**, **LINK**, **GUIDE**, **MENU**, **SIZE**, **BOOK**.

A few rules that save trouble later:

- **Match a part of the word.** With the “Contains the word” match type, `pric` catches “price”, “prices” and “pricing?”. Capital letters don't matter.
- **Add variants, separated by commas:** `price, cost, how much`. If your followers write in two languages or alphabets, add every spelling.
- **Use exact match for everyday words.** If the keyword is a word people write anyway — “yes”, “want” — choose “Exact match”: the rule fires only when the whole comment is that word, and punctuation or emoji around it are ignored.
- **Stay away from compliments.** A rule on “love” or “nice” will DM everyone who says something kind about your post.

Need inspiration? We collected [30 keyword ideas with ready-to-copy messages](/en/blog/instagram-auto-reply-keyword-ideas) for shops, salons, cafés, experts and creators.

## Step 3. Write a caption that asks for the word

People comment when they know exactly what to type and what they'll get. The formula: **promise + the word + what happens next**.

| Goal | Caption line |
|---|---|
| Sell a product | Comment **PRICE** and I'll send prices and sizes to your DMs. |
| Collect leads | Want the 5-step checklist? Comment **GUIDE** — it lands in your DMs. |
| Fill bookings | Comment **BOOK** to get the booking link for this week. |
| Share content | Comment **RECIPE** and I'll DM you the full recipe. |

Put the line at the very start of the caption — most people never tap “more” — and repeat it on screen or out loud in the last seconds of the reel.

## Step 4. Write the DM in three parts

The DM is the moment of truth: the person asked, and now they're reading your answer. Two to four short lines are enough:

1. **A short hello.** The same text goes to everyone, so skip the name — “Hi! 👋” reads perfectly well.
2. **Exactly what they asked for.** The price, the link, the file. Not “message us for details” — that's what they just did.
3. **One next step.** One link or one question: “Order here: yourbrand.com/linen” or “Which size do you need?”

**Example:** “Hi! 👋 Linen shirt — $39, the set — $69. Sizes S–XL in 6 colours. Order here: yourbrand.com/linen — or reply with your size and I'll check it's in stock.”

Ending with a question is a useful trick: when the person answers, the conversation continues in Direct, and you have 24 hours to reply.

## Step 5. Add public replies — and rotate them

A public reply under the comment does two jobs: it tells the person where to look, and it shows everyone else scrolling the comments that commenting works.

Write several variants, not one. The same sentence under two hundred comments looks like spam to Instagram. In Ai Xodim you write one variant per line, and each time one is picked at random:

- Sent you a DM 📩
- Check your DMs 😉
- Done — it's in your Direct!
- Sent! Take a look 🙌

## Step 6. One post, all posts or any comment

- **One post or reel** — for a campaign: a launch, a specific product, a lead magnet. The keyword can be unique to that post.
- **All posts** — for evergreen words like PRICE, MENU or ADDRESS. The rule also works under posts you publish next week. When a post has its own rule, that rule is checked first, so a campaign word on one reel doesn't clash with your general rule.
- **Any comment** — the rule answers every comment under the post, no keyword needed. This is the giveaway mode: “Comment anything to enter — the rules are in your DMs.”

You can also ask people to follow before the material with the follow check: the bot asks politely and sends the material anyway. Read [what Instagram's rules say about follow-gating](/en/blog/instagram-follow-gate-rules) to see why it asks rather than demands.

## Step 7. Measure which reel brings conversations

A comment-to-DM rule is also a tracking tool. In Ai Xodim:

- each rule counts how many times it fired;
- everyone who commented becomes a contact with the source “comment” and the post they came from, so you see which reel brings conversations, not just views;
- the auto-reply statistics show messages sent per day, the best rules and the funnel by source — comment, story, ad, link.

Compare reels by conversations, not by likes. A reel with fewer views but many keyword comments can do more for your sales than a viral one nobody asks about.

## Common mistakes

1. **The DM doesn't deliver.** “Message us for the price” in reply to “PRICE” annoys people. Send the actual thing.
2. **The keyword fires on everything.** A short, common word with “contains” catches unrelated comments. Use exact match or a more specific word.
3. **One public reply copied three hundred times.** Rotate at least three or four variants.
4. **The call is buried.** If the keyword is in the fifth line of the caption, most people won't see it.
5. **The rule appears after the first wave.** The first comments come in the first minutes. Create the rule before you publish (on all posts) or right after — the post list in the Ai Xodim rule form is fresh, so a reel published a minute ago is already there.
6. **Nobody answers the follow-up.** People reply to the DM with questions. Set up [Direct auto-replies](/en/instagram-dm-auto-reply) for the common ones; the Ai Xodim app notifies you when a message is left without a reply.

## How to set up comment-to-DM in Ai Xodim

1. [Create an account](/en/register) — with a login and password, or with Google or Apple.
2. Click **Connect Instagram** and log in through the official Instagram window. You need a Business or Creator account; switching is free in the Instagram app: Settings → Account type and tools.
3. Open **Instagram** → your account → the **Comment auto-replies** tab and add a rule.
4. Enter the **Keywords** separated by commas, pick when the rule fires — **Contains the word**, **Exact match** or **Any comment** — and where: one post or **All posts**.
5. Write the **Direct message** and, if you like, a few variants of the **Public reply under the comment**, one per line. Turn on the follow check only if you need it.
6. Save and test by commenting the keyword from a second account: Ai Xodim ignores your account's own comments.

Prefer to talk instead of filling in forms? With the [AI connector](/en/ai-connector), ask Claude or ChatGPT: “Create an auto-reply: comment PRICE under my last reel → send the price list.” The assistant shows you the rule and creates it after your “yes”.

Comment auto-replies are part of [Ai Xodim Pro](/en/pricing): $9.99 a month, the first 3 days free with no card — the trial starts by itself when you sign up.

## FAQ

### Is it allowed to auto-reply to Instagram comments with a DM?

Yes, when it goes through the official Instagram API, as Ai Xodim does: the person commented first, and the private message answers their own comment. Keep the message about what they asked for.

### What kind of Instagram account do I need?

A professional one — Business or Creator. Switching is free and takes a minute in the Instagram app: Settings → Account type and tools.

### Can one rule work on all my posts and reels?

Yes. A rule can watch one specific post or all posts, including the ones you publish later. Rules of a specific post are checked first.

### Can I answer every comment, not only a keyword?

Yes — choose the “Any comment” match type. It's made for giveaways, when everyone who comments should get the rules in Direct.

### Why didn't the auto-reply fire when I tested it?

Most often the test comment came from the same account — Ai Xodim ignores the account's own comments. Comment from a second account and check the keyword and the match type.

### How much does comment-to-DM cost in Ai Xodim?

Comment auto-replies are part of Ai Xodim Pro: $9.99 a month, with the first 3 days free and no card needed. Connecting Instagram and analytics are free.
