Build guide

Create a Chatbot That Answers Customer Queries in Real Time

It is 9pm, and a visitor on your product page types: "Is the blue one in stock in size 10, and can I get it by Friday?" Your delivery times are on a page. Your stock count sits in another system. The visitor will wait for a reply, but probably not until morning.

To create a chatbot for your website that answers customer queries in real time, connect each type of question to the place where its answer lives. Stable facts come from your pages. Changing facts come from a live feed. Personal facts come from your own systems. Decisions go to a person.

The six steps below take you from a list of real questions to a tested chatbot on your site.

What "real time" has to mean

The phrase covers two separate requirements, and a chatbot can meet the first while failing the second.

A reply during the visit

  • The visitor gets an answer in the same conversation
  • Nights and weekends are covered
  • Follow-up questions keep their context
  • A generative AI model reading your content can do this

An answer that is current

  • Stock, prices and slots match this moment
  • A signed-in customer sees their own details
  • A page crawled last month cannot provide this
  • It needs a live connection to your data

If you are still deciding on the technology, read which AI approach to use for a website chatbot. This guide assumes generative AI that answers from your content, and it uses Asyntai for the concrete steps.

Step 1: Collect the questions customers really ask

Pull recent messages from your inbox, contact form, phone notes and any existing chat. Keep the customers' own wording, spelling mistakes included. You want questions like these:

  • "Will this mount fit a 2024 MacBook Air?"
  • "Can I return a sale item after 14 days?"
  • "My order still says processing after three days. Is that normal?"
  • "Are you open on the public holiday?"
  • "Do you ship to Germany, and are customs included?"
  • "Can I speak to someone about a refund?"

Keep this list. It becomes your test set in step 4.

Step 2: Sort each question by where its answer lives

This table is the core of the build. Go through your list and put each question in a row. The rows you fill show which plan and which setup you need.

Example queryWhere the answer livesWhat connects it in AsyntaiPlan
"What is your return window?"Your public pages and documentsWebsite crawl and knowledge baseFree and above
"Is size 10 in stock?"Your stock or booking system, changing all dayReal-Time Data FeedStandard and Pro
"When does my plan renew?"The account of a signed-in customerUser ContextStandard and Pro
"Where is order 10294?"Your order system, found by a value typed in chatCustom ToolsStandard and Pro
"Can I book a consultation on Tuesday?"Your calendarBookingsStandard and Pro
"Can you refund me as an exception?"A person's decisionEscalation and human takeoverStandard and Pro

If all your questions fit the first row, you need no live connection. Choose your plan by message count and crawled pages.

Step 3: Connect each source

Stable facts

Add your website address and let the crawler read it.

The crawl limit is 50 pages on Free, 250 on Starter, 1,000 on Standard and 5,000 on Pro. You can also add PDFs, documents and plain text. Use FAQs when wording must stay exact, because the AI uses them word for word.

Changing facts

Provide a public URL that returns your data as JSON, CSV or plain text.

The feed holds up to 200,000 characters, roughly 500 items. Real-Time Data Feed Max on Pro holds up to 10,000,000 characters, roughly 25,000 items. Changes to existing items, such as price or stock, come through as they change. Brand new items can take up to 24 hours to appear in replies.

Personal facts

Use User Context when your site already knows who the visitor is.

A short script passes details such as name, plan or latest order status to the AI. We have setup guides for many platforms, including Shopify, WooCommerce and Magento.

Lookups during chat

Use Custom Tools when the value only appears in the conversation.

You describe the tool and give it your endpoint. When a question matches, the AI takes the value from the message, and Asyntai calls your endpoint and answers from the response. You need an endpoint that returns the data.

Write facts the AI can use

The content you connect sets the quality of the reply. Compare these two versions of the same delivery note. The details are examples.

Too vague to answer from

  • "We offer fast shipping."
  • "Returns are easy."
  • "Contact us for details."

Enough to answer from

  • "Standard takes 5 to 7 working days and costs $4.99."
  • "Unworn items can come back within 30 days."
  • "Sale items can be exchanged, with no refund."

Then add AI instructions for tone and limits. Say which topics need your team, and what the AI should tell a visitor when the answer is missing.

Step 4: Test with the list from step 1

Use the test chat in your dashboard before anyone sees the widget. Test messages do not count toward your monthly limit and stay out of your chat logs, so test as often as you need. Add these harder cases to your list:

  1. A follow-up that depends on the last message. "What about the XL?"
  2. Several questions in one. "Do you ship to Germany, how long does it take, and are customs included?"
  3. A live fact. Change a price in your feed, then ask about that item.
  4. A typing error. "wats ur retrun polcy"
  5. Another language. By default, the AI replies in the language of the visitor's message.
  6. Something your content does not cover. The reply should admit the gap and offer a next step.

When a reply falls short, fix its source: add the missing fact, correct the page, or adjust the instruction. Then ask the same question again.

Step 5: Plan the size, then install

Asyntai counts AI replies, so estimate your messages before you choose a plan. Replace these inputs with your own.

Conversations a month = 500 (your input)
AI replies per conversation = 3 (your input)
Messages a month = 500 x 3 = 1,500
Above Starter's 800, so Standard at $139 a month, with 15,000 messages.

The table in step 2 can decide the plan too. Any live feed, personal data or handover in your list means Standard or Pro, whatever the message count. Free has 50 messages a month, Starter costs $39, and Pro costs $449 with 50,000 messages.

To install, copy the embed code from your dashboard and paste it before the closing body tag of your site. Many website builders have a custom code setting that applies it to all pages. Our installation guide has steps for each platform, and we have pages for Shopify, WordPress and Magento. Check the result on a phone as well as a computer.

Step 6: Keep the answers current

Your business changes, and the chatbot's content has to change with it. A short routine keeps the two together.

Each week

Read a batch of chat logs, available on all plans. Note each wrong or weak reply, and fix its source.

Each month

Check chat analytics, from Starter. On Standard and Pro, run Knowledge Gaps to scan the past 30 days for missing answers.

Each change

Launching a product or changing a policy? Update the page, re-crawl it, and ask the chatbot about the change.

If you plan to code it yourself

Some readers searching this topic are developers with a project to deliver. A custom build needs these parts, and each one needs upkeep:

  • Content pipeline: a crawler, text extraction, a search index, and a way to refresh them.
  • Model layer: retrieval, prompts, a language model API, and replies streamed to the browser.
  • Session handling: conversation history, kept separate for each visitor.
  • Live data: connectors to stock, order and calendar systems, with access rules.
  • Operations: abuse limits, logs, a handover to staff, and tests that run again when a model changes.

Asyntai provides this as a product, and its REST API, from Starter, lets your own software work with it. Compare the build time against the plan price before you decide.

Frequently asked questions

Can a chatbot answer customer queries in real time without a live data feed?

Yes, for anything your pages and documents cover, such as policies, product details and opening hours. You need a live connection only when the answer changes often or differs per customer.

How does the chatbot know a customer's order status?

Your site or your system has to supply it. User Context passes details for a signed-in customer, and Custom Tools call your endpoint for a value typed in chat. Both are on Standard and Pro.

What happens when the chatbot cannot answer?

Your instructions decide what it says. On Standard and Pro, escalation can email your team when a visitor asks for a person, and human takeover lets your team reply in the same chat.

Do I need a developer?

Not for the crawl, the instructions, testing or a script install. A live feed or Custom Tools needs a URL that returns your data, and that part may need developer help if you do not have one yet.

Start with your first row of questions

Crawl your site into Asyntai and test it with your customers' real wording. The Free plan includes 50 messages a month, and live data feeds start at Standard.

Start free

Explore Our Solutions

Find the right AI chatbot for your platform and use case.

Blog in other languages: Deutsch Français Português