How to design a chatbot conversation flow

The eight parts every flow needs, a filled-in example you can copy, and how the flow changes for an AI chatbot.

A chatbot conversation flow is a map of every path a conversation with a bot can take: how it starts, what the bot asks, how each answer branches and how it ends, including when the bot doesn’t understand and when a person takes over. To design one, give the bot one job, draw the happy path where everything goes right, add a fallback and a hand-off for what goes wrong, then test the map with real questions.

Flowchart of a chatbot conversation from entry point to end, with the decision on what the user wants, and the fallback highlighted. The parts are listed in the text version below.

Figure 1The parts of a chatbot conversation flow. All eight parts in one flow. The highlighted part is the fallback: it asks the user to rephrase and tries again, then hands off to a person on the third miss.

What is a chatbot conversation flow?Copied!Link to this section

A chatbot conversation flow, also called a chatbot flow or conversation flow, is the plan for how a bot and a user get from the first message to a finished task. It shows each message the bot sends, each answer the user can give, where the conversation branches, and how every branch ends. It’s a flowchart of the conversation, drawn before anyone builds the bot.

Microsoft’s Bot Service guide puts the difference from an app well: “Like apps and websites, bots have a UI, but it’s made up of messages rather than screens” (Microsoft Learn). A conversation flow is the map of those messages, the way a sitemap is the map of a website’s screens.

Why design the conversation flow before you build the bot?Copied!Link to this section

Designing the chatbot conversation flow first shows the gaps while they’re cheap to fix: a question with no answer path, a fallback that loops forever, or no way to reach a person. Moving a box on a board takes seconds. Finding the same gap after launch means a customer got stuck first.

Real conversations don’t follow the happy path. Microsoft’s guide warns that “People don’t always communicate in sequential order. They tend to frequently change their minds” (Microsoft Learn). A map makes you decide what happens when they do, instead of leaving it to whatever the bot platform does by default.

What are the parts of a chatbot conversation flow?Copied!Link to this section

A chatbot conversation flow has eight parts: the entry point, the greeting, the intent (what the user wants), the clarifying question, the answer and the end on the happy path, plus the fallback and the hand-off for when things go wrong. Don’t skip the last two: Nielsen Norman Group found that users want to speak with a human “as soon as they feel that the bot isn’t helping” (NN/g).

Here’s what each part does, with the line it uses in the order-status example further down:

Part

What it does

Example line

Entry point

Where and when the chat opens

Chat opens on an order page

Greeting

Says what the bot can do

Hi! I can track an order or get you a person.

Intent

Decides what the user wants

Buttons: Track an order, Talk to a person

Clarifying question

Asks for one missing detail

What’s your order number?

Answer

Does the task or replies

Arrives Fri 4 Dec. Here’s your tracking link.

End

Closes the chat or says what happens next

All done. Close the chat any time.

Fallback

Says what the bot didn’t get and how to answer

I can’t find that one. It’s the 8 digits in your order email. Or tap Talk to a person.

Hand-off

Passes the chat to a person

Passing you to Sam, who can see this chat.

An intent is the goal behind a message: “where’s my parcel?”, “track order 40917735” and “has it shipped yet” are three messages with one intent, tracking an order.

How do you design a chatbot conversation flow?Copied!Link to this section

To design a chatbot conversation flow, set the bot’s one job and collect real questions, draw the happy path for the most common intent, plan the fallback, hand-off and end for what goes wrong, then walk through the map with real questions before you build. Each phase below is one pass over the same board.

Set the bot’s jobCopied!Link to this section

  1. Pick one job for the bot, such as tracking orders. Give a second job its own map, linked from the greeting.
  2. Write down where the chat opens and what the user was doing there. That’s your entry point.
  3. Collect 20 to 30 real questions from support tickets or chat logs, and group them by what people want. Each group is an intent.

Draw the happy pathCopied!Link to this section

  1. Draw the path for the most common intent first: entry point, greeting, the details the bot needs, the answer, the end.
  2. Write a greeting that says what the bot can do. NN/g: “You can outline the bot’s scope in its opening message” (NN/g), so users don’t ask for something it can’t do.
  3. Add a decision diamond for each question, with one labelled connector per answer. The flowchart symbols guide covers the shapes.
  4. Add a clarifying question wherever the bot can’t act without one more detail. Nielsen Norman Group’s rule: “Bots should ask only questions that they can act on” (NN/g).

Plan for what goes wrongCopied!Link to this section

  1. Give every question the bot asks a fallback that says what the bot didn’t get and how to answer.
  2. Send the user to a person when they still aren’t understood after two tries at rephrasing. Microsoft Copilot Studio’s built-in fallback works the same way: it asks “the user no more than twice to rephrase their question” before it escalates (Microsoft Learn).
  3. Connect a request for a person to the hand-off from every question the bot asks. “Never gatekeep when the user explicitly asks to be connected to a human” (NN/g).
  4. Decide what a change of topic does at each question. In a button bot, send anything that isn’t an answer to a fallback that repeats the choices. In an AI bot, every message goes back through the checks, so a new topic is a new turn (Figure 3).
  5. Pass the whole conversation to the person who takes over, so the user doesn’t repeat it.
  6. End every path with a line that needs no answer: say the job is done, or what happens next.

Check it before you buildCopied!Link to this section

  1. Walk through the map with your support team, using the real questions from the first phase, odd phrasing included.
  2. Add a path wherever a question has nowhere to go, then rebuild the map in your chatbot platform.

In Whimsical, draw the flow on a board: press S for diagram shapes, use a diamond for each decision and type each answer on its connector. Share the board with your support team, who can comment on any path that doesn’t match what customers really ask. If you map support processes too, the process mapping guide uses the same method.

Write the fallback before the answer. Teams spend hours on the happy path and write “Sorry, I didn’t understand” in a minute. Give the fallback the same care, because the people who read it are already stuck: say what went wrong and how to fix it.

Chatbot conversation flow exampleCopied!Link to this section

Here’s a complete chatbot conversation flow for an online shop’s order-status bot, a rule-based bot with buttons. It uses all eight parts, and every box holds the bot’s actual words. Copy it and change the lines for your own bot.

Flowchart of an order-status chatbot that tracks an order or hands off to a person, with the order-number fallback highlighted. Every step and line is listed in the text version below.

Figure 2Chatbot conversation flow example: an order-status bot. Two buttons, one question and one check. The highlighted order fallback tells the customer where to find the order number instead of just saying sorry, and the third miss goes to a person.

Three choices make this flow work. The greeting names both things the bot can do, so nobody types a refund question into an order tracker. The order fallback answers the real reason the lookup failed, a wrong number, with where to find the right one. (The button fallback needs no third-miss rule: its reply offers the Talk to a person button.) And the hand-off names the person and says they can see the chat. That’s how Copilot Studio hands off too: the live agent gets the whole conversation and can “continue the conversation with full context” (Microsoft Learn).

What do good chatbot messages look like?Copied!Link to this section

A good chatbot message says what the bot can do or what it needs next, in one or two short sentences. Weak messages are polite and vague, so the user has to guess what to type. Here are four lines the way they’re often written, and the way the example bot says them:

Hi! How can I help you today?

Greeting: Hi! I can track an order or get you a person.

Please provide the required information.

Clarifying question: What's your order number?

Sorry, I didn't understand that.

Fallback: I can't find that one. It's the 8 digits in your order email. Or tap Talk to a person.

Please contact our support team.

Hand-off: Passing you to Sam, who can see this chat.

How is an AI chatbot’s conversation flow different?Copied!Link to this section

An AI chatbot’s conversation flow maps checks and actions, not every message. A language model writes each reply, so you can’t draw every line it might say. Instead you draw what it must check on every turn: whether a hand-off rule is met, whether the request is in scope and clear, and whether it needs the customer’s data, plus the tools it calls and where a person takes over. A tool is an action the model can run, such as looking up an order.

The parts stay the same; what you draw for each one changes:

Rule-based (button) bot

AI (LLM) chatbot

Understands

Buttons and keywords you define

Free text, read by a language model

You map

Every message and every button

Checks, tools and hand-off rules

Fallback when

A message matches no button or keyword

A request is out of scope or unclear

Hand-off when

Third miss, or the user asks

A hand-off rule is met

Best for

A few tasks with fixed steps

Many questions, phrased many ways

Here’s the order-status bot again as an AI chatbot. The scope check is a guardrail, a rule that keeps the bot inside its job; NN/g calls the goal a bot that’s “appropriately scoped” (NN/g). The hand-off rules: the customer asks for a person, the message is still unclear after two requests to rephrase, or the request needs a person, such as a refund.

Flowchart of an AI order-status chatbot that checks hand-off rules, scope and order data before answering, with the hand-off rule check highlighted. The checks are listed in the text version below.

Figure 3AI chatbot conversation flow: the same order-status bot. Every message passes the same three checks before the model answers. The highlighted check comes first: if a hand-off rule is met, a person takes over, whatever the model could have said. A message that's out of scope or unclear gets the fallback, and the customer's next message starts the checks again.

Can AI draft a chatbot conversation flow?Copied!Link to this section

Yes. An AI assistant can read a few dozen support chats, group them into intents and draft the flow for the most common one in a couple of minutes. It’s the sorting step people skip. We’d still walk through the draft with the support team: a model will happily invent a path your bot can’t actually take.

With the Whimsical MCP, Claude, ChatGPT or Cursor can draw that draft as a flowchart on a Whimsical board, ready to edit, as on the AI flowchart generator page. This prompt follows the steps above:

Read the support chats below and draft a chatbot conversation flow as a flowchart on a new Whimsical board. The bot has one job: [for example, tracking orders]. Group the chats by what customers want, and draw the flow for the most common group first: an entry point, a greeting that says what the bot can do, a decision diamond for each question with one labelled connector per answer, a clarifying question wherever a detail is missing, the answer and the end. Give every question a fallback that says what the bot didn't get and how to answer. After two failed rephrases, or whenever the customer asks for a person, go to a hand-off that passes the chat to a person. Write each box as the bot's actual words. If a request doesn't fit the bot's job, list it as an open question instead of drawing it. Support chats: [paste chats or tickets]

Frequently asked questionsCopied!Link to this section

What is conversational flow in AI?

Conversational flow in AI is the path a conversation with an AI assistant follows from the first message to the end. For a chatbot built on a language model, the flow sets the checks and actions, such as staying in scope, verifying the customer or handing off, and the model writes the words for each turn.

What is the difference between a chatbot flow and a chatbot script?

A chatbot flow is the map of every path a conversation can take: the questions, the branches and where each one ends. A chatbot script is the wording the bot uses at each step of that map. Design the flow first, then write the script for each box in it.

What is a chatbot decision tree?

A chatbot decision tree is a rule-based conversation flow in which each answer, usually a button the user taps, leads to the next question or to an answer. It’s the simplest kind of chatbot flow. It still needs a fallback for anything typed that matches no button, and a way to reach a person.

When should a chatbot hand off to a human?

A chatbot should hand off to a human as soon as the user asks for one, and when it still can’t understand them after asking twice to rephrase. Microsoft Copilot Studio’s built-in fallback works this way: it asks the user to rephrase no more than twice, then escalates. Pass the conversation along, so the user doesn’t have to repeat it.

What tool should you use to design a chatbot conversation flow?

Use any flowchart tool your support team can open and comment on, so the people who answer customers can check the paths. Design and agree on the flow there first, then rebuild it in the chatbot platform you’ve picked. A shared board also keeps the map readable for people who will never open the bot’s settings.

Draft your chatbot flow from a prompt

Connect Claude, ChatGPT or Cursor to Whimsical and turn your support chats into a chatbot flowchart you can edit with your team.

Try the AI flowchart generator

Related articles