Insights

Chatbot: what it is, how it works and when to use one

A chatbot is software that holds a conversation. See how one message moves through it, the three kinds of chatbot and how to tell when your business needs one.

By the Askocto team · · 4 min read

A chatbot is software that holds a conversation with a person through text or voice. A customer types a question, the chatbot works out what is being asked, finds or builds an answer and replies. Some chatbots follow a fixed script. Newer ones read your content and write replies. This article explains how they work and when one makes sense.

In short: A chatbot is worth having when many people ask the same questions, the answers exist in writing, and a person can take over when the bot cannot help.

How one message travels through a chatbot

Following a single question makes the idea concrete. Say a customer types, "Can I change the delivery address?"

  1. The message arrives through a channel such as a website chat window, email or WhatsApp.
  2. The chatbot interprets it. It decides this is about changing a delivery address, not about a refund.
  3. It looks for the answer. A scripted bot checks a list of programmed replies. An AI chatbot searches your documents, help articles and policies.
  4. It may take an action. A more capable bot checks the order status to see whether the parcel has shipped.
  5. It replies. In plain language, with the next step.
  6. It decides whether to continue. If the customer is unhappy or the request is outside its rules, it passes the conversation to a person, with the context.

Everything that differs between chatbots happens in steps two to four.

Three kinds of chatbot

Rule-based chatbots

These follow a decision tree. The visitor clicks options or types a keyword, and the bot returns a prepared answer. They are predictable and cheap to understand, but they only handle what someone planned. A question phrased in an unexpected way leads to "Sorry, I did not understand."

Language-model chatbots

These read your content and compose an answer in natural language. They cope with different phrasings, follow-up questions and several languages. The risk is that, without good source material and guardrails, they can produce a confident answer that is wrong. The article on stopping an AI chatbot from making things up covers that.

AI agents

An agent goes one step further: it follows written procedures and takes actions in connected systems, such as checking an order, issuing a refund within limits or booking a meeting. The difference is explained in AI chatbot vs AI agent.

Rule-based Language model Agent
Handles new phrasings Poorly Well Well
Uses your documents Only what is scripted Yes Yes
Takes actions Limited Usually no Yes
Setup effort Writing every path Adding sources Sources, procedures, connections

What chatbots do well

  • Answer repeated questions at any hour without a queue.
  • Collect details first, such as order number or account email, so the human who takes over has them.
  • Route conversations to the right team.
  • Serve several languages from one set of content.
  • Show where your content is weak, because every unanswered question is recorded.

What chatbots do not do well

  • Handle upset customers who need empathy and judgment.
  • Make exceptions to a policy without rules for it.
  • Answer from content that is outdated or contradictory.
  • Work well without anyone looking at the transcripts. A chatbot is closer to a new team member than to an appliance. It improves when someone reads its mistakes and fixes the content.

How to decide whether you need one

Ask four questions.

  1. Do many people ask the same things? Look at your last 200 messages. If a handful of topics cover most of them, a chatbot has work to do.
  2. Are the answers written down? If the answer lives only in one person's head, write it first.
  3. Is there a person to take over? A chatbot with no human behind it frustrates customers.
  4. Will someone own it? Plan one weekly slot to read conversations and fix gaps.

If three of the four are yes, start small. Pick one channel, one topic area and a short list of questions.

Getting started in one afternoon

You can have a first working version quickly if your content exists:

  1. Collect your help center pages, policy documents and a list of frequent questions.
  2. Add them as sources to your chatbot tool. In Askocto, that means crawling your website or uploading files under Build > Sources.
  3. Write how to handle your top three request types in plain steps.
  4. Try twenty real questions in a test environment and note the wrong answers.
  5. Fix the content, then publish on one page of your site.

Askocto also lets you test the agent in the Playground and see which source each answer came from. The full process with checks is in how to add an AI chatbot to your website. If you want to try a setup yourself, you can start a free account.

Frequently asked questions

What is a chatbot in simple terms?

A chatbot is a program that talks with people in a chat window or on messaging apps. It answers questions, collects information or completes simple tasks.

What is the difference between a chatbot and a virtual assistant?

The terms overlap. A chatbot usually refers to a text conversation inside a website or app, while a virtual assistant often implies broader tasks or a voice interface.

Are chatbots free?

Some tools offer a free plan with limits, and others charge by plan or by usage. Compare the pricing pages of the tools you shortlist.

Can a chatbot replace human support?

It can handle repeated questions, but people are still needed for complex cases, exceptions and sensitive conversations. The goal is a good handover, not a full replacement.

Train an agent on your own help center

Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.

Keep reading

All articles
Insightstypes of chatbots
Mar 14, 20265 min read

Types of chatbots and how to pick the right one

There are five main types of chatbots. Learn how each one decides what to say, what it can do besides talk, and which type fits the conversations your customers start.

Read article