Home · Blog · Where a chatbot loses customers: analysing a flow funnel together with AI

Where a chatbot loses customers: analysing a flow funnel together with AI

· CHBT team · AI, Analytics

Most often a bot “does not sell” not because it is bad, but because people silently leave at one particular step — and you do not know about it. Finding that step used to mean opening the flow statistics and calculating percentages. Now you can ask the assistant: “Where are we losing people?” — and get a table with the calculation. We show it on a real appointment funnel: the numbers are taken straight from CHBT MCP responses.

What this funnel is and where the numbers come from

We take the “Appointment booking” flow from our demo project “Stomatologiya «Ulybka»”: a greeting with four buttons, then three questions (name, phone, convenient time), a lead and a thank-you. How the assistant built it is described in the article “How to create a chatbot with AI and MCP”.

An honest word about the data: 30 test visitors went through the widget on the page, played by us — some booked to the end, some dropped off at different steps, some asked for prices. These are not real patients and not market statistics, so there will be no “how it should be” percentages below. The goal of the article is different: to show how to read a funnel and what to do with it, using numbers the cabinet itself returned.

A question to the assistant

We wrote one phrase: “Look at the project summary and the funnel of the “Appointment booking” flow for 7 days. Where do we lose the most people and what would you change?” The assistant called two tools.

get_stats returned the 7-day summary:

  • conversations — 30, all from website chat;
  • incoming messages — 91;
  • new leads (contacts with a phone or email) — 10;
  • waiting for an operator reply — 3.
The bot page in CHBT: 30 conversations in 7 days, 30 new contacts, 3 waiting for a reply, the “Appointment booking” flow switched on
The same summary in the cabinet: the assistant gets these numbers through get_stats, you see them on the bot page.

flow_stats returned the funnel by flow step — how many people reached each block and how many went on.

The funnel step by step: raw data and calculation

Here is what flow_stats returned (the “reached” and “went on” fields):

StepReachedWent onLeft at this step
Greeting30282
Name18135
Phone13103
Convenient time1091
Lead990
Prices514

We calculated the “left” column ourselves: “reached” minus “went on”. The server returns exactly these two numbers, not a ready loss percentage. Now what the assistant concluded:

  • 18 of 30 pressed “Book an appointment” — 60% of those who saw the menu. The rest chose prices (5), the address (3), an administrator (3) or pressed nothing (2).
  • 9 of 18 reached the lead — exactly half of those who decided to book.
  • The biggest loss is the “Name” step: 5 of 18 (28%) got the question “What should we call you?” and did not answer.
  • The second largest is “Phone”: 3 of 13 (23%) did not want to leave a number.
  • Time and lead are almost loss-free: those who reached the question about a convenient time mostly finished it.
  • Prices are a dead end: of 5 people who asked about prices only one went on. The “Book an appointment” button under the prices worked for one in five.

Note that the number of leads (10) is one more than the number who reached the “Lead” step (9). That is not an error. A lead is a contact with a phone; one visitor left a number and dropped off at the question about time. For the owner this is valuable — you can call back. So count both the leads in the cabinet and the step funnel: they answer different questions.

How the assistant explained the losses and what it proposed

Next the assistant proposed hypotheses. We give them with our assessment — it helps to separate what the numbers confirm from what is a guess:

  1. We ask for the name too early. After pressing “Book” the person expects a booking, but gets a question about the name — and 28% do not answer. The numbers confirm the loss as a fact, but not the cause. The cause is a hypothesis that has to be tested.
  2. The phone is a trust barrier. People do not like leaving a number until they understand what happens next. You can say why it is needed: “so the administrator can confirm the time”.
  3. Prices do not lead to action. A single button under a message is a weak call. You can add the question “Which service are you interested in?” and tie the booking to it.
  4. Two people in the greeting pressed nothing. Perhaps they were waiting for a live answer. Then the “Call an administrator” button should be more noticeable.

We did not apply the suggestions blindly. The request to the assistant was: “Do not change the flow, show what you would change and how we will know it got better”. A good answer includes a check metric: “after the edit the share of those going from the “Name” step to the “Phone” step should rise above 72%”.

What to look at in conversations, not just in numbers

The funnel shows where people leave. Why is hinted at by the conversations themselves. We asked the assistant to call list_conversations with the “waiting for an operator” status and retell the conversations. The list shows who asked for an administrator and when:

The “Conversations” section in CHBT: a list of widget conversations with the filters “All”, “Awaiting reply”, “With the bot”, some conversations marked “Operator”
The “Conversations” section: 30 conversations, three of them waiting for an operator. The assistant gets the same data through list_conversations and get_messages.

The three conversations marked “Operator” are the people who pressed “Call an administrator”. The assistant found them in one call; in the cabinet without it this would be the “Awaiting reply” filter. For each one it can read the history (get_messages) and write a short summary: “The customer asks about a Saturday booking, did not give a name”. If a reply to the customer is needed, the assistant prepares it through send_reply and you confirm.

search helps find a specific person: by name, phone, email or a word in the conversation. For example, the query “Kirill” returned a contact with a phone and a channel — that is the lead card.

What to change in the flow and how to check it got better

A practical order of actions we recommend for any funnel:

  1. Find the step with the largest share of losses — not the largest count, the largest share. Here it is “Name” (28%).
  2. Form one hypothesis and one edit. For example: “Ask for the convenient time first, then the name and phone — first the person gets what they came for”.
  3. Make the edit. Through the assistant: “Change the order of the steps”. Before the edit CHBT saves a flow version — you can go back in one click. More in the article “Safely editing a flow with AI”.
  4. Wait for enough data. On 18 conversations the conclusion wobbles: a difference of one person is 5 percentage points. A decision needs at least several dozen people who passed the step. If traffic is low, compare individual conversations rather than shares.
  5. Compare “before” and “after” with the same question to the assistant and the same period.

If there is enough traffic and you want to compare two variants fairly, see the A/B test in a chatbot: it lets you compare two variants on the same stream of visitors.

Limitations worth knowing in advance

  • Flow goals. Our demo flow has no goal set, so the “leads by flow” figure in flow_stats is zero. We calculated conversion from the “Lead” step. If you set a goal in the flow, the assistant will see that too.
  • Only what is in CHBT. Sales, payments and what people do after the conversation are in your CRM and till. CHBT cannot see them, and neither can the AI through MCP.
  • Period. Statistics default to 7 days; you can request from 1 to 90.
  • Small samples. On dozens of conversations the assistant gives hypotheses, not conclusions. Ask it to word them that way.
  • Personal data. The assistant sees conversations and phones. Connect only an AI you trust with this data, and remember Federal Law 152-FZ.

Ready-made questions for your funnel

  • “At which step of the “…” flow do the most people leave and what share?”
  • “How many people chose each button in the greeting?”
  • “How many leads came in 7 and in 30 days? Compare by channel”.
  • “Show conversations where the customer has been waiting for an operator for more than a day and retell each in one line”.
  • “Which questions are asked most often that the bot cannot answer? Suggest what to add to the flow”.

General principles of chatbot metrics are covered in the article “Chatbot metrics”.

FAQ

Can an AI show where a chatbot loses customers?

Yes. Through MCP the assistant gets the flow funnel (how many people reached each step and how many went on) and the summary for a period. It calculates loss shares and proposes hypotheses; the decision on edits stays with you.

Where do the funnel numbers come from?

From CHBT: the flow_stats tool returns, per flow step, the number who reached it and the number who went on, and get_stats returns conversations, incoming messages, leads and those awaiting a reply. The AI does not invent them, but it can misinterpret — check its conclusions.

Are thirty conversations enough for conclusions?

No, not for a decision. The numbers in our article are test numbers and serve to demonstrate the method. On real data wait for several dozen people at each step, or compare individual conversations.

Does the assistant see customer conversations?

Yes, if you gave it access to the project. It can read conversations, search for customers and retell conversations. Access is read-only by default and can be withdrawn at any time in “Connected AI”.

Can the assistant fix the flow itself based on the analysis?

If you allowed actions when connecting, yes. Before an edit CHBT saves the previous version, and you confirm switching a flow on with a button. A good practice: first ask it to show the proposed changes.

More on the blog