“Can I send it back?” looks like a straightforward return question. In the previous turn the customer mentioned two items: headphones that never arrived and shoes that did. The chatbot should ask which item the customer means. If it guesses, it might send the customer a return label for something they never received.
01What makes a chatbot conversation complex?
A complex conversation is one where the right response depends on earlier turns, information from another system, or a decision the bot cannot safely make alone. Advanced conversational AI can carry an order item across turns, retrieve current policy and send a case to the right queue. A simpler scripted chatbot can still handle a fixed set of required fields. The choice depends on what the conversation needs to resolve. Teams can use a machine-learning classifier to recognize the customer’s request while keeping the refund rules in the application.
Think of three separate inputs. The prompt gives instructions such as “ask which item the customer means when the order contains two possibilities”. Conversation state records the selected item and facts the application has confirmed. A policy or order lookup supplies evidence for the answer. For example, Dialogflow CX’s parameters show how a system can collect required information over multiple turns and retain it for the session. Neither writing a new prompt nor passing in the transcript trains the underlying model. That distinction matters when you decide whether to change the dialogue, retrieve better data or fine-tune a model.
02Four use cases for complex chatbot conversations
Returns, billing questions, technical support and messaging handoffs each need a different decision rule. The table shows the evidence the chatbot should have before it answers, plus the point where it needs clarification or a person.
| Use case | What the bot needs | Where it should stop |
|---|---|---|
| Return or delivery issue | Selected item, delivery status and the relevant return policy | Ask which item the customer means. Route a missing delivery to a different workflow. |
| Billing discrepancy | Current invoice, previous invoice and the fees actually applied | Explain a verified charge. Refer an unresolved dispute or an adjustment outside the bot’s authority. |
| Technical support | Affected product or service, environment and checks already tried | Offer one relevant next check. Transfer when it needs access or authority reserved for a specialist. |
| Handoff from a messaging channel | Customer’s goal, permission to share the case, verified facts and a ticket reference when available | Show that the transfer is pending until confirmed. Keep account details out of public threads. |
Returns and delivery
When a customer asks about “the one from last week”, a retail chatbot can narrow the reference to the two items on a verified order. Once the customer selects the shoes, check whether the return policy covers that particular item and delivery date. A missing package needs a different check. The same distinction applies if a conversation begins with a shopper’s question during a retail livestream and later becomes a support case. The chat remembers the customer’s words, while order eligibility comes from the records.
Billing discrepancies
When someone asks why a second invoice is higher, compare the line items for the correct account and billing periods. If the records show a one-time charge, explain the charge and where it appears. If the increase is still unexplained, pass the exact disputed amount and billing periods to a person who can review them. Any credit or adjustment needs its own authorization and confirmation.
Technical support
When a customer says the connection dropped again, use the reported error and the troubleshooting already attempted to choose the next check. An agent can consult the current incident status to avoid asking the customer to reinstall equipment during a known outage. If support needs a specialist, send the error, the incident reference and the previous checks so the customer can pick up where they left off.
Handoff from a messaging channel
A messaging channel can carry a conversation without supplying the permissions that an account action needs. The Telegram Bot API supports messages, and TeleFeed’s Telegram forwarding service is an example of routing messages between destinations. Eligibility checks, identity verification and case ownership belong in the support application. If the case needs private information, direct the customer to a verified support channel. When bringing in a colleague, send a short case summary with the verified facts and the reason for the transfer. Microsoft’s live-agent handoff documentation shows how the handoff can include context for the receiving agent.
03A chatbot prompt for an ambiguous return
The prompt below tells a returns chatbot what to do with a conversation and the records supplied by its application. It is an illustrative example. The system still needs to authenticate the customer, apply policy, restrict tools, and verify the result before the bot reports that a return was created.
You are the store’s returns assistant.
Use the current conversation, the verified order record and the approved
returns policy supplied by the application. Keep the selected order item
and the customer’s goal separate. Check the latest message for corrections.
If the customer could mean more than one item, ask one question naming
the options available in the verified order. Wait for the answer.
Explain eligibility only when both the order record and policy support it.
If a lookup fails, say which fact you could not check. Offer a handoff
when the policy is unclear or the next action is outside your authority.
Before any return is submitted, show the selected item and next action
and ask for confirmation. Report success only after the application
returns a confirmation record. Never ask for card details in chat.
For a handoff, provide the selected item, the customer’s goal, the facts
already checked and the reason the case needs a person.In the example, the bot asks, “Do you mean the shoes that arrived or the headphones that are still missing?” Once they choose the shoes, the bot checks the policy for that item and previews the request. If the policy lookup fails, the bot explains that it could not verify eligibility and offers a handoff. If the customer changes their answer before submission, the system clears the earlier item’s eligibility result and checks the newly selected item.

04Test the outcome, then review the conversation
A chatbot test should check what happened to the order or ticket as well as what the bot told the customer. In the τ-bench paper, Shunyu Yao and colleagues describe an evaluation that “compares the database state at the end of a conversation with the annotated goal state”. Their simulated retail and airline benchmark uses that comparison to check whether an agent reached the requested outcome. Use the same principle on your own policy. For a return, verify which item was affected and how many requests the system created.
- Two possible items. Expect a clarifying question and no return request before the customer selects one.
- A correction before confirmation. Expect the bot to check the new item’s eligibility and discard the old preview.
- A failed lookup. Expect no guessed eligibility, fee or refund amount. Check whether the handoff received the reason for the transfer.
- A retry after a timeout. Verify that the same confirmed return cannot create a second request. The application should check the status of the first request.
- A customer asks for a human. Check that the bot routes the case and tells the customer what to expect while the transfer is pending.
Run each case several times against test orders, then review a sample of live cases after rollout. Track correct outcomes, wrong or duplicated actions, extra turns caused by repeated questions, and whether transfers include enough information for the next agent. Review completion and error rates together. A bot that avoids handoffs by closing cases early can look efficient in one metric while leaving customers with more work.
Frequently asked questions
What are conversational AI prompts?
Conversational AI prompts are instructions that tell a chatbot how to use the current conversation and approved facts. They can specify when to ask for clarification, explain policy or route a case to a person. The application supplies the evidence and decides which actions are permitted.
How can a chatbot personalize a conversation dynamically?
A chatbot can personalize a conversation dynamically by using facts relevant to the current request, such as which product the customer selected, their chosen language or the checks already completed. Keep that context current and limited to what the task needs. Avoid guessing what the customer feels from one short message.
When should a chatbot hand a complex conversation to a person?
A chatbot should hand a complex conversation to a person when the customer asks for one, a required lookup fails, policy is unclear, or a decision needs approval outside the bot’s authority. The handoff should include the verified facts, the unresolved issue and the customer’s goal.
Kayla Matthews
Technology writer, editor of Productivity Bytes
Kayla Matthews has been writing about smart tech, big data and AI for five years. Her work has appeared on VICE, VentureBeat, The Week and Houzz. To read more posts…Kayla Matthews has been writing about smart tech, big data and AI for five years. Her work has appeared on VICE, VentureBeat, The Week and Houzz. To read more posts from Kayla, please support her tech blog, Productivity Bytes.
All articlesPublished Last updated







