Chatbots and stock levels: how the bot reports availability

Reading time 10 min

The number one customer service question in an online shop is almost always the same: is this in stock? It is also the question chatbots have traditionally answered worst, since the stock level is not in the bot’s memory. A wrong answer about availability also costs more than an unanswered question, because it misleads the customer.

In this article we look at where a chatbot gets its availability data, why it sometimes goes wrong and what an online retailer should require so that the bot can talk about stock levels safely.

Can a chatbot know the stock level?

Yes, as long as the stock level comes to the bot from the shop and not from the bot’s memory. There are two ways to do this: product data is synced from the online shop to the bot regularly, or the bot fetches the current situation directly from the shop when a customer asks.

An ordinary bot trained only on the website’s text does not know the stock level. It knows that the product exists and what the page said when the bot was trained. If you ask a bot like that about availability, it either dodges the question or, in the worst case, answers by guessing.

How does the bot get availability data?

The three most common routes, from the lightest to the most accurate:

  1. Product integration with the online shop. The shop’s products, prices and availability status are brought into the bot’s knowledge base and synced on a schedule, for example once a day. The bot picks the products that match the question from the knowledge base and can discuss them, not just list them.
  2. Real-time lookup when the question is asked. The bot fetches the current situation from the shop’s public API exactly when the customer asks. The data is as fresh as it can be, and the fetched data is not stored between questions.
  3. Both together. The integration gives the bot an understanding of the range, and the real-time lookup confirms the situation at that moment. This is the best combination for shops where stock levels change quickly.

We explain how an online shop integration works in more detail in the article WooCommerce chatbot, and from a Shopify shop’s point of view in the article Shopify chatbot. We cover the principle of looking up data when the question is asked in the article real-time chatbot for availability and prices.

Why should sold-out products not be hidden from the bot?

Because “not found” and “exists but out of stock right now” are completely different answers for the customer. The first ends the conversation, and the second keeps it going.

When a sold-out product stays in the bot’s data along with its availability status, the bot can do what a good salesperson would do: say that the product is in the range but temporarily out of stock, suggest a similar product and ask for contact details so the customer can be told when the product is back. This way no demand disappears without a trace.

The same applies to variants. If one size is out of stock but two others are on the shelf, the right answer for the customer is not “out of stock” but “out of stock in this size, available in these sizes”. The bot can only do this if it gets availability data for each size: product-level status alone is not enough.

When does stock data go wrong?

Almost always because the bot has been given only part of the truth. The most common sources of error:

  • A product whose stock is not tracked. A shop may have products with no stock management at all: they must not be treated as sold out just because there is no number.
  • Backorders. The product is at zero but can still be ordered. If the bot is not told this, it turns away a sale that would have happened.
  • Variants and parent products. The parent product has no stock level, but its variants do. Booosted’s WooCommerce sync brings in the product’s sizes and colours as attributes and the product-level availability status, but not stock levels or prices for each variant. The MyCashFlow integration includes variant availability. If there is no size-level data, the bot should send the customer to the product page and not claim that the size is sold out.
  • Outdated sync. If the data is updated once a day, during peak season the bot talks about yesterday’s stock levels.
  • Several warehouses or shops. “In stock” means different things in the online warehouse and in a physical shop. The customer must be told which one.

These are not AI problems but questions of definition. They are solved during setup, which is exactly why setup needs to be done carefully, as we describe in the guide setting up a chatbot on your website.

How should the bot answer when it is not sure?

Honestly, and by showing the way forward. The best answer in an uncertain situation is to say what is known and offer a route to certainty.

So the bot never says “yes, it’s in stock” if it has no stock data. Instead, it gives the product details, links to the product page where current availability is shown, or suggests asking customer service. False certainty is the single worst mistake a chatbot can make.

What does availability data in the chat do for an online shop?

It removes one of the biggest obstacles to conversion: uncertainty just before the purchase decision.

  • Fewer abandoned purchases. The customer does not leave to check availability elsewhere.
  • Fewer availability enquiries to customer service. The same question no longer takes up anyone’s time.
  • Better selling of alternatives. When a product is out of stock, the bot can suggest a replacement straight away.
  • Service when the shop is closed. Nobody is there to answer evening shoppers, except the bot.

Example: the same product, three different answers

A customer asks in the chat: “Do you have this jacket in black, size L?”

Without product data the bot gives a general answer: there are jackets in the range, check the product page. The customer did not get an answer.

With a product integration the bot knows the product, its price and sizes and reports availability as of the latest sync. If size-level availability has not been synced, the bot asks the customer to check the size on the product page. The customer can still move forward.

With a real-time lookup, when the shop’s API reports availability by size, the bot answers with the situation right now: black L is sold out, but black M and navy L are on the shelf, these are the prices, and here are the direct links. The customer buys another colour instead of leaving.

The difference between the last two shows especially in peak season, when stock levels change by the hour.

Frequently asked questions

Can the chatbot see a customer’s order details?

No. Booosted’s chatbot handles product data and availability, not orders or customer data. Questions about order status are best directed to customer service.

How often is the product data updated?

With the integration, syncing runs on a schedule every 6, 12 or 24 hours, and you can also start it manually. If stock levels change very quickly, consider adding a real-time lookup, which checks the situation when the question is asked.

Does this work in shops other than WooCommerce?

Yes. Booosted has a direct integration with both WooCommerce and MyCashFlow. In other shops, such as Shopify and Confirma, availability can be fetched with a live lookup from the shop’s public product listing or product API without a direct integration. A live lookup is set up for each bot together with Booosted: this is how a chatbot for a Confirma online shop works, for example.

What if the shop has tens of thousands of products?

Then filtering is what matters: the bot must fetch only the part of the range related to the question, not the whole catalogue. In large catalogues, the search is built on the filters the customer gives, such as size, model or intended use.

Can the bot send a notification when a product is back in stock?

The bot can collect the customer’s contact details for the notification and send the lead straight to your team. The notification itself is sent through the online shop or your marketing tools.

Let the bot answer availability questions correctly

If the same question about product availability keeps coming up in your online shop’s customer service, it is the easiest one to automate, and the one where a wrong answer costs the most. Book a free demo and we will look together at how Booosted’s AI chatbot gets stock data from your shop and what that changes in sales.


More articles

Let’s see together what a chatbot would do on your website

We process your data in accordance with our privacy policy.

Would you like to ask something first? Send a message or call the office.

Helsinki

Säterintie 16
00720 Helsinki
+358 400 551 089
info@booosted.com

Tampere

Itsenäisyydenkatu 17
33500 Tampere
+358 45 203 6078
info@booosted.com