Skip to content
Hexwave Lab
Strategy

Building an AI support chatbot with a clear exit

Hexwave Lab  ·  Field note

Put a human handoff beside every ambiguous response and keep the conversation history attached.

Design the human handoff while the conversation is still on paper. Decide which messages, source passages and account details a support agent should receive when an assistant cannot resolve an enquiry.

A worked scenario

A product team designs a chat assistant for questions about a subscription renewal.

Review stageExample
Source recordsAn approved renewal policy and a sample account
ExceptionThe customer disputes a charge outside the published policy
Acceptance conditionThe assistant hands the case to a person with the conversation history attached

Follow a customer through one conversation

A customer asks a support chatbot, “The replacement belt has arrived. Can I send the old one back in the same box?” A helpful answer depends on the product category, the return reason and which policy applied when the replacement was issued. A confident general answer could send the wrong part to a warehouse that cannot receive it. Before choosing a chat platform, work out what a trained support agent would need to know and what the bot can legitimately see.

Use a fictional merchant to draw the first exchange. The customer supplies a replacement reference. If they have signed in, the application may look up that reference under the current account. It returns an eligible category and a dated policy identifier. A visitor who has signed out can still ask a general packing question. They should be invited to sign in before seeing order-specific instructions. If the lookup fails, the conversation should retain the question and offer a handoff instead of repeatedly asking for the reference.

Write the ideal answer before the prompt

An approved answer might say, “For this replacement, use the return sleeve supplied with the new belt. I found that instruction in the packing section of your return note. If the sleeve is missing, I can prepare a message for the returns team.” It gives a next action, identifies its basis and offers a route for an exception. It avoids promising a collection that has never been booked. Have the policy owner read the answer aloud and strike any wording they could not defend when a customer calls.

Decide which policy wins

Create two synthetic source records. The current policy describes a supplied return sleeve. A superseded page says the original box is acceptable. Give the two documents different effective dates and approval states, then test the same question twice. In the first case the return record points to the current policy. In the second it points to a dated exception approved for an older replacement. Merely selecting the newest document fails the second case. Retrieve the record applicable to this customer’s transaction and show its effective date.

Conversation conditionExpected customer experienceEvidence for the tester
Current order with a return sleeveInstructions refer to the sleeve and offer a missing-item path.Approved excerpt and applicable policy ID.
Return note tied to an older approved exceptionInstructions use the applicable exception and explain the packaging choice.Transaction reference and exception date.
Two approved instructions conflictBot says a team member must check the packing instruction.Both record IDs appear in the internal handoff.
No order permissionVisitor can read general guidance or sign in.No order details or excerpts leave the authorized account.

Design the human’s next thirty seconds

A handoff should save a customer from repeating the whole exchange. Give the support agent the question, the order lookup outcome, the policy excerpts already shown and the missing fact. Separate the customer's original words from the assistant’s summary. An agent who reads “customer has no sleeve” needs to know whether the customer actually said that or the bot inferred it from a question about using a box.

Let the agent correct the proposed answer before sending it. Store a short reason such as “wrong policy edition,” “unsupported promise” or “customer added a fact.” Review a selection of corrections with the content owner. Several “wrong edition” corrections may point to missing effective dates in the policy library. Changing the conversation prompt would leave the underlying ambiguity intact.

Handle waiting honestly

If the support team is offline, show what the application can do now. It may save a draft for the customer, create a case after confirmation, or display the merchant’s verified support channel. A submission screen should keep the text until the destination confirms receipt. A timeout is an uncertain delivery state. Give the customer a reference only if the case system actually returns one.

Test the reply, then test the conversation

Prepare short conversation scripts, including interruptions and spelling mistakes. One customer changes their mind about the item. Another asks the same question in different words after the assistant requests a reference. A third opens a new chat after a failed case creation. Evaluate whether the assistant preserves relevant context, forgets irrelevant details and stops before disclosing information from a previous session.

Score answers separately for correct action, support in the approved source and quality of handoff. An answer can cite the right paragraph while recommending the wrong packaging. A technically accurate reply can leave the customer stranded if the exception path is missing. During a limited rollout, read the conversations that end after a handoff offer. If many customers disappear there, inspect whether the offer arrived too late, asked them to re-enter the reference, or failed to tell them what would happen next.

Design the handoff to a person

A customer should be able to leave an automated path without starting the conversation over. Preserve the original request, actions already attempted and reason for escalation. Show the next owner which details are confirmed and which require a fresh question.

Starting evidenceAction to inspectCompletion check
An unresolved enquiryTransfer its evidence and historyGive the customer a concrete next step

Review a conversation where the system lacked an answer. A good response can still explain what happens next, who will follow up and what information the customer may need to provide.

Route by task and confidence

A support request about a late shipment belongs on a different path from a request to change the delivery address. Classify the requested action before selecting tools. Use an explicit catch-all state for messages containing several intentions.

Test a message that asks for tracking information and a refund in the same paragraph. Retain both requests, determine which require permission and let an operator resolve the conflict.

Separate a tool request from permission to run it

An application can prepare a proposed operation before committing it. For a calendar change, display the event, original time, proposed time and people affected. A person or policy check can then determine whether to proceed.

Exercise the same proposal under read-only and editing roles. The read-only user should be able to inspect the proposed change while the actual write remains unavailable.

Putting it into practice

Open the transferred ticket as a human agent. If the customer has to repeat a product code or describe the original problem again, the handoff needs another revision.

Explore Hexwave Lab’s approach to AI workflow automation.

Hexwave Lab

Plan a discovery call

Scheduling will open once a booking calendar is connected. You can prepare your project brief on the contact page.

Prepare a brief