An AI chatbot works well when it answers only from what the company has written and hands the conversation to a person at the right moment. At Luna, it starts at $110; full integrations and many business rules can reach $755 or more, on request, in 1 to 4 weeks depending on scope.

What determines quality is not the language model, but the knowledge base behind it and the stop rules. This guide explains how customer service works underneath, how to build the knowledge base, what the bot should never decide and when to hand over to an agent.

How an AI chatbot answers

The customer writes a free-form message, such as "my order hasn't arrived, what now?". The system does three things in sequence: it understands the intent of the message, finds the right information (a text from your knowledge base or a data point from your system, such as the order status) and writes a reply in natural language using only what it found.

This design is different from a menu bot, where the customer picks buttons. The menu is predictable and cheaper; the AI accepts any phrasing, but requires well-designed limits. To compare the three levels of automation, see how to automate customer service on WhatsApp.

Quick answer: the bot should only state what is in the knowledge base or in the company's system. If it did not find it, it says it does not know and calls a person. Making up an answer is the most costly mistake in this kind of service.

Knowledge base: what goes in and how to organize it

The knowledge base is the set of texts the bot can use. The leaner and more up to date it is, the better the answers. Start with the 20 questions that come into customer service most often, gathered from real conversation history, rather than from what you imagine customers ask.

  • Approved questions and answers: each answer written by someone who knows the subject, with a review date.
  • Policies: exchanges, delivery times, cancellation, payment methods, opening hours.
  • System data: order status, bookings, payment slip copies, balance. Here the bot looks it up in real time, rather than memorizing it.
  • What stays out: drafts, old prices, internal documents and any data from another customer.

An outdated text in the base becomes a wrong answer given with confidence. For that reason, assign someone responsible for the base and a review routine. Without an owner, the base goes stale in a few weeks.

Personal data in customer service

The bot will receive name, phone number, address and, sometimes, more sensitive information. Brazil's General Data Protection Law (LGPD, Law 13.709, text consulted on the official Planalto government website on 2026-12-01) defines personal data as information related to an identified or identifiable natural person, and requires, in article 6, use for legitimate purposes that are made known and limitation to what is strictly necessary. In practice: ask only for the data customer service needs and do not store conversations beyond what is necessary. The post LGPD for small business systems details the care on the system side.

What the bot should never decide

Define in writing the list of topics the bot does not resolve on its own. A suggested starting point:

TopicWho decidesWhat the bot does
Refunds and reversalsA team memberRecords the request and hands over
Price outside the table, discountsSalesShares the price table and hands over
Deadline promise not foreseenOperationsShares only the registered deadline
Serious complaint or threat of legal actionManagerHands over immediately
Medical, legal or financial adviceQualified professionalDeclines and points to the human channel
Customer asks to speak with a personAgentHands over without insisting

When to hand over to a person

The handover needs to be a rule, not improvised. The most useful triggers are objective:

  1. Explicit request: the customer writes "agent", "person" or similar.
  2. No answer in the base: the bot did not find safe information.
  3. Repetition: the customer rephrased the same question twice.
  4. Irritated tone: strong complaint words or a threat.
  5. Topic on the forbidden list: refunds, contracts, health.

When handing over, the bot should pass a summary of the conversation to the agent, so the customer does not have to repeat everything. Outside business hours, it records the request and states when a reply will come, without promising what the team does not deliver. If you use WhatsApp, remember that Meta requires a way to reach a person; the details are in WhatsApp chatbot for companies.

The LGPD also addresses this in article 20: the data subject has the right to request review of decisions made solely on the basis of automated processing. For ordinary customer service, this reinforces good practice of keeping a person available whenever the outcome affects the customer, such as a refused request.

Real limits of AI in customer service

  • It can answer wrongly with a confident tone when the base is weak or the question falls outside its scope.
  • It misreads irony, noisy audio and very long messages.
  • It does not replace judgment in exception cases, such as a long-standing customer with a problem outside the norm.
  • It depends on integration: without access to the system, it cannot know a customer's order status.

That is why the bot works best as a first line, handling the repetitive work, and not as a replacement for the team. An overview of AI uses and limits in companies is in artificial intelligence for companies.

How much it costs and how long it takes

ScopeLuna rangeTimeline
AI chatbot, natural language, question basefrom $1101 to 4 weeks, depending on scope
Answers connected to the system, full integrations and many business rulescan reach $755 or more, on requestdepends on scope

The values do not include what third-party providers charge for AI usage and for channel messages, which vary with volume and change over time. Ask for an estimated cost per conversation before signing and use each provider's current price table.

Common mistakes

  • Launching the bot without a reviewed base: it will improvise what it does not know.
  • Not defining what it never decides: the first refund promised by mistake shows the problem.
  • Hiding the option to talk to a person: it irritates the customer and worsens the company's reviews.
  • Not measuring: without resolution and handoff rates, no one knows whether the bot helps.
  • Mixing customer data: the bot should only look up data for the customer it is talking to.
  • Treating it as a one-off project: the base needs continuous review.

How to measure whether it is working

Track three simple numbers over 30 days: how many conversations the bot resolved without help, how many were handed over and how many ended with the customer dissatisfied. Also read a sample of conversations every week. What the bot got wrong becomes new text in the base. Whoever knows the cost of an hour of customer service can compare it with the hours saved; the how much manual work costs your company (in Portuguese) calculator helps with that math.

How Luna does it

Luna starts with the customer service history and the list of what the bot never decides. It builds the base with questions approved by you, connects only the necessary data to the system, sets the handoff triggers and delivers the panel to review conversations. The quote comes with scope, timeline and price in writing; if there is not enough information to estimate, the answer is "depends on scope" until the analysis. To talk about your customer service, ask for a quote.

Frequently asked questions

How does an AI chatbot answer the customer?

It understands the intent of the message, looks up the information in the knowledge base or in the company's system and writes the answer using only what it found. Without safe information, it should say so and call a person.

What is the chatbot's knowledge base?

It is the set of approved texts the bot can use: questions and answers, policies, opening hours and data retrieved from the system. It needs an owner and periodic review.

How much does an AI chatbot cost at Luna?

From $110. Full integrations and many business rules can reach $755 or more, on request, in 1 to 4 weeks depending on scope. AI and message costs charged by third parties are separate.

What should the chatbot never decide on its own?

Refunds, prices outside the price table, deadline promises not foreseen, serious complaints and medical, legal or financial advice. These cases go to a person.

When should the conversation be handed to a human?

When the customer asks, when the bot finds no safe answer, when the question repeats, when the customer is irritated or when the topic is on the list of cases the bot does not decide.

Can the AI make mistakes?

Yes, especially with a weak or outdated base. That is why the resolution and handoff rates are measured and a sample of conversations is reviewed every week.

Does the chatbot need to comply with the LGPD?

It processes personal data, so it is worth collecting only what is needed and stating the purpose. The law itself covers the right to request review of decisions made solely on the basis of automated processing.