Biswarup Mondal
Bengaluru
← All workCase study 03 / 09

Search Suggestions That Keep Up With a Sales Call

How the search suggestions in Informed InvestoRR's AI sales chatbot were redesigned after a stakeholder interview: a 200 ms debounce, past searches answered from cache, and a "Did you mean?" for the typos exact matching failed on.

AfterSuggestions, redesigned

The chatbot's search box with 'stock mrktng analysis' typed: three new suggestions in grey with the completion in bold, two past searches in blue with a clock, and 'Did you mean? stock marketing analysis' underneath
  1. asked before? answered from the cache, instantly
  2. it asks the server only after a 200 ms pause in your typing
  3. your words fade; what's new is bold
  4. a typo used to mean “no results”. now it asks
Client
Informed InvestoRR
Role
Product Designer
Team
Me, a PM and 6 engineers
Timeline
2024
The problem
The sales chatbot's search suggestions came late, worst at peak hours, and failed whenever a word wasn't typed exactly as stored: 'catalogue' found nothing, 'catalog' did. Salespeople on client calls gave up on it and searched the internal database instead.
The fix
The search box was redesigned around four changes: a 200 ms debounce so the server is asked once per pause, not per keystroke; past searches answered from a cache and shown in blue with a clock; keyword matching that bolds the completion; and fuzzy matching that offers a "Did you mean?" for typos.
What moved
Fewer requests reach the server, so suggestions stay quick at peak hours; typos and variant spellings still find their answer; and the search box became something a salesperson can trust in the middle of a call.
01 · The interview

"I switched to the internal database"

The chatbot was built for a sales team: ask it about a product, and get the answer while the client is still on the line.

It mostly worked. But it fell short in the moments that mattered most, and the team had started to go around it.

So the work started with an hour and a half with the person responsible for how the sales team learns its tools.

Every line of the interview was coded as it was read back: a pain point, an expectation, an opportunity the designer heard in it, or a frequency, meaning how often and when it happened. Pick a code to read the transcript the way it was analysed, one thread at a time.

Interviewed
AVP, Learning & Development
Length
1 h 30 min
Interviewer
Biswarup Mondal, product designer
  1. AVP, L&D

    The chatbot is useful, but it often falls short when I need it the most. The delays in getting search suggestions can be quite frustrating.
    • Pain point
    • Expectation
  2. Designer

    Got it. When speed drops, does it affect your flow during client calls?
    • Opportunity
  3. AVP, L&D

    Just last week, I searched for a product variant. It took several seconds, and the suggestions weren't even relevant. I switched to the internal database.
    • Pain point
    • Frequency
  4. Designer

    So you abandon the chatbot when it feels unreliable?
    • Opportunity
  5. AVP, L&D

    Yes. Also, if I don't spell something exactly right or use a slightly different term, it fails. Like "catalogue" versus "catalog".
    • Pain point
  6. Designer

    That sounds like exact keyword matching. We should support typos, variants and synonyms.
    • Opportunity
  7. AVP, L&D

    It's also slower during peak times, mornings and after lunch. It feels like the system is overloaded.
    • Frequency
    • Pain point
  8. Designer

    Understood. We can reduce API calls, and answer repeated queries from a cache.
    • Opportunity
  9. AVP, L&D

    I'd love to see faster response times, smarter suggestions, and fewer repetitive questions, by remembering past queries.
    • Expectation
02 · Three problems

What was actually broken

Read by code, the pain points fell into three problems. Each one links back to where it was heard.

  1. Delayed response times

    Slow suggestions interrupt sales conversations and wear away trust. The client is waiting, and the chatbot is still thinking.

    Heard at 10:14 · 10:16 · 10:20

  2. Limited matching flexibility

    Rigid keyword matching fails on typos, variants and synonyms. "catalogue" finds nothing; "catalog" does.

    Heard at 10:18

  3. Inefficient resource use

    There was no caching, so the same questions were asked of the server again and again. That meant higher latency and more load, worst at peak hours.

    Heard at 10:20 · 10:22

03 · The people

The sales team isn't one user.

A manager watches how the tool performs. A senior rep uses it live, on calls. A junior uses it to learn the products.

Each one is let down by a different part of the same box.

Sales team · personas01 / 06 · Alka Shah · Sales Manager
Persona: Alka Shah, 42, sales manager. 'Our tools should empower, not hinder.' She monitors the team's chatbot use; her pain points are system inefficiencies, high server load at peak times, and rigid query handling
  1. Alka manages the team. She reads the chatbot through its numbers: usage, feedback, complaints.

  2. What she sees is the system struggling when the whole team needs it at once.

    server load at peak times

  3. Menaka uses it mid-call. "Time is money in sales."

  4. She types fast and makes typos, so a box that needs exact spelling fails her exactly when she has the least time.

    types fast, makes typos

  5. Basudev is still learning the products, so he doesn't know the exact names yet.

  6. He searches with the words he has, and rigid matching gives him nothing back.

    no result without the exact term

What each of them says, thinks, does and feels

The personas say who they are. The empathy maps say what it's like to be them at the moment the search fails. Switch between the three: the frustration is the same, but each of them puts it in different words.

Alka ShahSales Manager
Says

“Our tools should help us, not slow us down.”

Thinks

“The system needs to be optimised to handle peak usage better.”

Does

Reviews performance metrics, collects team feedback, and escalates issues.

Feels

Concerned about team efficiency and overall sales performance.

Pains
System inefficiencies, high server load, rigid query handling.
Gains
Better tool performance and user satisfaction would raise team productivity and sales outcomes.
04 · The journey

One search, from hopeful to giving up

The journey map follows one search before a client call through six stages. The line is how the salesperson feels at each one. It never climbs back to where it started.

Storyboard

Logs into the chatbot before a client call.

Types product details quickly.

Reviews suggestions from the chatbot.

Refines search terms because of poor results.

If the chatbot fails, reverts to manual search.

Finds the required info after delays.

Action

Enters the first query.

The chatbot processes the query.

Compares suggestions to the client's needs.

Enters variations or synonyms.

Switches to other resources.

Concludes the interaction.

Mindset

Needs quick access to info.

Expects fast, relevant results.

Needs accurate info to proceed.

Hopes for better matches.

Feels let down by the tool.

Relief at finding the information, but still frustrated.

Emotion

Hopeful, anticipatory.

Frustrated with delays.

Annoyed if results are irrelevant.

Increasing frustration with rigid matching.

Highly frustrated, stressed.

Mixed feelings of relief and annoyance.

Opportunity

Optimize initial loading times.

Improve response times and accuracy.

Enhance matching flexibility.

Implement better synonym and typo handling.

Develop robust fallback options and improve suggestion accuracy.

Provide a feedback loop to address issues and improve the system.

05 of 06Escalation

Storyboard
If the chatbot fails, reverts to manual search.
Action
Switches to other resources.
Mindset
Feels let down by the tool.
Emotion
Highly frustrated, stressed.
Opportunity
Develop robust fallback options and improve suggestion accuracy.
Fig. 1

One search before a client call. Every retry costs a little more patience, and the low point is escalation, when the salesperson gives up on the chatbot and searches by hand. Pick a stage to read it.

Every stage left an opportunity behind. Three of them were the search box's to take: faster responses, more flexible matching, and typo and synonym handling.

05 · The failure

Searching during a live sales call

This is the scenario the problem statement was written around. Two things happen at once: a salesperson searches the chatbot, and a client waits on the line. It plays in real time, because the wait is the problem.

Sales assistantOnline

  1. catalogue pricing plan
  2. Searching…
  3. No relevant suggestions found.

    exact match required

  4. catalog pricing plan
  5. Suggestions loadedLatency 4.2 s

    • Catalog pricing plan overview
    • Catalog premium plan benefits
    • Catalog pricing FAQs

    a delay spike, at peak time

The salesperson, to themselves“I'll just use the internal database.”

Two failures in one query. The first answer needed the exact word. The second was right, but came 4.2 seconds into a conversation with a client. (The 4.2 seconds is the study's; the first wait is paced for the replay.)

From symptom to cost

In order, each step is what the one before it costs. The redesign aims at the second, because the rest follows from it.

  1. What they see

    Symptom
    Suggestions appear late, or feel inconsistent.
  2. Why it happens

    Root cause
    Rigid keyword matching can't handle typos or synonyms, and every keystroke goes to the server.

    fix this, and the rest follows

  3. What it costs them

    User impact
    The sales flow breaks, then frustration, then abandonment.
  4. What it costs the business

    Business impact
    Lower adoption, and slower sales enablement.
Problem statement

Sales teams lose momentum when search suggestions are slow1, rigid2 and unreliable3.

  1. Slow: suggestions come late, worst at peak hours. Issue 01, delayed response times.
  2. Rigid: only the exact word works. Issue 02, limited matching flexibility.
  3. Unreliable: the same question costs the same wait every time. Issue 03, no cache.
The full problem context

The chatbot, designed to help salespeople find relevant information quickly, was struggling to deliver efficient and accurate search suggestions. Users met delays before suggestions appeared, and the system couldn't handle variations, misspellings and synonyms in their queries. That led to frustration, lower engagement and slower sales operations. The chatbot needed to become faster, more flexible and more accurate, to meet what the sales team expected of it.

06 · Four directions

Faster, more forgiving, without more load

The brainstorm produced four directions. Each one answers a word of the problem statement, and all four had to live within the one rule Alka cares about: none of it could add load to the server.

the one rule: nothing may add load to the server

  1. Reduce suggestion latency

    Cut the time before a suggestion appears: ask the server less often, and not at all for what it has already answered.
    Answers
    slow
    With
    DebouncingCaching
  2. Handle query variations

    Find what was meant, through typos, misspellings, other spellings and synonyms.
    Answers
    rigid
    With
    Fuzzy matching
  3. Improve suggestion relevance

    Better ranking, suggestions that complete what was typed, and a clear sight of what's being offered.
    Answers
    rigid
    With
    Keyword matching
  4. Optimise system load

    Fewer API calls, and repeat questions answered from what the server already sent, so peak hours stop slowing everyone down.
    Answers
    slowunreliable
    With
    DebouncingCaching

Who needs which fix

Then each fix was traced back to the people who needed it. A fix that serves no one doesn't get built. Read across for a person, or down for a fix; pick a fix to see who it's for, and why.

People ↓Fixes →
AlkaSales Managerneeds itneeds itneeds itdoesn't need it
MenakaSenior Sales Representativeneeds itdoesn't need itneeds itdoesn't need it
BasudevJunior Salespersondoesn't need itneeds itdoesn't need itneeds it

Debouncing is needed by Alka and Menaka.

  • Alka Shah · Sales Manager

    Needs Team efficiency; reliable tools.

    A 200 ms debounce balances responsiveness against unnecessary API calls, which is what the whole system's performance rests on.

  • Menaka Sharma · Senior Sales Representative

    Needs Quick, accurate responses; handles typos and synonyms.

    A 200 ms debounce keeps her suggestions responsive while she types fast.

Not needed by Basudev.

Fig. 2

The research's user type × solution table. A filled mark means that person needs that fix; a dash, that they don't.

07 · The pause

Wait until they stop typing

The box asked the server for suggestions on every keystroke.

A four-word query is about thirty keystrokes, so about thirty requests, and only the last one matters.

Debouncing waits for a short pause in the typing, then asks once.

Try it. Type into the box below as you would on a call, or let it type for you. Its suggestions open only once you pause; while you're still typing, the last ones wait, dimmed, instead of flickering.

Under it, every keystroke is a tick on the top lane. The middle lane is the old box: one request per keystroke. The bottom lane is the debounced box: each keystroke starts a wait, the next keystroke cancels it (the faint dots), and only a wait that runs out sends a request. Then drag the debounce, and watch what each side of 200 ms costs.

  • stock marketing analysis strategies
  • stock marketing analysis reports
  • stock marketing analysis software
  • stock marketing analysis techniques
Requests to the server

24without a debounce2with 200 ms

12× fewer, for the same answer

Debounce setup
Final debounce
200 ms, after user testing
Goal
Cut unnecessary network traffic
For
Salespeople using the chatbot, often mid-call
Keystrokes
24 keys
Without a debounce
24 requests
With a 200 ms debounce
2 requests

24 keystrokes. Without a debounce, 24 requests. With 200 ms, 2.

How long to wait

The number came from how salespeople work, not from a default.

  1. User expectations

    They expect quick responses: the chatbot is how they answer a customer, or gather what they need, without breaking the conversation.
  2. Typing speed

    They type fast, used to digital tools all day. A short debounce, 100 to 300 ms, matches that pace and keeps the box fluid.
  3. Real-time assistance

    The point of the chatbot is a prompt answer. The shorter the pause, the sooner the right suggestion is on screen.

After user testing, 200 milliseconds struck the balance between responsiveness and performance. It's long enough to skip the requests that don't matter, and short enough that the suggestions feel immediate.

08 · Remembered

Don't ask the server twice

Caching stores the suggestions the box has already fetched. When someone types a query they've searched before, it's answered from the cache instead of another API call, which means less latency and less load.

The design problem was that a remembered answer and a new one sit in the same list. So they had to look different. Past searches get a clock and are set in blue. New suggestions get a search glass and stay a quiet grey.

The blue rows with a clock come from the cache, so they appear as you type, before any pause. The grey rows wait for the 200 ms pause and come from the server. Pick a grey one: it's sent once and joins your history. Type it again and it comes back blue, from the cache.

Try

Requests sent: 0Answered from cache: 0

  • History · from cache

    A clock, in blue. Answered on the device as you type, without asking the server.

  • Keyword matching

    What you typed stays desaturated; what's offered is bold.

  • Did you mean? · fuzzy

    When a word matches nothing, the nearest known words, under a red heading. Dismissable.

09 · Finishing the word

Show what's being offered, not what you typed

Keyword matching suggests terms that directly match the prefix you typed, so every suggestion stays close to what you asked for.

Because every row starts with the same words, the useful part is the end. So the matched words are desaturated, and the suggested completion is bold. The eye skips what it already knows and lands on what's new. That's how Basudev learns the product names: the box finishes them for him.

Keep typing and watch the bold part shrink as the desaturated part grows.

Try

Requests sent: 0Answered from cache: 0

  • History · from cache

    A clock, in blue. Answered on the device as you type, without asking the server.

  • Keyword matching

    What you typed stays desaturated; what's offered is bold.

  • Did you mean? · fuzzy

    When a word matches nothing, the nearest known words, under a red heading. Dismissable.

10 · Did you mean?

When the words don't match

Fuzzy matching finds suggestions that are similar to the query, even when they don't match exactly: typos, misspellings, a dropped vowel, a different spelling of the same word. It widens the search beyond exact matches without losing what was meant.

Two decisions shaped how it shows up:

  • Placement and visibility. "Did you mean?" lives inside the suggestion box, right above the field, where the eyes already are, with its own heading so it reads as an alternative, not a result.
  • Visual difference. A different colour, style and weight: a red heading, and the corrected words in bold italic. It must never be mistaken for a regular suggestion. And it can be dismissed, because a correction is an offer, not an override.

Try the call from chapter 05: type catalogue pricing. The box offers "catalog", and the suggestions complete the word it found, not the one you typed. This demo matches against the study's own example queries.

Did you mean?

Try

Requests sent: 0Answered from cache: 0

  • History · from cache

    A clock, in blue. Answered on the device as you type, without asking the server.

  • Keyword matching

    What you typed stays desaturated; what's offered is bold.

  • Did you mean? · fuzzy

    When a word matches nothing, the nearest known words, under a red heading. Dismissable.

11 · The whole box

The search box, from idle to corrected

Here is the shipped design, state by state.

Chatbot · search box, every state01 / 04 · The search box, every state
Four states of the search box, top to bottom: idle with the placeholder 'Ask Me Anything', focused and empty, open with suggestions, and open with suggestions plus 'Did you mean?'
  1. At rest, the placeholder says what the box is for: Ask Me Anything. A line of UX writing, not a label.

  2. Focused, the border lights up and the send button darkens. It's ready before the first letter.

  3. After the pause, the suggestions open upward, new and history together, so the query you're typing stays where your eyes already are.

  4. When the words don't match, the correction joins the list rather than replacing it.

What changed

  • Faster suggestions, with far fewer API calls
  • Smarter matching for typos and variations
  • A clear difference between your history and new suggestions
  • More confidence, through the familiar "Did you mean?" pattern
12 · What changed

The same call, again

Before6 steps

  1. Type “catalogue pricing plan”a request on every keystroke
  2. Searching…slow at peak times
  3. No relevant suggestionsexact match required
  4. Retype “catalog pricing plan”
  5. Wait 4.2 seconds
  6. Give up for the internal database

After4 steps

  1. Type “catalogue pricing plan”
  2. One request after a 200 ms pause
  3. “Did you mean?” offers the stored term
  4. Pick it, or a past search from cache
Fig. 3

The call that sent a salesperson back to the database, redesigned. The retry and the wait are gone, because the box does the matching.

  • Speed debouncing and caching cut the wait you can see
  • Flexibility keyword and fuzzy matching tolerate typos and variants
  • Trust relevant suggestions mean fewer people leave mid-call

Search suggestions aren't a feature. They're the moment a tool earns trust, or loses it.