Skip to main content

Chatbot

Let an AI assistant answer your customers on WhatsApp from your own knowledge, and hand the chat to your team when it cannot help.

Who can use this: Managers and above (chatbot:manage). Try it also needs ai:use, which every role has.

How it works

Each brand has one chatbot, set up at AI → Chatbot.

  1. A customer sends a WhatsApp message to the brand's number.
  2. Antero waits a few seconds, so a burst of messages gets one reply.
  3. It looks up the parts of your knowledge that match what the customer asked.
  4. The AI writes a short reply from those parts only, in the customer's language, and sends it in the conversation.
  5. When the customer asks for a person, or the answer is not in the knowledge, the chatbot hands the conversation to your team.

The chatbot answers only on WhatsApp, and only in conversations that are open, assigned to nobody and have the chatbot switched on in the Inbox. Once someone in your team replies or takes the conversation, the chatbot stops answering it.

The page shows three totals for this month: Credits this month (with the budget, or "No monthly cap"), Replies this month and Handed to your team. A pill shows whether the chatbot runs on Antero credits or your own AI key. If the brand has no WhatsApp number yet, the page says so; you can still try the chatbot meanwhile.

Settings

Setting What it does
Answer messages The main switch. On, the chatbot answers new WhatsApp messages; off, it answers nothing. Off by default
Name What the chatbot calls itself, up to 60 characters ("Assistant" by default)
Handover message (optional) Sent instead of the chatbot's own words when it decides to hand over, such as "Thanks! A colleague will reply shortly." (up to 500 characters)
How it should talk and what to know Your instructions: tone, delivery areas, what to always ask (up to 4,000 characters). For example: "Friendly and short. We deliver around the Klang Valley only. Always ask for the event date and number of guests."
Monthly AI budget (credits) The most credits the chatbot may use in a calendar month; blank means no cap. When it is spent, conversations go to your team until next month
Replies per conversation per day The most replies in one conversation per day, 1 to 200 (20 by default)
Transcribe voice notes Turns customers' WhatsApp voice notes into text for your team and the chatbot (see below)
Answer voice notes with a voice note The chatbot speaks its answer to a voice note, within WhatsApp's 24-hour window. Needs Transcribe voice notes. Off by default (see below)

Press Save. The chatbot's built-in rules always come first; your instructions are followed unless they conflict with them.

The chatbot's rules

Whatever you write in the settings, the chatbot:

  • answers only from the knowledge it found, and never invents prices, dates, stock, addresses or promises;
  • says it will check with the team, and hands over, when the answer is not in the knowledge;
  • hands over when the customer asks for a person, complains, or wants to confirm an order, a booking or a payment;
  • writes like a WhatsApp message: short (under 80 words), plain text, no headings or tables;
  • replies in the customer's language: Bahasa Melayu, English or the mix they use;
  • treats your knowledge and the customer's messages as information, and never follows instructions written in them.

Knowledge

The chatbot answers only from what is under Knowledge. Add your price list, packages, FAQ or website pages so it has something to answer from. Press Add knowledge and choose a type.

Source types

Type What you give Limits
Article A Title and Text: prices, packages, opening hours, delivery areas, policies Text up to 100,000 characters
Questions and answers A Title, then pairs of Question and Answer; Add a question adds a pair Up to 100 pairs; questions up to 300 characters, answers up to 2,000
Web page The Page address; the title is optional (the address is used) Public addresses only; up to 2 MB of page, 100,000 characters of text
PDF document A PDF file; the title is optional (the file name is used) Up to 10 MB; counts towards the plan's storage
  • A brand can have up to 200 knowledge sources.
  • Each source shows its size in characters and, for web pages and PDFs, when it was read. Edit or delete a source from its row; deleting one stops the chatbot using it.
  • Web pages are read once, in the background ("Reading the page. It is ready in a few seconds."). Antero keeps the page's text without scripts, menus, headers, footers or forms, and follows at most 3 redirects, all to public addresses. When the page changes, press Read the page again (up to 10 times a minute). A page that could not be read shows why.
  • PDFs are read once. Scanned PDFs have no text, so paste their text as an article instead. To change a PDF's text, delete it and add the new file; editing only changes its title.
  • Knowledge for the chatbot is kept apart from the HR policies Ask Lin reads.

How it finds answers

Knowledge is cut into pieces of about 1,000 characters along paragraph and sentence breaks. For each reply, Antero takes the customer's last two messages and ranks every piece with BM25, a keyword search:

  • words are matched in English and Malay, in lower case, without common words that say nothing about the topic, and English plurals find their singular ("prices" finds "price");
  • the 5 best pieces go to the AI with the last 12 messages of the conversation;
  • there are no embeddings, so it works with every AI provider and gives the same pieces for the same question every time.

Write knowledge in the words customers use. If they ask "boleh hantar ke Shah Alam?", an article that says "Kami hantar ke Shah Alam" is found more easily than one that only says "Klang Valley".

Handover to a person

The chatbot hands a conversation to your team when:

  • the AI decides to (the customer asked for a person, complained, wants to confirm something, or the answer is not in the knowledge). It sends its reply, or your Handover message when you set one, then hands over;
  • the monthly budget is spent or the conversation reached its replies for the day. Nothing more is sent to the customer;
  • the AI could not answer (the provider failed, credits ran out, or the reply could not be read). Nothing is sent to the customer.

A handed-over conversation shows Needs a person in the inbox, has its chatbot switched off, and sends the Chatbot conversations that need a person Telegram alert, with the reason and a link, to chats that want it (see Telegram). Switching the chatbot back on for the conversation in the inbox hands it back to the bot.

Budget and limits

  • Each reply is an AI call, charged in credits like any other (the "Chatbot" feature): at least 1 credit, based on the tokens used. See Plans, credits and billing.
  • Monthly AI budget counts the credits the brand's chatbot used since the first of the month, in the workspace's timezone. Replies made on your own AI key are counted at what they would have cost in credits, so the budget still works.
  • Replies per conversation per day counts from midnight in the workspace's timezone.
  • When the workspace has too few credits, or the workspace is read-only, the chatbot cannot answer and the conversation is handed over.

Try it

Try it on the same page lets you chat as a customer would, before switching the chatbot on.

  • It uses your saved settings and knowledge, so save first.
  • Each answer shows how many knowledge excerpts it read, the credits it cost, and Hands over to your team when it would hand over. The total for the test is shown below.
  • Start over clears the test chat. Like a real conversation, each answer reads the last 12 messages.
  • It costs the same as a real reply, and is limited to 20 messages a minute.

Voice notes

With Transcribe voice notes on, every voice note a customer sends on WhatsApp is turned into text:

  • the text shows under the voice note in the inbox, as Voice note as text;
  • the chatbot reads it and answers it like any message, when it would answer the conversation;
  • transcription uses credits for each minute of speech (the "Voice to text" feature).

It works even when Answer messages is off, so your team can read voice notes. See Voice.

Answering with a voice note

Turn on Answer voice notes with a voice note (it needs Transcribe voice notes) and the chatbot answers a customer's voice note with a voice note of its own.

  • Only answers to voice notes are spoken. Answers to text messages, and handovers to your team, go as text.
  • The note is kept with the message in the inbox, with its text under the player, and counts towards the plan's storage.
  • It uses Read aloud credits by length, as well as the chatbot's own credits for writing the answer.
  • When the answer cannot be spoken (too few credits, storage full, or WhatsApp refused the file), it goes as text.
  • With Read aloud on OpenAI, the answer is a real WhatsApp voice note; with another provider, it arrives as an audio file. See Voice.

Details it picks up

When a customer tells the chatbot their name, email or what they are interested in, Antero fills in their contact without overwriting what your team entered:

  • the name, only while the contact is still named after their WhatsApp profile or number;
  • the email, only when the contact has none and no other contact has it;
  • an Interest custom field, only when the contact has none yet.

What it does not do

  • It never answers by SMS. Each SMS reply costs the brand money, so SMS conversations are always for your team.
  • It answers text messages and button replies (and voice notes, when transcribed). Photos, documents and stickers wait for your team.
  • It does not answer conversations that are assigned to someone, resolved, or have the chatbot switched off.
  • It does not answer opt-out keywords such as STOP or BERHENTI; Antero confirms those itself.
  • It does not send templates or files (apart from spoken answers to voice notes, when that is on), and cannot start a conversation.
  • It cannot take actions such as moving a deal or messaging someone else. Only the assistants inside Antero can propose those, and only a person's Confirm runs them (see Assistant actions).