Customer support AI
How to integrate an AI chatbot: knowledge, systems and the handoff to a person
The widget is the smallest part of the job, and the real work is in what the chatbot can read, what it can change and who takes over when it gets stuck.
How do you integrate an AI chatbot with your business systems?
Integrate an AI chatbot by connecting it to three things: the content it answers from, the systems it acts on, and a route to a human. Start read-only, scope its access to what each user may see, log every conversation, and test against real past questions before it goes live.
The short version
- An AI chatbot integration has three connections: a knowledge source, the business systems it reads or changes, and a handoff to a person.
- Start read-only, because a wrong answer can be corrected and a wrong change often cannot.
- A chatbot should only see what the person talking to it is allowed to see, and that check belongs before retrieval, not after.
- The handoff to a human is part of the integration, not a fallback added after launch.
- A test set built from real past questions with known answers is the most useful thing a chatbot project produces.
What does AI chatbot integration involve?
AI chatbot integration means connecting a language model to three things: the content it answers from, the business systems it reads or changes, and a person who takes over when it cannot help. The chat window on your website is the visible part. It is also the smallest part.
Most chatbot platforms will put a widget on a page in an afternoon. What that widget knows, what it is allowed to touch and what happens when it is wrong are the questions that decide whether it helps or embarrasses you. Those questions are the integration.
Treat each connection as its own piece of work with its own risk. A chatbot that answers from a stale document gives wrong answers politely. A chatbot with write access to your order system can make wrong changes politely. A chatbot with no exit traps a customer who needed a person.
What are the three connections, and where should each start?
| Connection | Typical examples | Start with | What goes wrong if rushed |
|---|---|---|---|
| Knowledge | Help centre articles, policies, product documentation, past ticket replies | One well-maintained source with a named owner | Confident answers from outdated or contradictory content |
| Business systems | Helpdesk, CRM, order or booking system, billing | Read-only lookups scoped to the signed-in user | The chatbot reads or changes records it should never reach |
| Human handoff | Live chat queue, ticket creation, callback request | A visible route to a person from the first message | Customers stuck in a loop with no way out |
In what order should you integrate an AI chatbot?
- Collect real questions from past tickets and emails, each with the answer a good member of staff would give.
- Pick one knowledge source, make sure someone owns it, and connect the chatbot to that alone.
- Build the human handoff before launch, and pass the conversation across so the customer does not repeat themselves.
- Connect business systems read-only, using credentials scoped to the person in the conversation.
- Launch to a small group, read the transcripts, and fix the content the chatbot keeps getting wrong.
- Only then consider letting it take actions, one narrow action at a time, each with a confirmation step.
Why should a chatbot start read-only?
Because a wrong answer can be corrected and a wrong change often cannot. Starting read-only lets you watch how the chatbot behaves on real traffic while the worst it can do is say something incorrect.
Read-only does not mean low value. Order status, booking details, account balance, the delivery date on an invoice: plenty of what people ask a business is a lookup, and a chatbot that answers those correctly is already useful.
When you do add actions, add them one at a time and keep each narrow. 'Cancel this order' with a confirmation step is a defined action you can test. 'Manage my account' is not. Log every action with who asked, what the chatbot did and what the system returned.
How do you stop the chatbot seeing data it should not?
Resolve who the user is before the chatbot fetches anything, and fetch only what that user is entitled to see. The check belongs before retrieval. Filtering the answer afterwards still means the model received data the user could not access.
The tempting shortcut is a single service account with broad access, shared across every conversation. It works in the demo because the demo user is allowed to see everything. In production it means the chatbot can be talked into reading another customer's records, and prompt injection makes that a design problem rather than a hypothetical one.
The safer pattern is to pass the user's own identity through to each system, or to issue short-lived credentials limited to that user's records. Anonymous visitors get public content only. If a system cannot scope access per user, the chatbot should not be connected to it yet.
How should the handoff to a human work?
The handoff should be visible from the first message, should pass the full conversation to the person taking over, and should trigger whenever the customer asks, not only when the chatbot decides it is stuck. It is part of the integration, not a fallback added after launch.
Do not assume customers want AI service. In a Gartner survey of 5,728 customers conducted in December 2023, 64% said they would prefer companies did not use AI for customer service. A chatbot that hides the route to a person turns that preference into a complaint.
In practice that means a clear 'talk to a person' option, a ticket or live chat created with the transcript attached, and honest expectations about response times outside working hours. The customer should never have to retype what they already said.
Does a chatbot work better for customers or for your staff?
Start with staff if you are unsure. A staff-facing assistant keeps a person between the model and the customer, and the field evidence we can point to is for AI that assists support agents, not for bots that replace them.
Brynjolfsson, Li and Raymond studied a staggered rollout of a generative AI assistant across 5,179 customer support agents, measuring issues resolved per hour. Productivity rose, with the largest gains among less experienced agents and minimal effect on the most experienced. That is a study of a tool that helped people reply, not of a bot talking to customers on its own.
The integration work is nearly identical either way: the same knowledge source, the same scoped system access, the same tests. Starting with staff lets you fix the content and the permissions while a human still reviews every answer before a customer sees it.
How do you test a chatbot integration before launch?
Build a test set from real past questions with known good answers, run the chatbot against it, and score the results before every change goes live. Include questions it should refuse and questions that should go to a person.
The test set is the most useful thing the project will produce. It tells you whether a new model, a rewritten prompt or an updated help article made things better or worse, which you cannot judge by trying a few questions by hand.
Three kinds of question belong in it. Ordinary questions with a single correct answer. Questions the chatbot should decline, such as requests for another customer's data. Questions that need a person, such as a complaint or a refund outside policy. After launch, add every real failure from the transcripts to the set.
When is AI chatbot integration not worth doing?
It is not worth doing when question volume is low, when there is no maintained source of truth for the answers, or when nobody will own the content after launch. In those cases a better help page or a shared inbox is cheaper and more reliable.
Adoption surveys can make it feel urgent. The U.S. Census Bureau's business survey finds that firms with at least 20 employees are the biggest AI users, and a U.S. Chamber of Commerce report found that a majority of small businesses in all 50 states say they are embracing AI. Neither tells you whether a chatbot will help your customers.
The test is simple. If you cannot name the source the chatbot will answer from and the person who will keep it current, fix that first. A chatbot amplifies the state of your content. It does not repair it.
Questions people ask
How long does AI chatbot integration take?
Putting a chat widget on a page is quick. The time goes into preparing the content it answers from, scoping access to your systems and building a test set from real questions. A knowledge-only chatbot with a human handoff is a much smaller job than one that reads and changes records in a CRM or order system. Scope the first release to the smaller version and extend it once it works.
Can an AI chatbot connect to our CRM or helpdesk?
Usually, if the system has an API. The questions that matter are whether that API can limit access to one user's records and whether you can start with read-only access. If the only option is a single account that sees everything, the chatbot inherits that reach, and anyone talking to it can try to use it. Solve the scoping first, then connect.
Do we need to train a custom model for our chatbot?
Rarely. Most business chatbots answer from your own content by retrieving the relevant passages at question time, which keeps answers current when the content changes. Training a custom model makes sense for narrow, high-volume tasks where a general model is measurably weak, and it adds ongoing maintenance. Start with retrieval and a good test set, and let the test results tell you if more is needed.
Should the chatbot say it is an AI?
Yes. Customers who find out later feel misled, and a chatbot that pretends to be a person makes the handoff awkward when a real person takes over. Say plainly that it is an automated assistant, say what it can and cannot help with, and keep the route to a person in view. Check the disclosure rules where you operate as well.
What does an AI chatbot cost to run once it is live?
There are two running costs. Model usage, which scales with the number and length of conversations, and upkeep, which people tend to forget. Someone has to read transcripts, correct the content the chatbot gets wrong and rerun the test set when anything changes. If nobody has time for that, the chatbot will drift out of date, and its answers with it.
How do we know a chatbot vendor will handle our data safely?
Ask where conversation data is stored, how long it is kept, whether it is used to train models, and how access to your systems is scoped per user. Ask to see it tested with an ordinary user account, not an administrator. We do not hold formal security certifications, and our security page says plainly what we do and do not have, so you can judge for yourself.
Related on this site
Sources
- Large Firms With at Least 20 Employees Biggest AI Users, Business Trends and Outlook Survey (BTOS), a biweekly, nationally representative survey of US businesses; data collected December 14, 2025 to May 3, 2026 · U.S. Census Bureau, data from 2025-2026
- U.S. Chamber's Latest “Empowering Small Business” Report Shows Majority of Businesses in All 50 States Are Embracing AI, Nationwide self-reported survey of US small businesses, run by Teneo Research for the U.S. Chamber's 2025 Empowering Small Business report; the release does not give the sample size · U.S. Chamber of Commerce Technology Engagement Center (C_TEC), with Teneo Research, data from 2025
- Use of artificial intelligence in enterprises - Statistics Explained - Eurostat, EU official statistics on enterprise ICT usage, covering enterprises with 10 or more employees and self-employed persons across EU member states; data extracted December 2025 · Eurostat, data from 2025
- Use of artificial intelligence in enterprises - Statistics Explained - Eurostat, EU official statistics on enterprise ICT usage; asked of EU enterprises (10+ employees) that had considered using AI but did not · Eurostat, data from 2025
- Gartner Survey Finds 64% of Customers Would Prefer That Companies Didn’t Use AI For Customer Service, Gartner survey of 5,728 customers conducted in December 2023 (press release dated July 9, 2024) · Gartner, data from 2023
- Generative AI at Work, Field study of a staggered rollout of a generative AI conversational assistant, using data from 5,179 customer support agents; productivity measured as issues resolved per hour · Erik Brynjolfsson, Danielle Li and Lindsey R. Raymond (NBER Working Paper 31161; peer-reviewed version in The Quarterly Journal of Economics, vol 140(2), 2025), data from 2020-2021