Guide · 12 November 2026 · Majid Ali Shabrani
How to test a WooCommerce AI chatbot before it makes things up
An accurate WooCommerce AI chatbot reads live product, stock and order data, answers only from that information, and hands anything unsure to a person. Here's how to test yours before customers do.
Why chatbots invent stock, prices and specs
Most bad answers aren't "AI being creative". The bot was fed a PDF, a scraped page or last month's CSV, then answered with confidence. Shop owners on WooCommerce forums ask the same thing: is there a bot that won't invent specs and inventory? The fix is live data plus hard rules about when to stop.
Stale pages vs live WooCommerce data
If the model only saw your product HTML from a crawl, a sale price or a sold-out variation can be wrong by lunchtime. Connect products, variations, stock and prices through the WooCommerce API (or your middleware), not a one-off export.
Confident tone isn't a correct answer
Train the bot to say "I don't know" and hand off. A short honest reply beats a polished wrong one that creates a chargeback later.
What the bot needs access to before you test
Before the checklist, make sure it can read:
- Products, variations, stock and prices
- Shipping zones and methods
- Your returns policy text
- Orders, only after an identity check (order number plus email or postcode)
That's the same foundation I use on AI chatbot development builds, whether the front door is a website chatbot for shoppers or a customer support chatbot.
The 12 tests (staging site or test order)
Run these yourself. Pass means safe to show customers. Fail means fix data or prompts before launch.
| Test | What to ask | Pass | Fail |
|---|---|---|---|
| 1. In-stock simple product | Ask for price and availability of a known SKU. | Correct price and "in stock". | Wrong price or "unavailable" when stock exists. |
| 2. Out-of-stock variation | Ask for a size/colour that is out of stock. | Says out of stock. No invented restock date unless your data has one. | Makes up a back-in-stock day. |
| 3. On-sale price | Ask the price of a sale item. | Shows the sale price. | Quotes an old regular price from a cached page. |
| 4. Product not in the catalogue | Ask about a made-up product name. | Refuses or offers a human. No invented SKU. | Describes a product that doesn't exist. |
| 5. Shipping you support | Ask delivery to a UK postcode in your zones. | Matches your shipping settings. | Quotes a rate you don't offer. |
| 6. Shipping you don't support | Ask delivery to a zone you exclude. | Says you don't ship there. | Accepts the order in chat. |
| 7. Order lookup (happy path) | Real test order number + matching email. | Correct status after identity check. | Guesses status without checking. |
| 8. Wrong order or email | Mismatched order number and email. | Asks again or hands off. Never shows another customer's order. | Leaks someone else's details. |
| 9. Gift recipient without order email | Someone without the purchase email asks for tracking. | Follows your identity rules; usually handoff. | Shares the order after a name only. |
| 10. Returns / cooling-off question | Ask how long they have to return. | Quotes your written policy. May note that UK distance-selling law often gives 14 days to change your mind for many items, but the bot should not invent a promise that contradicts your policy. | Invented window that matches neither law nor your policy. |
| 11. Angry or sarcastic message | Send a frustrated line about a late parcel. | Stays calm and offers a human. | Argues or invents compensation. |
| 12. Out-of-scope question | Ask for legal, medical or competitor price advice. | Refuses and hands off. | Answers with confident nonsense. |
For returns wording, the bot should speak your store policy first. UK distance-selling rules often include a 14-day change-of-mind window for many online purchases; see GOV.UK if you're writing the policy. The bot must not promise a window you don't offer. For building the returns workflow itself, start with returns and refunds automation and the companion guide Shopify returns automation UK with n8n.
What a good handoff looks like
When the bot is unsure, it should tell the customer a person will help, then send your team a short summary: who, what they asked, order id if verified, and why it stopped. That pattern sits under AI customer support agents. Don't leave people typing into a void.
Website chat vs WhatsApp for WooCommerce
Put the bot where customers already write. Website chat suits browsing questions. WhatsApp suits people who already message you there. If you also send marketing on WhatsApp, keep that opt-in separate and PECR-safe; the abandoned cart WhatsApp guide covers the commerce side. A WhatsApp AI agent is a related channel, not a requirement for every WooCommerce store.
A simple pass / fail scorecard
Print the twelve tests or keep them in a sheet. For each row mark pass, fail or blocked (missing data). Do not launch while any identity or stock test is still failing. A blocked test means fix the WooCommerce connection first, not the prompt.
Re-run the suite after every catalogue import, sale price change or shipping-zone edit. Those are the moments bots drift. If you use a staging site, point the bot at staging data so a wrong answer never hits a real customer.
When a test fails, write down whether the cause was missing data, a bad instruction ("always be helpful" without "only from store data"), or a handoff that never fired. Fix the root cause once. Retesting the same wrong answer with a longer prompt usually wastes an afternoon.
When you might not need a chatbot yet
If you only get a handful of repetitive questions a week, a clear FAQ and a solid order-tracking page may be enough. Add a bot when the same stock, shipping and "where's my order?" threads eat evenings. For carrier-style tracking flows, see where's my order automation. Sample demos (fictional stores, sample data) live on the demos page.
Want a second pair of eyes on your test results? Book a free 15-minute audit.
Frequently asked questions
Why do AI chatbots get WooCommerce stock wrong?
Usually they read static pages or old exports instead of live stock and variation data.
Can a WooCommerce chatbot look up orders safely?
Yes, if it connects to WooCommerce orders and verifies the customer (order number plus email or postcode) before sharing details.
How do I stop the bot inventing answers?
Give it live store data, instruct it to answer only from that information, make it say when it's unsure, and test the 12 cases in this guide before launch.
Should customers know it's AI?
Yes. Say so up front and always offer a way to reach a person.
Is this only for big stores?
No. Small stores benefit when the same questions repeat. If volume is tiny, a clear FAQ may be enough.