Real-time chatbot: answers about availability and prices

Reading time 10 min

The biggest weakness of chatbots has traditionally been that they only know what they have been taught in advance, and many of a customer’s most important questions are about information that changes every day. Is the product in stock? Is next weekend free? How much does this cost on these particular dates? A real-time chatbot solves this by fetching the answer from the source at the moment the question is asked.

In this article, we look at what real time means for a chatbot, how the information is fetched, what it requires from a business and in which situations it completely changes the customer experience.

What is a real-time chatbot?

A real-time chatbot is an AI chatbot that, once it receives a question, can fetch information from an external source, such as a web page, a search result or a system’s API, and build its answer from that. The information is not held in the bot’s memory: it is retrieved at the moment the question is asked.

This is a big difference from an ordinary chatbot. An ordinary bot is trained on the website’s content and documents, and it is exactly as up to date as its most recent training. A real-time bot does not guess changing information at all: it asks the source.

Why doesn’t an ordinary chatbot know availability or prices?

Because its information is a copy, and copies go out of date. When the bot is trained on the website’s content, it learns what was on the page at the time of training.

For most content, this works perfectly well: service descriptions, terms of delivery, contact details and frequently asked questions do not change every day. The problem only arises with information that changes by the hour:

  • Stock levels: a product sells out in the middle of the day.
  • Free times and dates: the calendar changes all the time.
  • Campaign prices and seasonal pricing: the same room costs a different amount in a different week.
  • Schedules and queues: service times, delivery times, the next free installation slot.

If the bot answers these from memory, sooner or later it will get them wrong. And a wrong answer about availability is worse for the customer than no answer at all.

How is real-time information fetched?

The bot is given a source (the address where the information can be found) and rules for when to use it. When a question touches on this topic, the bot fetches the information before answering. There are three types of source:

  1. An ordinary web page. A lunch menu, a price list, a listings page or a timetable page. The bot reads the content of the page and picks out the answer, including the links on the page, so the customer can go straight to the right item.
  2. A page that fetches its data in the background. Many booking calendars and product searches show only the end result on the page but fetch the information from a background API. In that case, the bot can use the same API as the page itself.
  3. A search with parameters. Dates, the number of people or product dimensions, for example, are added to the address, and the results are filtered accordingly. The bot picks the values out of the customer’s question and builds the search.

The third method is the most efficient, because the bot does not read the whole catalogue, only the exact part that answers the customer’s question. The customer can ask “do you have 205/55R16 winter tyres?” or “are there rooms free for two from 19 to 20 Sep?” and get the right answer without filling in a single search form.

Is the information stored in the bot’s memory?

No. The whole idea of a real-time source is that the fetched content is not stored permanently: the information is fetched, used for the answer and not kept.

This is a significant difference from a traditional integration, where data is copied from one system to another and synchronised regularly. When nothing is copied, there is no outdated copy and no extra place where the company’s information is stored. We cover chatbot security questions more broadly in our article on AI chatbots and security.

What is a real-time chatbot best suited for?

Anything where the customer’s most important question is about the situation right now. The clearest benefits are in these areas:

  • Online shops: availability, price, sizes and variants, plus a direct link to the right product.
  • Accommodation and rentals: free dates, room or cottage types, the total price for the chosen period.
  • Bookings and servicing: the next free slot, how long the queue is, differences between locations.
  • Large product catalogues: tyres, spare parts, supplies: thousands of rows, of which the customer is looking for one.
  • Content that changes daily: lunch menus, events, changes to opening hours.

In ecommerce, this fits naturally with a product data integration: when the bot gets the products from the shop, it knows the range and can also check the current situation. Read more in our article on the WooCommerce chatbot.

What does setup require from a business?

Usually less than buyers expect. The starting point is that if the information is visible somewhere online, it can most likely also be fetched.

  1. An address where the information can be found. This can be a public page or a system API.
  2. A decision on what information the answer shows. Name, price, availability, link: a few essential details rather than everything.
  3. Instructions for when to use the source. The bot should not fetch information for every question, only when the question concerns information that changes.
  4. Testing with real questions. This is the most important step: customers ask in different ways from what we imagine.

A separate development project is usually not needed. Our article on how a chatbot learns to understand your business explains how the bot’s basic training works.

What are the most common pitfalls?

Real-time answers bring a few issues that should be resolved in advance. They all come down to the same rule: the bot must never answer with more certainty than the source allows.

  • Free does not always mean bookable. Booking systems often have rules about arrival days and minimum stays. The bot has to ask the source about exactly the period the customer is asking about, not guess from the colours in a calendar.
  • A search that is too broad is as bad as an empty one. If the customer gets a list of a hundred products, they have not been given an answer. The search must be narrowed down so that the answer is a few rows.
  • The source has to be fast. The customer expects an answer in seconds, not minutes. A slow source has to be narrowed down or cached.
  • The bot has to say when it does not know. If the search returns no results, the right response is to direct the customer to a person, not to make something up. We cover this in our article on specialised AI chatbots vs traditional chatbots.

Example: the same question, two different bots

At 10 pm, a customer writes: “Do you have anything available for two next weekend?”

An ordinary bot gives a general answer: accommodation is available, you can book on the booking page, here is the link. The customer has to search the calendar themselves, and some leave at this point.

A real-time bot picks the dates and the number of people out of the question, fetches the availability and replies: two room types are free on these dates, these are the prices, and this link takes you straight to the booking. If nothing is free, it says so directly. The customer got an answer to their question, not instructions for finding the answer themselves.

The same logic works in ecommerce, servicing and supplies. The difference is that the bot does the work on the customer’s behalf that the customer would otherwise do themselves, or not do at all.

Frequently asked questions

Does a real-time chatbot need its own API?

Not necessarily. A public page that already shows the information is often enough. An API is useful when the information is behind a search function or when the answer needs precise fields, such as the total price for the chosen period.

How fresh is the information?

It is the information as it stood at the moment the customer asked. The search is only made after the question, so the answer is as up to date as the source itself.

Does the real-time search slow down the answer?

Somewhat, because the bot waits for the source to respond. We are talking about seconds, and slow sources should be narrowed down or made lighter during setup.

Does this also work in other languages?

Yes. The bot answers in the customer’s language, even if the source is in Finnish. You can read more about this in our article on multilingual customer service.

What happens if the source is temporarily down?

The bot does not make up an answer. It says that the information is not available right now and directs the customer to get in touch or to the right page. That way an error does not turn into wrong information.

Would you like a bot that knows the situation right now?

Let’s work out together which information changes most often in your business and where it can be fetched from. Book a free demo and we will show you how Booosted’s AI chatbot answers questions about availability, prices and schedules correctly, without anyone updating anything by hand.

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