Zamili

Guides

How to auto-reply to Instagram comments with a DM, step by step

A comment-to-DM rule answers every "price?" under your post with a short public reply and a private message that has the details. Here is how to set one up, which keywords to use, and the Instagram rules that decide whether your DM goes out.

To auto-reply to Instagram comments with a DM, connect your Instagram professional account to an automation tool that uses Meta's official API, open the post, and add a comment-to-DM rule with the keywords that should trigger it. When someone comments one of those words, the tool posts a short public reply and sends the commenter a private message with your price, link or next question.

This guide uses Zamili for the screens and wording, and the free plan is enough to follow it. The keyword lists and Instagram rules apply to any tool.

What you need before you start

  • An Instagram professional account (Business or Creator).
  • A post with one clear offer: a product, a price, a lead magnet or a booking link.
  • Your DM text ready: price, delivery, how to order or the link.

On Zamili, the Free plan includes comment-to-DM rules on 3 posts and 500 tokens a month. Each automated public reply or DM uses 1 token.

Step 1: Connect your Instagram account

Sign up at app.zamili.ai/join, open the Channels page and connect Instagram. You log in with Meta and choose the permissions yourself. No tool should ever ask for your Instagram password.

Step 2: Open the post and its Automation tab

Your posts appear on the Posts page once the account is connected. Open the post that gets the most questions and go to its Automation tab. You will see three templates:

  • Public reply and DM: the right choice for most shops.
  • DM only: when you do not want repeated replies under the post.
  • Public reply only: for posts that do not sell anything specific.

Pick public reply and DM.

Step 3: Add keywords the way customers really write them

This step decides whether the rule works. Customers rarely type "What is the price of this product?". They type one word, often in their own dialect or in Latin letters. Separate keywords with commas; matching ignores upper and lower case.

Market Keywords people actually type
English price, how much, cost, pp, link, info
French prix, combien, tarif, dispo
Maghreb (Darija) chhal, bch7al, ch7al, souma, قداش, بشحال, شحال, سومة
Gulf and Levant كم السعر, بكم, كم, السعر, سعر
Egypt بكام, السعر كام, price

If you leave the keywords empty, the rule runs on every comment. That suits an ad post, but it also sends a DM to someone who only wrote "nice". Start with keywords and widen later.

Step 4: Write a short, general public reply

Everyone can read the public reply, so keep the price out of it if it changes or if you do not want competitors to see it. For example:

Thanks for asking! We just sent you the details in DMs.

Change the wording from post to post so the replies do not look copied.

Step 5: Put everything needed to order in the DM

The DM is where the sale happens. Give the price, the delivery terms and one clear next step:

Hi! This one is $25 with delivery in 2 to 3 days. Reply with your name, phone number and city and we will confirm your order.

The numbers above are an example; use your real prices and terms. One question at the end works better than three.

Step 6: Turn the rule on and test it from another account

Turn the rule on, then comment one of your keywords from a personal account that is not connected to the tool. Check that the public reply appears and the DM arrives. If the DM does not arrive, check that the comment matches a keyword and that no other rule already answered it.

Step 7: Watch the first week in the inbox

Read the conversations every day for the first week:

  • Questions that keep coming back belong in the DM text.
  • Words customers use that you missed belong in the keyword list.
  • If the rule answers people who are not asking about the price, narrow the keywords.

The Instagram rules that decide whether your DM goes out

These come from Meta and apply to every tool:

  • One private reply per comment. Two rules on the same post means only one DM goes out. Zamili warns you when two rules overlap.
  • Within 7 days. A private reply must be sent within 7 days of the comment. Old comments cannot be answered by DM.
  • Follow-ups need a response. After the private reply, you can send more messages only after the person replies, and within 24 hours of that reply.

What to add after the first rule works

A comment rule sends fixed text. When customers answer in the DM with questions about size, colour or delivery to their city, you need something that understands free text. Two options:

  • A workflow that asks for the name, then the phone number, then the city, and saves the lead (Starter plan).
  • An AI agent that replies from your prices and rules, in the customer's language. See our guide to an AI agent for Instagram DMs.

If you sell in Algeria, our Arabic guide covers the full comment-to-DM setup for an Algerian online shop, including cash on delivery.

Frequently asked questions

Can I auto-reply to Instagram comments for free?

Yes. Several tools have free plans. On Zamili, the Free plan runs comment-to-DM rules on 3 posts with 500 tokens a month, and each automated reply or DM uses 1 token.

Why did my automatic DM not send?

The most common reasons are a second rule that already answered the comment, a comment older than 7 days, or a keyword that did not match. Check the rule's activity and the inbox.

Can I send a DM to everyone who commented on an old post?

Only for comments made in the last 7 days. Instagram does not allow private replies to older comments.

Should the public reply include the price?

Usually not. A short public reply that points to the DM keeps the thread clean and gives you a private conversation to close the sale.

Sources

Get new articles by email

Occasional notes on AI, automation and selling on social media. No spam.

Share

LinkedIn X Facebook