# AI salesperson

> The AI answers your customers, shows products and takes orders. When it answers, practice and live mode, the schedule, buying interest, follow-ups, language, cards, photos, orders and bills, instructions and the test chat.

Source: https://docs.czcommerce.app/en/inbox/ai-salesperson  
Last updated: 2026-11-04  
Video: https://www.youtube.com/watch?v=drVdHM9lHhM&t=160s

The AI salesperson answers your customers on Messenger, Instagram and your website chat for your store. It tells prices and stock, sends product pictures and cards, works out the delivery charge, and on Messenger or Instagram it takes orders too. Someone asking "how much?" at 2 a.m. still gets an answer.

Everything is on the **AI salesperson** page in the left menu. You need the **AI salesperson: settings, instructions, knowledge book** permission; owners and admins have it, managers don't ([roles](https://docs.czcommerce.app/en/staff/staff-and-roles#roles)).

> **Good to know:**
> The AI salesperson is in every plan, the Free plan too, with free AI credits each month: Free 50, Starter 300, Growth 1,000, Pro 2,500 ([AI credits](https://docs.czcommerce.app/en/inbox/ai-credits)). It answers once a [Facebook Page is connected](https://docs.czcommerce.app/en/inbox/connect-a-page) and you have [activated instructions](#instructions).

## Getting started

1. On the **Instructions** tab, pick a template, fill its blanks with your store's details and press **Save and activate** ([instructions](#instructions)).
2. In the test chat beside it, ask a few questions as a customer and see how the AI answers ([test chat](#test-chat)).
3. Write your store's rules in the **Knowledge book** ([knowledge book](https://docs.czcommerce.app/en/inbox/ai-knowledge)).
4. Turn the AI on in the **Settings** tab. It starts in practice mode: only you and your testers get AI answers ([practice mode](#practice-mode)).
5. When everything looks right, press **Turn on for everyone** ([live mode](#live-mode)).

## When the AI answers

The AI answers only when all of these are true:

- AI is on for the whole platform (the platform team sometimes pauses it for a while);
- your store has the AI salesperson feature, the AI is on in the **Settings** tab, and instructions are active;
- the AI is on for that platform: Messenger, Instagram, the website chat or comments ([where the AI replies](#platforms));
- there are credits, and today's or this month's limit is not reached ([credits](https://docs.czcommerce.app/en/inbox/ai-credits));
- in practice mode the customer is a tester; in live mode, everyone;
- on a schedule, it is the AI's time now, or **Turn AI on now** is set ([schedule](#schedule));
- the AI is not paused or off in that chat, and not off for that customer ([the AI and you](https://docs.czcommerce.app/en/inbox/inbox#ai));
- on Messenger or Instagram, less than 24 hours have passed since the customer's last message ([the 24-hour rule](https://docs.czcommerce.app/en/inbox/inbox#window)).

The top of the AI page always says whether the AI is answering now and, if not, why: for example "no instructions", "out of credits" or "today's limit reached". When something is missing the chat is only for people; customers never see an error.

The AI waits a few seconds after a customer's message, so several messages sent together get one answer. When the message is a whole question by itself ("pp", "what's the price?", "will waist 42 fit?", a button), it starts writing after a second and a half. If the customer writes again while the AI is writing, the AI answers that message too, right after.

## Messages the AI does not answer

Before it writes, the AI looks at the message and decides: a full answer, a one-line answer, no answer, or hand the chat to your team.

- **No answer:** spam, unknown links, abuse, gibberish, emoji only, or chit-chat that has nothing to do with shopping. Nothing goes to the customer and no credit is used. The chat shows a line for your team: "AI did not reply: not needed (spam/off-topic)".
- **To your team:** anything that is not a sales matter, such as a job, a partnership, a complaint, a refund dispute or a legal matter. The chat becomes "Needs a person" and the customer gets the [hold message](#hold-message); reports show the reason "Not a sales matter".
- **Voice messages are read:** when a customer sends a voice message, it is turned into text (Bangla or English, up to 3 minutes) and the AI answers it like a written message. It costs 1 credit for each started minute of the voice message ([credits](https://docs.czcommerce.app/en/inbox/ai-credits)), on top of the answer's own credit. In the chat, the text shows under the voice message as "প্রতিলিপি" (transcript); you can still play the voice.
- **Unclear voice messages to your team:** when the voice is not clear enough to be sure of the words (noise, very low voice), longer than 3 minutes, or your store is out of credits, the AI does not guess. The chat becomes "Needs a person" and the customer gets the [hold message](#hold-message); the chat shows "AI চ্যাটটি টিমকে দিয়েছে: ভয়েস মেসেজ — মানুষ শুনে উত্তর দিন" and reports show the reason "Voice message". An unclear voice message's credits come back, and its text shows marked "অস্পষ্ট" (unclear). A voice message is never treated as spam.
- **A short answer:** when the customer asks the same question again, the AI answers in one line instead of repeating everything.
- **When unsure, it answers.** If it cannot tell whether a message is about shopping, the AI always answers, so no customer is left without a reply.
- **A price question is never skipped:** short or misspelt price questions like "pp", "p.p", "prize koti" or "dam koto", a product photo or screenshot alone, and a customer who came by clicking your ad always get an answer.
- **Someone who already bought:** with an order in your shop in the last 45 days, or when the customer says they got or took it, the AI doesn't try to sell them something new: it tells them about their order, and a problem with what they received (size, colour, damage, exchange, return) goes to your team.

This sorting costs your store no credits.

## Practice mode

When first turned on, the AI is in practice mode. It answers only testers; every other customer's chat stays with your team as before, and their messages cost no credits.

**How to become a tester:** the **Settings** tab shows a code word, such as `CZTEST-4821`. From your own (or a friend's) Facebook or Instagram, send the Page just that code word and nothing else. That person is a tester for 7 days. The AI says briefly that test mode is on, and the inbox shows a "Tester" badge on the chat. From then on the AI answers their messages.

- You can change the code word: 4 to 24 capital letters, digits and dashes in between. **New code** makes one for you.
- After a change, earlier testers stay testers until their 7 days end; nobody new can become a tester with the old code.
- The **Settings** tab shows how many testers there are now.

> **Watch out:**
> In a tester's chat everything is real: real prices, real stock, and an order placed is a real order. Cancel those orders from the **Orders** page when you finish testing. Only the [test chat](#test-chat) never creates orders.

## Live mode

**Turn on for everyone** asks you to confirm; after that the AI answers every customer. You can press **Back to practice** at any time. Who changed the mode and when is in the activity log.

To stop the AI in the whole store right away, turn the switch off on the **Settings** tab. Every chat then goes to people.

## Where the AI replies

The **Where the AI replies** card on the **Settings** tab has a switch for each platform, so you can choose where the AI works:

- **Chats:** Facebook Messenger, Instagram DM and the website chat (WhatsApp shows up here too once your shop's own number is connected, [connect WhatsApp](https://docs.czcommerce.app/en/inbox/connect-whatsapp#ai));
- **Post comments:** Facebook post comments and Instagram post comments, each with its own switch.

Everything starts on, so nothing changes until you turn something off. Each switch saves at once. Beside each one you see whether that platform is connected now (a Page or Instagram account connected, or the website chat turned on).

Where you turn the AI off, your team handles that platform alone: the AI sends no answer, no "please wait" message, no follow-up, no "seen" or "typing…", and adds no "handed to your team" lines. In the inbox, those chats show "AI off on this platform" in place of the AI's state; comments there stay in the **Comments** list for your team. Other platforms carry on as before. For example, keep the AI on Messenger and the website, and let your team answer Instagram themselves.

> **Good to know:**
> The **The AI answers customers** switch above still comes first: when it is off, the AI works nowhere, whatever these switches say. The schedule and "on/off now" apply on top of them as well. Changing these switches needs the **AI salesperson: settings, instructions, knowledge book** permission; who changed what and when is in the activity log.

## Schedule

Whether the AI answers all the time or only at set hours is chosen on the **Schedule** card of the **Settings** tab. It starts as **Always**: as before, the AI answers whenever it is on.

Choose **On a schedule** and give each day one or more ranges, for example 7 am to 7 pm. To set it quickly:

- **Same hours every day:** type the hours and press **Apply to every day**;
- **Office hours:** Saturday to Thursday, 9 am to 6 pm, Friday off;
- then change any day as you like. A day without hours has the AI off.

A range may run past midnight, for example 10 pm to 2 am: it belongs to the day it starts and runs into 2 am the next morning. Times are the store's time zone (Bangladesh time). Nothing changes until you save.

Outside its hours the AI does not answer and does not show "seen" or "typing…"; the chat stays with your team. Messenger, Instagram, the website chat and comments all follow the same schedule. The card always says whether the AI is on now and when that changes, for example "AI is off now, comes on tomorrow 7 am".

**Messages that waited:** with **When the AI comes on, answer messages that waited** on (it starts on), when the AI's hours begin it answers the chats whose last message came outside its hours and that nobody has answered yet. It leaves old ones alone: the limit starts at 12 hours and you can change it (the 24-hour rule of Messenger and Instagram applies anyway). Turned off, those chats stay with your team.

**Turn the AI on or off now:** to go over the schedule for a while without changing it, press **Turn AI on now** or **Turn AI off now** and choose for how long: 1 hour, until tonight, until the schedule changes, until you change it back, or until a set time. For example, the schedule is 7 am to 7 pm and at 8 pm you turn the AI on "until the schedule changes": the AI runs until 7 am tomorrow, and then the schedule carries on by itself. When the time is up the schedule applies again by itself; to go back sooner press **Back to the schedule**. The top of the inbox also shows the AI's state now, and you can turn it on or off from there.

> **Good to know:**
> The **The AI answers customers** switch is the master switch: when it is off, the AI does not answer, whatever the schedule or "on now" says. Changing the schedule or "on/off now" needs the **AI salesperson: settings, instructions, knowledge book** permission; who changed it and when is in the activity log. The test chat and the moderator's assistant ignore the schedule: they are your team's tools.

## When staff take over

The chat stays in your hands while the AI answers:

- As soon as someone types an answer in the panel, Business Suite or the Pages app, the AI stops in that chat. Business Suite's automatic messages (Instant reply, the Page's message before the customer writes, a saved reply sent to many chats) don't stop it ([see below](#auto-replies)).
- The customer wrote again but nobody answered? After some minutes the AI looks at the chat again; if it needs an answer, it answers and takes the chat back. How many minutes is set in **Settings › Inbox and Facebook Pages**, 30 at first ([when the AI looks again](https://docs.czcommerce.app/en/inbox/connect-a-page#takeover)).
- When someone on your team wrote in the chat (bargaining, say, or choosing not to answer), the AI doesn't come back that soon: only when the customer's last message has waited 120 minutes at first, and with 0 not again that day (**After someone wrote, how many minutes**).
- Press **Give back to AI** at the top of a chat and the AI takes over again at once.

More: [the AI and you](https://docs.czcommerce.app/en/inbox/inbox#ai).

### Business Suite auto-replies

When Business Suite has an Instant reply, an Away message or a keyword auto-reply on (for example "Welcome! Use fb10 for 10% off" on the first message), Meta sends it to us exactly like a person's reply. Meta does not say whether a person wrote it or an automation sent it.

So the inbox finds them itself, with nothing for you to do:

- The Page's message before the customer writes (for example "Which one were you looking at? Please send a picture" as soon as someone clicks your ad).
- A message within 5 seconds of the customer's first one (an Instant reply or Away message; nobody reads and types that fast).
- The same words sent to at least three other chats in seven days (a saved reply; the customer's name is left out when comparing), and the pictures sent with it. Texts under 30 characters are never found this way, such as "Ok ma'am": people type those themselves.

Such a message carries a small mark in the chat, such as "Found to be a saved reply (the same words in many chats); the AI went on". If it got one wrong, press **A person wrote this** under the message: its text joins the **A person wrote these (the AI stops)** list, messages like it pause the AI from then on, and if it is the Page's last answer the AI stops now. To have a saved reply always stop the AI, put its text in that list too.

For anything the inbox doesn't find itself, enter the texts once:

1. On the **AI salesperson** page's settings, go to the **Business Suite auto-replies** card.
2. Press **Add another text** and paste the auto-reply's text exactly as it is in Business Suite. Up to 10 texts, each up to 1,000 characters.
3. Save.

Or from the chat: press **This is an auto-reply** under such a message. Its text joins the list, the message gets the "Automated reply (Business Suite)" label, and if this message is what paused the AI in the chat, the AI takes over again. Only people with the **AI salesperson: settings, instructions, knowledge book** permission see it.

How it matches:

- A message is an auto-reply when its whole text is the same as a text in the list, or when the text in the list is 12 characters or longer and the message starts with it. Capital letters and extra spaces or lines don't matter.
- If the reply has the customer's name in it, enter only the part before the name (at least 12 characters).
- When you change the text in Business Suite, change the list too; the old text no longer matches.
- Any other reply someone types in Business Suite or the Pages app still stops the AI, as before.

An auto-reply shows in the chat with the "Automated reply (Business Suite)" label. A greeting or "we'll reply soon" does not count as an answer: the customer's message still waits for one, and the AI answers it. A saved reply (price, sizes, pictures) does count: the AI doesn't answer that question a second time, and if it lands while the AI is writing, the AI's answer is not sent; the customer's next question gets the AI as usual. The AI knows what the shop already sent, so it doesn't repeat the greeting or the coupon.

## Buying interest

As the chat goes on, the AI judges how close the customer is to buying and shows a small badge on the chat's row in the inbox and at the top of the chat:

- **Will buy:** the customer is ready, for example wants to order or is giving an address;
- **Maybe:** there is interest, for example they ask about the price, size or delivery;
- **Low interest:** the chat goes on, but with no sign of buying.

With no interest at all, or before the AI has judged, there is no badge. It is the AI's guess, not a certainty; use it to pick which chats to look at first.

Open **Filters** above the chat list and pick Will buy, Maybe or Low interest under **Buying interest** to see only those chats.

## Reply limit without buying interest

When someone only chats for a long time, every AI reply still uses credits. So the **Buying interest and follow-up** card in the **Settings** tab has **Most replies without buying interest**, 15 at first.

In a chat where the customer never showed buying interest (never "Will buy" or "Maybe") and has no order, the AI stops after that many replies and hands the chat to your team ("Needs a person"). Reports show the reason "Many replies, no buying interest". Any number from 0 to 200; 0 turns the limit off.

## Follow-up for customers who will buy later

When a customer says they are just looking or will buy later, the AI answers politely and plans one reminder. The same reminder is planned when the AI has given a customer a product's price, photos or the next step of an order and they go quiet: about two hours later, a short line in your shop's way ("Would you like to order the navy blue one, Ma'am?"); their next message cancels it. Turn it on or off with **Follow up with customers who are just looking or will buy later** on the **Buying interest and follow-up** card of the **Settings** tab (on at first). While it is on, choose **At most, per chat in 7 days**: **Once** (at first) or **Twice**.

- **One message each time**, and always inside Meta's 24 hours ([the 24-hour rule](https://docs.czcommerce.app/en/inbox/inbox#window)). It never uses a message tag to send outside the 24 hours. No more than once or twice per chat in 7 days (as set).
- **Messenger and Instagram only**; the website chat gets no follow-up.
- **When it goes:** at the time the customer named (for example "I'll let you know this evening") or 20 hours after their last message, whichever is earlier; but at least an hour from now, and within 23 hours of their last message.
- **Never at night.** Between 10 pm and 9 am (Bangladesh time) no follow-up goes: it moves to 9 am if that is still inside the 23 hours, otherwise to 9:30 the evening before (if that is still at least an hour away); else it is skipped.
- **Never outside the AI's hours.** If that time falls while the AI is off, it goes when the AI's hours start again, as long as the 24 hours have not passed; otherwise the follow-up is skipped ([schedule](#schedule)).
- **Cancelled** if the customer writes again or places an order in the meantime.
- Until then the chat waits in **Later**, and the top of the chat says "AI will follow up: …" with the time. After the follow-up the chat goes back to **Open**.
- Anyone on your team can press **Cancel follow-up** in the menu of the AI button at the top of the chat; the chat shows a line saying so.
- The follow-up message costs **1 credit** ([credits](https://docs.czcommerce.app/en/inbox/ai-credits)). Sorting messages and judging interest cost your store nothing.

## What customers see

The AI's answers go out in your store's name, like a normal chat. No introduction line is added at the start of a chat, and the AI doesn't say "I'm an automated assistant" on its own.

- **On your website's chat:** while the AI is on, a small line under the message box says "Replies may be automated."
- **On Messenger and Instagram:** nothing extra is shown.

> **Good to know:**
> If a customer asks "are you a person?", the AI tells the truth: "No, I'm not a person; I'm this shop's automated assistant. Someone from our team can join if needed." The AI never says it is a person, even if your instructions say otherwise. If the customer wants a person, the chat goes to your team.

## What the AI does in a chat

### Language

When the customer writes in Bangla or Banglish, the AI answers in Bangla (in Bangla script); in English, it answers in English. "Hi", an emoji, a sticker or a picture alone says nothing about the language: the AI keeps the chat's earlier language, and in a new chat uses **Default language** on the **Chat language** card of the **Settings** tab (Bangla at first). Short words like "thanks" or "ok" never switch the language; only a full sentence in the other language does. The words on product cards and buttons follow the chat's language too.

### Seen and typing

On Messenger, as soon as a customer's message arrives and the AI is going to answer, the customer sees "Seen" and "typing…" at once; "typing…" stays until the answer is written. On the website chat the customer sees the typing sign too. Outside the AI's hours, or in a paused chat, none of this shows.

### Product cards

To show products the AI sends cards instead of links (up to 10 at a time): picture, name, price, and "In stock" or "Few left". Cards on Messenger and Instagram have two buttons, **I want this** and **Details** (the product page); on the website chat one button, **View this**. The cards go first, then the AI's text.

The AI never sends a card for a product that is out of stock; it tells the customer plainly that it's not in stock now. When some sizes or colours are sold out, it says that too. When you don't sell what the customer asks for, the AI says so plainly and offers two or three of your products that come closest, never a flat "no".

**Real photos.** When a customer asks for pictures, "real pics" or the colours, or asks the price of something people choose by its look (clothes, shoes, bags), the AI sends the product's own photos from your catalogue, each as a photo message (the variants' pictures first, up to 5 per product), and then its answer. Add a clear picture for each colour to your products so the AI has them to send. On the website chat the product's card goes instead.

### Photos customers send

When a customer sends a picture of a product ("do you have this?"), the AI matches it with your catalogue's product pictures:

- Your own picture (from your Page or website, even resized, cropped or watermarked) is recognised as that product straight away.
- Any other picture is compared by eye with every product picture, and the closest products go as cards: the same item, or very similar ones.
- When the same item is out of stock, it says so plainly and sends cards of the closest ones in stock.
- It looks at up to 3 pictures in one answer; with more, it asks which one they mean.
- Each picture recognised costs **2 credits** ([credits](https://docs.czcommerce.app/en/inbox/ai-credits)).

### Taking orders

On Messenger and Instagram the AI takes orders itself; on the website chat it doesn't (it sends cards and links to your checkout instead).

1. It settles the product, size or colour and quantity, and asks for the name, phone number and the full address in one line. A full address says where in the area: house and road (or flat, block, sector), or a village with its post office, or a landmark, with the area and district. "Mirpur 2, Dhaka" alone is not enough: the AI asks for the rest, and the system refuses the order once without it.
2. It works out the price, delivery charge, coupon discount and total by the checkout's own rules, then asks with a summary that shows the total as a sum ("700+70=770 taka"). A product's own [buy more, pay less](https://docs.czcommerce.app/en/products/add-a-product#quantity-prices) prices ("2 pieces or more: ৳650 each") apply by themselves, as on your website. A deal your instructions name (for example "2 pieces for 1300") is priced through its coupon; one that neither the product nor a coupon gives is handed to your team to confirm, never ordered at a higher total. **Yes** and **No** buttons sit under the question (on Instagram, instead of buttons, "Please reply Yes or No."). The customer can press a button or type "yes"; pressing the same button twice still makes only one order.
3. The order is placed **only after that yes**, checked by the system (not just the AI's reading of the chat), and only for the items in that summary. A yes doesn't carry over to another basket or another day: the same items ordered again later make a new order after a new summary and a new yes.
4. If your checkout asks for a phone code, the customer gets the SMS code and types it in the chat.
5. **Payment:** cash on delivery, or mobile banking: the AI records the wallet the customer pays to (bKash, Nagad, …; with more than one wallet it asks which), the transaction ID and the amount if they give them. A customer who will send the money after ordering can still order; the payment can follow. If your store takes an advance, cash on delivery alone isn't offered: the AI asks for the advance first, as the checkout does ([advance payment](https://docs.czcommerce.app/en/payments/payment-methods#advance-payment)).
6. **Courier:** if your checkout lets customers pick a courier, the AI's delivery charge and the order use the same courier (your default, or the one the customer picks).
7. The order is placed through the checkout itself: fraud shield, limits and all. It shows on the **Orders** page like any other, with the chat as its source. One customer can place up to 5 orders a day from chats (cancelled orders and ones your team made for the chat don't count).
8. Right after the order the AI sends the customer the bill by itself: a picture of the bill you print (over 3 pages: the first page's picture and the whole bill as a PDF). If the picture can't be made, the bill goes as text (without the full address). If the AI's answer after an order can't be sent (it failed the check), the customer still gets a short line with the order number and total after the hold message.

Until your shop confirms the order, the customer can change the address, district or area (the delivery charge is worked out again), phone, note or items, or cancel, right in the chat (the AI asks Yes or No again); after that, changes need your team. Some changes always go to your team, with what the customer wants in the summary:

- an order with money in it: something paid, or a payment the customer says they sent that you haven't rejected;
- a new phone number when your store asks for SMS codes, or one the fraud shield would not accept (a blocked number is refused). A new number also loses the old number's "verified by code";
- items or place of an order with a coupon.

The AI tells the status of the customer's orders: those made in their chats, those of the store customer the chat is linked to, and one whose order number and mobile number the customer gives; it never tells the address. A chat is linked to a store customer by your team (**Link to …**), by a signed-in customer on the website chat, or by a chat order whose SMS code the customer typed. An order with a phone number nobody verified (a gift, or someone typing another person's number) never links the chat, so it never shows that person's other orders.

### "Thanks" at the end

When the matter is over (an order was placed in the chat in the last 3 hours, or our last message asked nothing) and the customer only sends "thanks", "ok", "bye", "Allah hafez", 👍, ❤️ or the like sticker, the AI sends no message: on Messenger or Instagram it reacts to theirs (a like for "ok" and 👍, a love for thanks and ❤️). It costs no credit, the chat moves to **Done**, and a line in the chat tells your team. While a Yes/No question is open, "ok" means yes and the AI carries on as usual.

### Instant replies: hi, salam, how are you

Many chats start with only "hi", "hello", "Assalamu alaikum", "bhai, achen?" or "kemon achen". Such a message needs no AI: a ready reply goes at once and **costs no credit**. Turn it on or off and change the texts on the **Instant replies** card in the **Settings** tab; it starts on in every store.

It knows four kinds, in Bangla, Banglish and English, common typos included:

- **Greeting:** hi, hello, hlw, হ্যালো, good morning, "achen?", "keu achen?", just "bhai" or "apu", 👋;
- **Salam:** Assalamu alaikum, salam, slm, আসসালামু আলাইকুম; "Wa alaikum assalam" goes only when the customer sent a salam;
- **How are you:** kemon achen, kmn acen, কেমন আছেন, how are you;
- **Goodbye:** bye, Allah hafez, good night (after a finished matter these get a [reaction](#closing), not a message).

An instant reply goes only when:

- the AI would have answered the chat anyway (AI on, on that platform, inside its hours, only testers in practice mode);
- the chat is at its start: nothing before, the last matter was finished, or the last message is more than 12 hours old. A "hello?" in the middle of a conversation (the customer is waiting for an answer) gets the AI;
- every message sent together is like this: "hi" followed by "price koto?" gets the AI for both. A price, delivery, an order, a number, a link, a photo, a voice message or a button means no instant reply;
- no Yes/No question is open;
- the chat did not come from one of your ads whose post is linked to products: there the AI answers even a "hi" with the ad product's price and photos.

The reply goes like the AI's ("seen", a short "typing…", then the message), in the chat's language (Bangla script or Banglish gets Bangla, English gets English, else the store's default language). It never adds "Sir" or "Ma'am". Each kind has 3–4 texts that take turns, never the same twice in a row in one chat. A line in the chat tells your team "তাৎক্ষণিক উত্তর গেছে (AI ছাড়া, ক্রেডিট লাগেনি)", and the AI does not greet again in its next answer.

On the card you can:

- turn it all off (then the AI answers these messages too, using credits), or one kind;
- write your own texts per kind in Bangla and English, one per line, up to 4, 300 characters each. Left empty, the grey texts are used. `{store}` becomes your store name;
- see below each kind what the customer gets. A salam can only be written in the **Salam** box.

The card and the **Credits** tab show how many replies went without the AI this month. Every change is in the activity log.

## The hold message

Before an AI answer is sent it is checked: prices, stock, links and phone numbers must be right. If it still isn't right after two tries, the AI sends only the parts of its answer that are right, when they still say something; otherwise it says nothing and hands the chat to your team ("Needs a person"). The same happens when an answer runs out of time or the AI service is unavailable. So the customer isn't left waiting, they get a short message:

> Please wait a moment, our team is looking into it.

On the **Settings** tab you can turn this message off or write your own in Bangla and English (up to 300 characters).

## Instructions

Instructions teach the AI your store's rules: how to talk, how long delivery takes, the return policy, whether bargaining is fine. **The AI can't be turned on without active instructions.**

- **Start from a template**: ready text for clothing, cosmetics, gadgets, food or any shop, in Bangla or English depending on the panel's language.
- A template has blanks like `{store name}`, `{delivery time}` and `{return policy}`. Replace every one with your own details; with any left, it can't be saved, and the ones left are listed under the text.
- Up to 8,000 characters; a counter shows below.
- Don't write prices, stock or delivery charges in the instructions; the AI always takes them from your catalogue and settings.

### Versions

Each time you press **Save** a new version is made; the earlier one is kept. Add a short note if you like, such as "Eid delivery times added".

- **Save and activate** makes the new version active at once. Plain **Save** doesn't; you can test first and activate later.
- The version list shows which one is active, who made each one and when, and whether it was tested.
- **Activate this**: go back to an older version in one click. It applies from the next customer message.
- **Compare**: pick two versions to see which lines were added and which were removed.

## Test chat

Beside the instructions is a phone-like chat. You write as the customer; the AI answers following the chosen version. It uses your real catalogue, prices and stock, and shows product cards.

- Nothing is sent to anyone and no order is created. When the AI tries to take an order, its answer says "(টেস্ট: অর্ডার তৈরি হয়নি)" (test: no order created).
- **Each answer costs 1 credit.**
- An answer usually takes a few seconds. You can't send another while one is being written.
- When no answer comes, the reason is shown. If the AI would hand the chat to a person here, that is shown too. The reasons:
  - **Credits used up** or **today's credit limit reached:** buy credits or try again tomorrow ([AI credits](https://docs.czcommerce.app/en/inbox/ai-credits)).
  - **The AI is off for now; the problem is on our side:** we know and are fixing it; nothing for you to do. It starts again by itself shortly.
  - **Something went wrong on our side and the team has been told:** a bug in our code; the team hears at once. Nothing for you to do.
  - **The AI is not available right now, try again in a while:** the AI service is busy at the moment; send again in a few minutes.
  - **AI is off for the whole platform** or **the platform's AI limit for this month is reached:** turned off on the platform's side.
  - **The AI declined**, **the answer failed the check** or **too many steps without finishing:** in a real chat these would go to your team; try other instructions or another question.
  - An answer that did not come costs no credit.
- **Clear chat** starts over.
- A version tested once gets a "Tested" mark in the list. Testing before activating isn't required, but it's a good idea.

### Teach it in the test chat

Don't like a reply? Teach the AI the way you would say it, in a couple of minutes:

1. Press **Say it like this** under the reply. The reply opens for editing; write it the way you want and press **Teach**.
2. Or simply write in the chat: `say it like this: …` (or `এভাবে বলো: …`). That corrects the AI's last reply instead of going to the AI as a customer's message.

Either way the better reply goes into the **Knowledge book** at once as an entry named "Say it like this: …" with the customer's message, live straight away (no new version, nothing to switch on), and the line under the chat says it was learned. Teach the same question again and that entry changes. The AI uses it in your own words as a guide; prices, stock and totals still come from your catalogue. It also goes to the AI's [own learning](https://docs.czcommerce.app/en/support/ai-assistant#playbook) as its strongest lesson, which learns from it right away. Teaching costs no credit. You can edit or delete these entries in the knowledge book like any other.

## A new store from day one

A store without past chats has nothing to learn its own way of selling from yet, so until it does, the AI salesperson sells the way good sellers of your kind of shop do (what you picked under **What do you sell? (optional)** when you opened the store): for clothing it gives the price with pictures, asks the chest or waist (or weight and height), the colour, then the name, mobile number and full address together, and gives the total as a sum ("item ৳… + delivery ৳… = total ৳…"); for beauty products it asks the skin type and never claims "100% original" unless you said so; for gadgets it checks the model fits and never invents a warranty; and so on. These are defaults: your settings, your instructions, your knowledge book and the way of selling learned from your own chats always come first, and once enough of your own way is learned ([how you sell, from your chats](https://docs.czcommerce.app/en/support/ai-assistant#playbook)) the defaults step aside. Answer the AI assistant's [setup questions](https://docs.czcommerce.app/en/support/ai-assistant#gap-questions) and teach it in the test chat to make it yours sooner.

## What the AI never does

- **It never makes up prices.** Prices, discounts, stock and delivery charges always come from your catalogue and settings. The AI can't lower a price itself; discounts only come through coupons.
- **It never says it is a person.**
- **It doesn't take orders in the website chat.** There it sends product cards and links to your website's checkout. On Messenger and Instagram it takes orders, with the fraud shield and code check like the checkout.
- **It never tells one customer about another**, and never shows your instructions or knowledge book word for word.
- **Anger, complaints, returns or refunds** it doesn't handle itself; it marks the chat "Needs a person" and hands it to your team.
- It doesn't invent answers to questions it can't answer; it writes the question down so you can teach it later ([unanswered questions](https://docs.czcommerce.app/en/inbox/ai-knowledge#unanswered)).
