# Designing Conversational Interfaces: Chatbot UX That Works by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Human Behavior](https://www.kirupa.com/human_behavior/index.htm) **TL;DR:** An app people use by typing or talking back and forth in plain language, also known as a conversational interface, gets judged by the rules of human conversation. Good ones say what they can do, take one turn at a time, repair misunderstandings by saying what they heard, offer a way out, and use buttons when the answers are known. - In a study of 10 languages, answers usually started within about 200 milliseconds of a question ending, so long silences in chat feel awkward. - A greeting that lists what the bot can and can't do beats "Ask me anything," which invites requests it can't handle. - Repeating "Sorry, I didn't understand that" is a dead end, while restating what the bot heard and offering choices gets the conversation moving. - Dates, sizes, and final steps like paying work better as calendars and buttons inside the chat than as typed answers. Chat looks like the friendliest interface we could ever build. There are no menus to learn and no buttons to hunt for. People just type what they want, the same way they would text a friend. Now that AI models can make sense of almost anything we type at them, it is very tempting for us to put a chat box on every product we make. Anyone who has typed "talk to a human" into a support bot five times in a row knows that it does not always work out that way. In this article, we will look at how we can design chat that sets the right expectations, recovers when it misunderstands, and knows when a plain old button would do a better job. Onwards! ## Conversations Have Rules Long before chat apps existed, people were very good at talking to each other, and we follow a bunch of rules that we rarely think about. One of those rules is taking turns. One person talks, the other person waits, and then they swap. The sociologists Harvey Sacks, Emanuel Schegloff, and Gail Jefferson described how this works in a [1974 paper on turn-taking](https://doi.org/10.2307/412243), and a lot of later research built on it. One of those later studies, by Tanya Stivers and her colleagues, looked at [conversations in 10 languages](https://www.pnas.org/doi/10.1073/pnas.0903616106). In all of them, people avoided talking over each other and kept silences short. Answers usually started within about **200 milliseconds** of a question ending: [![A timeline of two people talking. The first person's question is a long bar that ends, and the second person's answer starts right after it, separated by a gap of about 200 milliseconds.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_turn_gap.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_turn_gap.png?v=2c48587dccba) Our person on the bottom does not need to be told that it is their turn. They can feel it, and they jump in almost right away. That's fast! This tiny gap is also why a long silence in a conversation feels so awkward. When we put a chat box in our product, people bring all of these habits with them. They expect the other side to take turns, to answer quickly, to stay on topic, and to notice when it has misunderstood something. An app that people use by typing or talking back and forth in everyday language is known as a **conversational interface**, and people judge it by the same rules they use with each other. ## Meet Biscuit To make all of this concrete, we are going to use Biscuit, the help desk bot for the Crumb & Co. bakery. Biscuit lives in the corner of the bakery's website: [![The Crumb & Co. bakery website with a chat panel in the corner. The panel's header shows Biscuit's robot avatar with a cookie badge and the tagline Crumb & Co. help desk. Biscuit says, Hi! I'm Biscuit. Ask me anything! The input box at the bottom says Ask Biscuit anything...](https://www.kirupa.com/human_behavior/images/conversational_interfaces_meet_biscuit.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_meet_biscuit.png?v=08f5c8e9db72) Biscuit can help people order cakes, check store hours, and track orders, and that is the whole job. As we will see in a few moments, the trouble starts when the people talking to Biscuit do not know that. ## What Can This Bot Actually Do? A blank chat box is a lot like a blank piece of paper. It looks like it can do anything, which is great right up until someone asks our bot for something it can't do: [![Biscuit greets a customer with Ask me anything! The customer asks, Can you move my order to Saturday? Biscuit replies, Sorry, I can't help with that. The customer asks, Then what CAN you do?](https://www.kirupa.com/human_behavior/images/conversational_interfaces_blank_box.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_blank_box.png?v=934c74db4fee) Our customer took Biscuit at its word. Biscuit said to ask anything, so they asked to move their order, and Biscuit could not do that. Our customer still has no idea what Biscuit is for, and they are a little annoyed that they had to find out the hard way. Microsoft's [Guidelines for Human-AI Interaction](https://www.microsoft.com/en-us/research/project/guidelines-for-human-ai-interaction/) (Saleema Amershi and her colleagues presented them at CHI 2019) start with two rules for this exact moment. The first rule is to make clear what the system can do. The second rule is to make clear how well it can do it. For Biscuit, a greeting that follows both rules looks as follows: [![Biscuit greets a customer with, Hi! I'm Biscuit. I can help you order a cake, check store hours, or track an order. I can't change an order that's already baking. Under the greeting are three buttons: Order a cake, Store hours, and Track my order.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_good_greeting.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_good_greeting.png?v=31990527bdfa) Biscuit now lists the things it can help with, and it also mentions one thing it cannot do (a nice touch that saves our customer a frustrating round trip). The three buttons under the greeting give people a way to start without typing anything at all. Our customer can still type a question, but they no longer have to guess what our bot understands. ## Taking Turns Remember the rule about taking turns? Bots break it in a sneaky way. Instead of waiting for an answer, they stuff a whole form's worth of questions into a single message: [![Biscuit sends one big message: What size cake? What flavor? Pickup or delivery? What date? Any message on top? The customer replies, uhh... chocolate?](https://www.kirupa.com/human_behavior/images/conversational_interfaces_wall.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_wall.png?v=952de2dbd4bb) Our customer answered one of the five questions, and that answer probably wasn't the one Biscuit was hoping for. Now Biscuit has to figure out which question "chocolate" belongs to and then ask the other four all over again. Asking **one question per turn** keeps the conversation at a pace people can follow. Here is Biscuit doing exactly that: [![Biscuit asks, What size cake? The customer says, 8 inch. Biscuit says, Great! What flavor? The customer says, Chocolate. Biscuit shows three dots while it types its next message.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_one_at_a_time.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_one_at_a_time.png?v=a9a83aa1a600) Each turn has one question and one answer. While Biscuit works on its next message, our bot shows three little dots...so our customer knows that it is still Biscuit's turn. Replies from AI models can take a few seconds, and a visible sign that the bot is working fills the silence that would otherwise feel awkward. (This is a big reason why chat apps [stream their responses](https://www.kirupa.com/ai_fundamentals/streaming_responses.htm) word by word.) ## When Things Go Sideways Every conversation has misunderstandings, and we fix them all the time without much fuss. Did you mean this Friday or next Friday? Schegloff, Jefferson, and Sacks studied these little fixes in a [1977 paper](https://doi.org/10.2307/413107), and the name they used for them is **repair**. Repair is a big part of why human conversations rarely get stuck for long. Automated systems have a reputation for being really bad at repair. If you have ever shouted at a phone menu, you know the feeling: [![A frustrated person holds a phone and shouts REPRESENTATIVE!!! into it. The phone answers, I'm sorry, I didn't get that. Please say billing, orders, or other.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_representative.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_representative.png?v=4c6ebf7de079) That phone menu did not fail because it misunderstood once. The menu failed because it misunderstood the same way over and over, with no way out. Biscuit can do the exact same thing: [![The customer says, I need it by Friday. Biscuit replies, Sorry, I didn't understand that. The customer says, FRIDAY. The cake. Biscuit replies again, Sorry, I didn't understand that. A no entry sign sits below the conversation.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_dead_end.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_dead_end.png?v=96b5ae81b62f) Our customer gave Biscuit more information the second time, and Biscuit sent back the same reply. Does that reply help our customer try again? Nope. This conversation has hit a dead end. A better repair has a few parts. When Biscuit isn't sure what our customer meant, it can: - Say what it understood, so our customer can spot a mistake. - Offer a few likely choices instead of asking our customer to rephrase. - Leave room for "something else" when none of the choices fit. Here is Biscuit trying again with all three: [![The customer says, I need it by Friday. Biscuit replies, Got it, a cake for Friday, December 4. Is that for pickup or delivery? Under the reply are three buttons: Pickup, Delivery, and Something else.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_repair.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_repair.png?v=908ae9b3397e) Biscuit turned "Friday" into a real date, **December 4**, and showed it back to our customer. If Biscuit picked the wrong Friday, our customer will notice right away. The buttons cover the most likely answers, and **Something else** keeps the door open. This lines up with two more of Microsoft's guidelines, which are to support efficient correction and to scope services when in doubt. Sometimes Biscuit is not going to figure things out no matter how many times our bot tries. For those moments, our bot needs a way out: [![Biscuit says, I'm not sure I can help with this one. Want me to bring in someone from our team? I'll pass along what we've talked about. Under it are two buttons: Talk to a person and Keep trying.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_handoff.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_handoff.png?v=df3f34413634) Biscuit offers to bring in a person, and it promises to pass along what they've talked about so far. This means that our customer does not have to explain everything a second time to someone who was not there for the first round. ## When Is a Button Better? Chat is great when people do not know exactly what to ask, like "What goes well with pistachio?" It is a lot less great when we already know the handful of answers that make sense. Picking a pickup date and time is a good example: [![On the left, the customer types, next fri around 3ish? or maybe sat morning, and Biscuit has to guess what that means. On the right, a December 2026 calendar with Friday, December 4 selected and three time buttons under it: 10:00, 1:00, and 3:00.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_typing_date.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_typing_date.png?v=f737fe8b0c18) On the left, our customer typed a time the way people actually talk, and Biscuit has to guess which of the two options they meant. On the right, the calendar shows every day of the month, and Friday the 4th is one tap away. The three time buttons only show times when the bakery can actually have a cake ready, so our customer can't pick a time that **doesn't exist**. A rough guide for picking the right control looks as follows: [![Four rows. An open-ended question, like What goes well with pistachio?, fits chat. Picking from a few options, like cake sizes, fits buttons. An exact value, like a pickup date, fits a date picker. A final or risky step, like paying, fits one clear button.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_when_chat.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_when_chat.png?v=0d91a1c87aac) None of this means we have to choose between chat and buttons. The best conversational interfaces **mix the two**. Biscuit can chat its way toward what our customer wants, and then it can show the order as a card with real buttons: [![Inside the chat, Biscuit shows an order summary card: an 8 inch chocolate cake, pickup on Friday, December 4 at 3:00, for $42. Under the card are two buttons: Place order and Change something.](https://www.kirupa.com/human_behavior/images/conversational_interfaces_confirm.png)](https://www.kirupa.com/human_behavior/images/conversational_interfaces_confirm.png?v=78a495bda255) Placing an order costs money, so Biscuit does not ask our customer to type "yes." It shows exactly what will happen and gives one clear button for it, along with a second button for changing something. This is the same idea behind [asking for approval before risky actions](https://www.kirupa.com/ai_fundamentals/human_approval_for_risky_actions.htm) when an AI agent is the one doing the work. ## Try It This Week Here are a few things to try with a chat experience you have built or are building: 1. Read your bot's first message. Check that it says what the bot can and can't do. 2. Find one chat flow that should be a button, like picking a date, a size, or a yes or no, and replace it. 3. Confuse your bot on purpose, and make sure it says what it heard and offers a way out. ## Conclusion Ok, that's it! Chat feels natural because it borrows the rules of human conversation, and that is also why people get so frustrated when a bot breaks those rules. A good conversational interface says up front what it can do. Our bot takes one turn at a time, repairs misunderstandings by saying what it heard, and hands off to a person when it is stuck. When the answer is one of a few known options, a good conversational interface shows a button instead of making people type. Biscuit will never be as good at small talk as the folks behind the counter at Crumb & Co., but with these habits, it can at least avoid being the bot that people shout REPRESENTATIVE at. Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, [Error Messages and Recovery: How to Write Errors That Help](https://www.kirupa.com/human_behavior/error_messages.htm), or check out some related content: - [Streaming Responses](https://www.kirupa.com/ai_fundamentals/streaming_responses.htm). Why chat apps show their answers word by word. - [Designing a Good Permission UX: When and How to Ask](https://www.kirupa.com/tricks/good_permission_ux.htm). When and how to ask people for access, and when friction helps. - [Onboarding: Get New Users to Value Without a Product Tour](https://www.kirupa.com/human_behavior/onboarding.htm). Get new users to something useful without a product tour. 3. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out. ## Test your knowledge! [Take the Chat That Works Quiz](https://www.kirupa.com/quizzes/conversational_interfaces.htm). Practice with 4 multiple-choice questions and an explanation after every answer.