# AI agent for Instagram DMs: it answers "price?" and "in stock?" and takes orders

URL: https://ai-xodim.uz/en/blog/instagram-dm-ai-agent
Published: 2026-11-27

An AI agent answers Instagram DMs from your price list, understands voice messages and takes orders, while comment rules under Reels bring people into Direct. How it works.

- The Ai Xodim AI agent answers Instagram Direct for you: questions about price, stock, sizes and delivery — from your price list, in the customer's language, day and night.
- Comment auto-replies bring people into Direct: someone writes "price" under a Reel, a rule replies under the comment and messages them in Direct, and from there the agent carries the conversation.
- The agent takes the order — name, phone, what's needed — and sends the lead to your app and to amoCRM or Bitrix24. It hands the hard cases to you, and stays quiet when you reply yourself from the Instagram app.
- It connects through the official Instagram login; a Business or Creator account is needed. Instagram allows replies within 24 hours of the customer's message, and the agent says at the start that it's an AI assistant.

A Reel got a hundred thousand views, three hundred "price?" comments, and two hundred new messages in Direct. A manager answers them one by one: someone waits until evening, someone has already bought from the shop next door. Your best video turns into your longest list of missed customers.

**The Ai Xodim AI agent** answers everyone in Instagram Direct — right away, from your price list, in the customer's language. And it takes the conversation to an order: it asks for a name and phone number and sends you the lead.

## How the AI agent answers in Direct

Ai Xodim connects to Instagram through the official login and Instagram's official API — the app has passed Meta's App Review. Messages from Direct reach the agent at once, and then:

1. **The agent reads the message** — text or voice — and if the customer sent several in a row, waits a few seconds and answers them all in one reply.
2. **It finds the answer in your knowledge base:** price list, stock, sizes, delivery, payment, address, opening hours.
3. **It replies in the customer's language:** Uzbek in Latin or Cyrillic — whichever the customer uses — Russian or English. The first reply of a conversation is signed "🤖 AI assistant".
4. **It leads to an order:** it asks what the customer needs, then for a name and phone number — one or two questions at a time.
5. **It sends you the lead** — a notification in the Ai Xodim app, and to your CRM if you have one.

If the question isn't in the knowledge base, or the customer asks for a discount, a wholesale price, a refund or a real person, the agent replies briefly that a manager will join, and you get a "A customer is waiting for you" notification. If you reply to a customer yourself from the Instagram app, the agent sees it and stays quiet in that conversation — 12 hours by default.

## The funnel: from a Reels comment to an order

The agent answers in Direct, but many customers write a comment first. The bridge between the two is [comment auto-replies](/en/instagram-comment-auto-reply): someone writes "price" or "+" under a Reel, a rule replies to them under the comment and sends them a message in Direct. They reply — and from there the agent carries the conversation.

![From a Reels comment to an order: someone writes "price?" under a Reel, a rule replies under the comment and messages them in Direct; in Direct the AI agent answers from the price list and takes the order; the lead with the name, phone and what's needed reaches your app and your CRM](/images/infographics/instagram-comment-to-order-en.png)

How to set up a comment rule — in the article ["How to auto-reply to Instagram comments with a DM"](/en/blog/instagram-comment-to-dm) and in the video lesson above.

## Rules or the agent: who answers what

The agent doesn't replace keyword rules — they work together:

| What happens | Who answers |
|---|---|
| A comment under a post or Reel | the comment auto-reply rule — it also messages the person in Direct |
| A Direct message with a keyword you have a rule for | the Direct rule — instantly and the same for everyone |
| Any other question in Direct | the AI agent — from the knowledge base |
| A discount, wholesale, a complaint, "a manager, please" | the agent hands it to you and sends a notification |
| You wrote in the conversation yourself | you — the agent stays quiet in that conversation |

A rule is for the repetitive: "catalogue" → a link to the catalogue. The agent is for everything people ask in their own words.

## What it looks like

A customer writes to Direct in Uzbek in Cyrillic script — the agent replies in the same. Prices and terms in the example are made up.

> **Customer:** Ассалому алайкум, қизил кўйлак 42 ўлчамда борми?
>
> **Agent:** Ва алайкум ассалом! Ҳа, қизил кўйлак 42 ўлчамда бор — 320 000 сўм. Тошкент бўйлаб етказиб бериш — эртага. Буюртма берасизми?\
> 🤖 AI-ёрдамчи
>
> **Customer:** ҳа, Юнусободга
>
> **Agent:** Яхши! Исмингиз ва телефон рақамингизни ёзинг — менежер қўнғироқ қилиб, буюртмани тасдиқлайди.

The customer asked whether the red dress comes in size 42; the agent said yes, gave the price and the delivery day, and when the customer said "yes, to Yunusabad", asked for a name and number so a manager could confirm. While the manager sleeps, the order is already written down — in the app and in the CRM.

## Voice messages in Direct

Voice messages aren't rare on Instagram: in accounts connected to Ai Xodim, about one in fifteen incoming Direct messages is a voice message (November 2026 data). The agent understands them: speech is recognised on our server, Uzbek and Russian, and it replies to what was said, in text. More in the article [on voice messages](/en/blog/ai-agent-voice-messages).

## Instagram's rules the agent follows

- **24 hours to reply.** Instagram lets a business reply within 24 hours of the customer's last message. The agent answers in seconds — always within the window. Old threads you close yourself.
- **Only people who wrote first.** The agent doesn't write first and doesn't send mailings.
- **Honest about being an AI.** The first line of a conversation says an AI assistant is answering.
- **No copy-paste.** The agent writes each person their own reply rather than sending identical texts — Instagram doesn't like hundreds of identical messages.
- **A pause if Instagram limits sending.** If Instagram temporarily blocks the account from sending messages, auto-replies pause, and whatever came in meanwhile is answered afterwards — as long as the 24-hour window is still open.

## What you need to connect

1. **A Business or Creator account.** A personal Instagram account can't be connected through the API. You can switch in Instagram's settings: "Account type and tools" → "Switch to professional account" — free, in a minute.
2. **An Instagram login.** You log in to your Instagram on the official login page — with a link from us or the "Connect Instagram" button in the dashboard — and confirm access. We never see your password. What it looks like — in the lesson ["How to connect Instagram to Ai Xodim"](/en/video/connect-instagram).
3. **Materials for the agent:** your price list and answers to common questions — exactly what to send is in the article ["How we set up an AI agent"](/en/blog/ai-agent-setup-checklist).

If another auto-reply service such as ManyChat already runs in your Direct, turn it off for this account — otherwise two bots will answer the same customer.

> Want an AI agent in your Instagram? [Message us on Telegram](https://t.me/coderuzb?text=Hi%21%20I%27d%20like%20an%20AI%20agent%20for%20my%20business%20%28from%20the%20ai-xodim.uz%20blog%29) — we'll set it up on your products and prices. Trying it is free.

## Videos

- **Comment auto-reply + a message in Direct:** [YouTube](https://youtube.com/shorts/HBCR_i49unQ) · [Instagram](https://www.instagram.com/reel/DeG4GbQy5BD/) · [lesson on the site](/en/video/comment-auto-reply).
- **47 "price" comments, zero replies?** — how a rule answers in Direct: [YouTube](https://youtube.com/shorts/6kFtBgqqe7E).
- **How to connect Instagram to Ai Xodim:** [YouTube](https://youtube.com/shorts/xl-UnBVpoP4) · [Instagram](https://www.instagram.com/reel/DeG3xVOSnAY/).
- **The Ai Xodim AI agent in 40 seconds** (in Uzbek): [Instagram](https://www.instagram.com/reel/DgO1U-tSRyv/).

## FAQ

### Do I need an Instagram business account to connect the AI agent?

You need a professional account — Business or Creator: those are the only ones Instagram opens for messaging through the API. Switching is free in Instagram's settings.

### Can Instagram block my account because of the AI agent?

The agent works through Instagram's official API in an app that passed Meta's review. It only answers people who wrote first, writes each one their own reply and pauses if Instagram temporarily limits sending.

### Does the agent answer comments under posts?

No. Comment auto-reply rules do: they message the person in Direct, where the agent continues the conversation.

### What if a customer wrote two days ago?

Instagram allows replies within 24 hours of the customer's last message. The agent answers in seconds, so new messages are always in the window. Neither the agent nor any other service can reply to old threads — you answer those yourself in the Instagram app.

### Can the customer tell an AI is answering?

Yes. At the start of the conversation the agent writes that an AI assistant is answering and that a person can join if needed.

### Will my existing auto-reply rules stay?

Yes. Keyword rules fire first, as before. The agent answers where no rule matched — instead of the default reply.
