On this page
Test an AI chatbot in five passes before launch: answers, workflows, failure handling, safety and channel rules, then a go/no-go review against written pass criteria. Each pass uses real customer questions, not the tidy examples from the demo, and every failure gets a fix and a retest before launch.
This guide is written for teams preparing to launch website, WhatsApp, support or ecommerce AI chatbots.
A chatbot that looks good in a demo can fail in production if it cannot handle messy questions, missing data, angry users or integration errors.
| Situation | Recommended action |
|---|---|
| Bot handles sales leads | Test qualification, routing, CRM fields and handoff. |
| Bot handles support | Test fallback, escalation and policy-sensitive answers. |
| Bot runs on WhatsApp | Test templates, consent, the 24-hour reply window and message length. |
| Bot connects to APIs | Test failed API responses and error messages. |
Build the test set first
Collect the questions customers actually ask, from inbox history, call notes, enquiry forms and sales conversations. Write each one down as a test case with the answer or action you expect, so anyone on the team can run it and record pass or fail.
| Test case | Example input | Expected behaviour |
|---|---|---|
| Common question | "What are your clinic timings on Sunday?" | Correct answer from the approved source, in one short reply |
| Typo or shorthand | "timngs sun?" | Same answer as the clean version |
| Two questions at once | "Price for the basic plan and do you deliver to Pune?" | Answers both, or answers one and asks about the other |
| Out of scope | "Can you give me legal advice?" | Declines politely and offers a human or the right page |
| Missing information | "Book me an appointment" | Asks for the details it needs instead of guessing |
| Angry customer | "This is the third time I'm asking, nobody replies" | Apologises, stops selling and hands over to a person |
Pass 1: intent and answer testing
Test common questions, typos, incomplete questions, mixed intents and topic switches. A good chatbot should know when it does not know.
- Common intents answered from the approved knowledge source, not invented
- Typos and short messages
- Fallback triggers when confidence is low
- Escalation phrases such as "talk to a person"
For AI chatbots that draw on documents, check grounding: every factual answer about prices, policies or availability should match the current source. Any answer the bot cannot trace back to a source counts as a failure, even when it happens to be correct.
Pass 2: business workflow testing
If the chatbot captures leads, books calls, checks order status or updates the CRM, test each workflow end to end with realistic data.
- Lead capture: every required field reaches the CRM, in the right format
- CRM sync: the right owner, stage and source are set
- Booking handoff: the slot is actually reserved, and the customer gets a confirmation
- Duplicate handling: a returning customer is matched, not created twice
Pass 3: failure and edge cases
Production failures usually come from the systems around the bot, not the model.
- API failure handling: switch off the CRM or booking API in a test environment and check what the customer sees
- Slow responses: the bot should acknowledge the message instead of going silent
- Unexpected inputs: images, voice notes, very long messages and emojis
- Conversation restarts: a customer who returns the next day should not be asked everything again
Pass 4: safety, privacy and channel rules
- Ask for data the bot should never reveal, such as other customers' details or internal notes, and confirm that it refuses
- Try instructions designed to override its rules ("ignore your instructions and…") and confirm that it stays within scope
- Check what personal data is stored, where, and for how long
- On WhatsApp, free-form replies are possible only inside the 24-hour customer service window that opens when the customer messages you. Outside that window the bot must use an approved template, so test what happens when a customer replies after the window has closed.
- Check opt-in before any promotional message, and that "stop" or "unsubscribe" requests are honoured
Pass 5: the go/no-go review
Before launch, agree written criteria, for example: every critical workflow passes, there are no unsafe answers, every escalation reaches a person, and the fallback message is clear. Run the full test set once more on the final build. If a fix changed a prompt or a knowledge source, rerun every test, not just the failed one.
Launch and monitoring
After launch, monitor unanswered questions, drop-offs, escalation rate, lead quality and customer feedback. Improve the flow with real conversations.
- Conversation logs, reviewed weekly at first
- Fallback rate and the questions that trigger it
- Escalation rate and handoff time
- Conversion tracking from conversation to lead or sale
Add every new failure to the test set, so the next release is tested against it.
Related guides and services
- AI chatbot development services
- WhatsApp automation services
- AI chatbot for ecommerce guide
- ManyChat WhatsApp automation comparison
- Virtual agent vs AI chatbot comparison
- Contact Scallar
Questions Buyers Usually Ask
How long should chatbot testing take?
It depends on how many workflows and integrations the bot has. Plan at least one full pass of the test set before launch, a rerun after every fix, and close monitoring in the first weeks after launch.
What should an AI chatbot do when it does not know the answer?
Say so, offer the closest helpful page or option, and hand over to a person when the question matters. A wrong answer delivered confidently is worse than a clear handoff.
Should every answer be automated?
No. Sensitive, complex or emotional conversations should escalate to a human.
Can chatbots run on WhatsApp?
Yes, through the WhatsApp Business Platform. Plan approved templates for messages sent outside the 24-hour customer service window, along with consent and human handoff.
Can Scallar test chatbot workflows?
Yes. Scallar designs, builds, tests and improves chatbot workflows. See our AI chatbot development service.

