Section 5 • Module 3: Conversation Design and Branch Logic Reading

Handling free-text replies without breaking the flow

Lesson 57 of 2382 min read

Resilient chatbots handle unstructured free-text inputs by extracting key entities through semantic parsing and immediately confirming intent with structured button options.

No matter how clean your button paths appear, approximately 30% of web visitors will bypass your options and type directly into the chat input. Some paste complete paragraphs explaining their business requirements; others type single ambiguous words like 'integration' or 'quote'. If your bot responds with a rigid error message telling them to click a button, the user feels ignored and leaves. Conversely, if you connect an unconstrained language model that generates free-form essays, the bot will hallucinate pricing terms or drift off-brand.

💡 Mental Model: The Train Track with Spring Switches

Think of your qualification flow as a high-speed express train track. When a visitor types free text, they take a temporary detour onto an unpaved siding. Your semantic parser acts as a spring-loaded track switch: it absorbs the irregular input, extracts the destination cargo (the buyer's intent), and smoothly guides the train wheels back onto the high-speed main line.

📌 Core Principle: The Extract-Confirm-Resume Paradigm

Never answer unstructured free-text queries with open-ended prose. Extract the underlying entity, reflect that entity back to the user to confirm comprehension, and immediately present the next structured decision buttons.

Semantic Parsing Architecture and Intent Confidence Scoring

To implement the Extract-Confirm-Resume paradigm, your backend NLU (Natural Language Understanding) or LLM routing layer must process free-text messages through three distinct operational thresholds:

  • 1. High-Confidence Threshold (>0.85): When intent classification confidence exceeds 0.85 (for instance, the visitor types: 'We use Salesforce with 50 reps'), extract the entities (crm: salesforce, seats: 50) and advance the conversation state directly to the matching branch.
  • 2. Medium-Confidence Verification (0.60 to 0.85): When intent is probable but ambiguous (such as: 'I need to connect our CRM'), reflect the guess with a confirmation prompt: 'It sounds like you are exploring CRM data integration. Is that right?' and provide binary Yes/No buttons.
  • 3. Low-Confidence Clarification (0.85 score Extract entities, auto-fill variables, route directly to target branchMedium Confidence0.60 to 0.85 scoreReflect hypothesis back to user with quick binary confirmation buttonsLow Confidence0.85), verify medium confidence (0.60–0.85), and re-anchor low confidence (

Next Activity

State Machines and Session Variables: Tracking Prospect Context Across Turns

Module 3: Conversation Flow Design & Decision Trees - 25 min

Open Next Lesson