Rules-based chatbots follow predefined scripts created by humans or AI.
Some bots pull contextual information from CRMs or knowledge bases.
Advanced chatbots gather user data during conversations to personalize responses.
Machine learning models learn from large datasets and update with new information.
External APIs provide real-time data like weather or account info.
Little chat bubbles and boxes have started popping up on all sorts of websites. Visit Chewy, and you can click "Chat Live With Us" to ask why your dog food hasn't shown up. At HubSpot, the adorable HubBot is ready to book a demo or share free training.
But who are you actually talking to? Those speedy responses are probably coming from a chatbot, not Michael Phelps typing. A chatbot is a program that can have conversations with humans. Most chatbots on websites communicate through text, but some can talk to you over the phone, sometimes in convincingly human-like voices.
HubBot Example
HubBot
AI Chatbot
Want to chat about HubSpot? I'm an AI chatbot here to help you find your way. Ask me or select an option below.
Is hubspot hiring?
02:23 PM
I'm here to help with HubSpot's products and services. If you're interested in working with HubSpot, I recommend visiting HubSpot's official careers page on their website where they list current job openings and opportunities. How can I assist you with HubSpot's platform or products today?
02:23 PM
HubBot is a classic example of a **rules-based chatbot**. Ask it if the company's hiring, and it spits out a clearly preprogrammed response: "If you're interested in working with HubSpot, I recommend visiting HubSpot's official careers page on their website where they list current job openings and opportunities." It can't tell you about current job openings or anything that isn't in its script.
Chatbot Benefits
Customers want instant gratification, not endless hold times. Chatbots can respond immediately to their questions or route them to the right person if a problem is too complex. That means fewer disgruntled customers clogging your support queue. Cost and scalability are two more major benefits of chatbots.
Chatbot Terms You Should Know
Decision Trees
Map out possible conversational paths between a chatbot and a human. When a chatbot asks, “Is there anything else I can help you with?” it might only have two branches: yes and no. Meanwhile, AI can respond with something more complex, like, “It depends.”
Human Handovers
Happen when the chatbot steps back and lets a human take over.
Intent Recognition
Lets AI chatbots read between the lines to figure out what the user wants. If you say, “This sundress is three sizes too big and I hate it,” the software may recognize that you want to return it, even if you don't say it directly.
Natural Language Processing (NLP)
Is an AI technique used to understand and respond to human language. It goes beyond the literal meaning of the words by interpreting context and even emotion.
Utterance
Is what a human says to a chatbot. For example, “I need to look up my order number” and “Can I change the shipping address?” are two separate utterances.
Types of Chatbots
All chatbots have the same purpose: to hold natural conversations with humans and offer assistance. But they get there in different ways. Here are four common types of chatbots and how they work.
AI-powered chatbots
AI chatbots are the most intuitive and human-like. They’re trained with machine learning algorithms that analyze patterns in vast datasets. For example, you might feed the chatbot all your customer emails from the last five years so it learns to recognize common questions.
Rule-based chatbots
Rule-based chatbots are much more structured. They use prewritten scripts that are triggered by certain words or phrases. If someone says, “I need to check my shipping status,” the chatbot can pull up their order information and update its script with accurate data. However, these chatbots typically can’t answer any atypical or poorly phrased requests.
Menu-based chatbots
Some chatbots don't even let users type in their own sentences and only offer a few prompts. These chatbots are simple and take the guesswork out of interactions. Instead of typing a long story about how a box got crushed by the post office, the customer can choose “Replace order” from the menu. But menu-based chatbots aren't very effective for nuanced or offbeat interactions.
Hybrid chatbots
Hybrid chatbots combine AI and rule-based programs. They have stock responses ready to go for common queries, like, “What’s the average shipping time?” For more sophisticated or vague questions, they rely on AI algorithms to suss out what the user means.
What is needed for a chatbot to work?
Here's a quick breakdown of how chatbots function behind the scenes. Every chatbot has a user interface. It's usually a floating box that pops up in the corner of a web page.
Constance
Virtual AI Assistant
Hi, I am Constance, your Virtual AI Assistant 👋
Welcome to Constant Contact 👋 Are you looking to take your marketing to the next level?
Please select an option or write a reply...
Like HubBot, this hybrid chatbot, punnily named Constance, is represented by a cute robot avatar. Users can click one of five menu buttons or type a reply in the text box that follows them.
Example Dialogue Flow (Rule-Based):
**Chatbot:** Hello! I’m Steve, a chatbot who LOVES graphic design software. How can I help you today?
**Customer:** I want to schedule a consultation.
**Chatbot:** Great! Our sales team is usually available on Mondays and Wednesdays. When do you want to meet to talk about your project?
**Customer:** None of these days work.
**Chatbot:** No worries! Tell me the days you’re available, and we’ll find a time that works for everyone.
How does a chatbot get its information? (Deep Dive)
AI chatbots have no set patterns, so every conversation is different. Instead, they use machine learning algorithms and deep learning to analyze tons of data, like application programming interfaces (APIs) connected to your customer relationship management (CRM) systems, product manuals, or even your website's FAQ page.
Advanced chatbots gather user data during conversations and use it to personalize their responses.
Machine learning models learn from vast datasets and update their responses when they get fresh information.
External APIs let the chatbot access weather reports, account information, and other data in real-time.
For example, you can train ChatSupplies AI agents with your website’s URL and uploaded PDFs. When someone asks who founded your company, the AI Agent will reference that page on your site, just like a human rifling through their memory.
How does a chatbot work? A step-by-step breakdown
Start by using ChatSupplies AI Chatbot Builder to create a custom agent. You can pick an avatar, set the level of chattiness, and even change the background color to match your website.
Train your AI agent by building a knowledge base or linking to your website. You can also upload documents or write questions along with ideal answers.
Agent Preview
Hi! I’m Jane, your friendly **AI Agent**. How can I assist you today? Feel free to share your thoughts!
Jane AI
Support Agent
E-commerce Interaction Flow
Once your chatbot is set up, here's what a basic interaction might look like on an e-commerce website:
Artemis
E-commerce Chatbot
Hello! I'm Artemis, your AI Agent for e-commerce help. How may I assist you with your shopping today?
Interaction Summary:
The user enters the first message into the text box: "Hi. Does this come in black or blue?"
The chatbot asks for more information: "Hello! Can you give me the product number or URL?"
Once it has that data, the chatbot will search through its knowledge base for the product details.
**Chatbot:** "Yes! That dress is available in black but not blue. Would you like to add it to your cart?"
**User:** "Sure medium please"
The chatbot can use an API to communicate with your e-commerce platform and update the cart with the dress in the correct size and color.
**Chatbot:** "Done! Is there anything else I can help you with?"
**User:** "Nope"
**Chatbot:** "Okay, have a great day!"
Chatbot Best Practices
Like any technology, chatbots come with a learning curve. These tips will help you get the most out of yours and avoid frustrating customers:
While some brands might prefer a professional conversation, others might consider it a little... dry. You can teach your agent your voice, so it can respond with more pizzazz. Instead of wishing someone a great day, your AI might answer with a sassy "Get back to shopping!"
Use ChatSupplies convenient chatbot templates to get started quickly. There are templates for everything from customer service to therapy and Shopify stores.
**Be transparent**. Add a short introduction, like, “Hey there! I’m Diego, an AI chatbot.” You should also **teach your AI to hand off the conversation to a human** whenever the user asks.
**Update your chatbot regularly**. Keep refreshing your knowledge base and uploading new documents. This prevents awkward situations, like the chatbot recommending a discontinued product.
Making customers wait on hold is so 2012. With chatbots, they can get instant answers from a smart robot that sounds just like your brand.
The best chatbots combine AI, natural language processing, and datasets for flawless human conversations. But for some brands, a simple menu bot is all it takes to get the job done. Research chatbot examples from your competitors and favorite brands to see what works.
Looking for an easy solution that can grow with your business? Try ChatSupplies's AI Chatbot. It's totally customizable with no coding, and you can add many different data sources. Plus, it supports multiple languages and platforms, so you can use it wherever you need it.