Skip to main content
Aurikle

AI and systems

How to build an AI customer service bot

An AI customer-service bot classifies repeated incoming messages, drafts a reply from material the company has already approved, and leaves sending to a person on the team. Every sentence a customer reads speaks for the company, so price, delivery dates, refunds, and complaints need a person to confirm them. The channels, the approved material, and the handoff rules go into the scope before build work starts.

On this page

Matching serviceCustomer, sales, and voice assistants

Mark the stretch of incoming messages the bot may draft

In the scope, name the channels it reads, such as the site form, email, and WhatsApp, the approved questions it may draft, and the moment it must hand the thread to a person. If that scope is empty, the draft answers price and complaints. The person on the team later finds that a sentence waiting to be sent has already become a promise, such as "it can arrive this week" or "we can refund the full amount". Those sentences are not in the approved text, so they do not belong in the draft. After the work starts, the owner pulls a few real incoming threads and checks whether classification left a topic that should have been handed over inside the draft.

Opening hours, shipping methods, and product specifications are the questions that repeat every day, and they belong in this stretch. Price, refunds, complaints, and contractual commitments are handoffs from the first day. They do not enter an automatic draft. A new person on the team will often add a discount or a delivery date to the end of a specification answer. The draft stops at the specification. The discount and the date stay blank, and the person asks whoever owns the quote. After that person adds the approved sentence to the text, a later thread of the same kind may cite it.

Show unsent and sent as two states on the screen

Sentences the model writes stay in a queue that has not been sent. After a person confirms them, they enter the conversation the customer can see. The two states have to be separate on the screen, not only in an internal note. Unsent carries one mark, sent carries another, so the next person on shift can see which sentence nobody has read. Before confirming, the person can edit. The edited words are the words that go out. If the customer sends another message while the draft is still unsent, the draft has to pick up the new earlier messages. The old draft is not released as it stands.

If the system sends the draft on its own, nobody can later tell which sentence a person read. The send record keeps who confirmed it, and when. Without those two fields, a complaint comes back and the team can only guess whether the model wrote the sentence or a person changed it. There is nowhere to start the review. Keep the record in the customer-service system, not only in the model's chat window, so the next person on shift can still see who confirmed it and at what time.

Draft only from text the company has already approved

The draft cites text the company has already approved, and shows the document name and the paragraph beside the sentence. If the material does not contain the answer, the draft says the source was not found and leaves the person to ask the owner, rather than completing the sentence. When the person sees "source not found", they know that sentence cannot be sent with one click. When the approved text is updated, remove the old paragraph from what may be cited, so the team does not send a warranty period or a shipping fee that is no longer in the approved text.

Do not let the model fill the gap with a sentence about a nearby product. The customer asked for the warranty period of this item, and the library only has the sentence for another item. The draft stops and marks that the item number does not match. Once a filled-in sentence is sent, the customer treats it as a commitment, and after-sales has to honour that sentence. Where the approved text comes from, as a current document, is covered in How to build an enterprise knowledge base.

Hand off the channel, the earlier messages, and the draft

The handoff carries the channel, the earlier messages, and the draft, so the next person can see the whole thread. Passing only the last sentence, "I want a refund", makes them ask the customer again for the order number and the reason. The customer can tell that nobody read what came before. The handoff names the order number, the channel of purchase, and the point in dispute, if the customer has already given them. The person starts from those fields, not from a blank form. A specification answer already written in the draft can stay. The sentences about price and refund stay empty for the person to fill.

Write the handoff rules into the scope: which words must leave the queue, such as refund, complaint, or lawyer; which amounts must leave; and which kind of tone, or which repeated chase, must leave. Vague rules leave the exception inside an automatic draft, where it looks as if it has been handled. The duty roster names the person who receives it. Sending the thread into a shared mailbox that nobody watches is the same as not handing it over. The customer will ask again on the original channel the next day.

Turn voice into text, then have a person check it before sending

If the scope includes voice, turn the audio into text, then use the same classification, draft, and review. A finished transcript does not mean the bot may reply on its own, and it does not mean the bot may make a promise. If the system treats a spoken "yes" as confirmation of an order or a refund, the result is the same as sending the wrong text. The transcript enters the unsent queue. It does not enter the sent conversation. The person plays the original recording, checks the key sentence, and only then decides whether that text can be used.

A transcript can mis-hear an amount or a date, and it can hear a name as a similar sound. Sentences that carry an amount, a date, or an identity still wait until a person has checked them against the recording or the original text. Only then does the person confirm. How the channels, the approved lines, and the handoff meet the screen the team opens every day is covered under Customer, sales, and voice assistants.

Related notes

Book a consultationCustomer, sales, and voice assistants