---
title: "AI chatbots that know when to hand over"
url: https://soliditylabs.tech/services/ai-development/ai-chatbot-development/
description: "Solidity Labs builds AI chatbots that answer from your approved content with citations, look up orders and accounts, and hand off to people cleanly."
source: Solidity Labs (https://soliditylabs.tech)
---

AI Development · Conversational AI

# AI chatbots that know when to _hand over_

Chatbots that answer from your approved content with sources, check orders and accounts through scoped lookups, and pass the conversation to a person, with a summary, when they shouldn’t answer.

[Get a quote](/contact/get-a-quote/) [Book a free call](/contact/book-consultation/)

Free discovery callNDA on requestFixed proposal after scoping

Help · Acme RetailILLUSTRATIVE

Can I return a sale item I opened?

Yes — opened sale items can be returned within the return window if they’re unused and in original packaging. Final-sale items are excluded.Source: Returns policy §3.2

It arrived damaged though.

Damage claims need a quick photo check, so I’m passing you to a teammate with your order details attached.→ Handed to support · order #A-10442 · summary attached

In short

An AI chatbot uses a language model to understand questions and answer in natural language. Solidity Labs builds chatbots grounded in your help center, policies and product data, with citations, read-only order and account lookups, guardrails against off-topic or unsafe answers, and a clean hand-off to your helpdesk. Channels include web, WhatsApp, Telegram, Slack and in-app chat.

Definition

## What makes a modern AI chatbot different?

**Rule-based bots** follow scripts and break on unexpected wording. **AI chatbots** understand wording but need grounding and guardrails so they don’t invent answers.

Older chatbots matched keywords and walked users through decision trees. They were predictable, and they failed as soon as a customer phrased a question differently. AI chatbots understand free-form questions in many languages, but a raw language model will also answer confidently from memory, including things that are wrong for your business.

The engineering job is to make the bot answer only from what you have approved. We use [retrieval](/services/ai-development/rag-ai-system-development/) over your help center, policies and product catalog, so every answer is grounded in a source the user can open. For anything personal (an order, a booking, a balance) the bot calls a read-only lookup instead of guessing. And when the question is sensitive, the confidence is low or the user asks for a person, the conversation moves to your team with a summary attached.

A chatbot answers. If it needs to _change_ things (issue refunds, change bookings, update records), it becomes an [AI agent](/services/ai-development/ai-agent-development/), and we design approvals for each action it may take.

Problems we solve

## Problems a good chatbot solves

1.  ### Repetitive questions swamp the team
    
    Shipping times, return rules, password resets and opening hours can fill much of a support team’s day. A grounded bot answers them the same way every time.
    
2.  ### Customers wait outside office hours
    
    Questions arrive at night and on weekends. The bot answers what it can and queues the rest with context, so the morning starts with a sorted queue.
    
3.  ### Answers differ between agents
    
    When the bot answers from the same approved policy every time, customers get consistent information, and agents get the same answer to copy.
    
4.  ### Hand-offs lose context
    
    Customers should not have to repeat themselves. A summary and the full transcript go with every escalation.
    

What we build

## What we build

### Grounded answering

Retrieval over your help center, policies, product data and, once cleaned of personal data and outdated answers, past resolved tickets. Every answer cites its source, and the bot says “I don’t know” when nothing relevant is found.

### Read-only lookups

Order status, booking details or account information through per-user lookups to Shopify, your ERP or CRM. The bot can read one customer’s record, never change it.

### Human hand-off

Escalation to Zendesk, Freshdesk, Intercom, HubSpot or Gorgias with a summary, the customer’s mood and the transcript.

### Channels

Website widget, in-app, WhatsApp, Telegram, Slack or Microsoft Teams from one backend.

### Guardrails

Topic boundaries, personal-data handling, abuse filtering and refusal rules for advice the bot must never give.

### Content workflow

A simple way for your team to see which questions failed and fix the source content, not the prompt.

### Analytics

Resolution rate, hand-off rate, top unanswered questions and satisfaction, in a dashboard your content owner reviews every week.

Use cases

## Where chatbots work well

### Ecommerce support

Order tracking, returns policy, sizing and product questions, with hand-off for damaged items and refunds.

### SaaS product help

How-to questions answered from documentation, with links to the exact article and escalation for bugs.

### Internal IT and HR helpdesk

Policy and how-to questions for employees, citing the intranet page, with tickets opened for anything that needs action.

### Lead capture and qualification

Answer product questions, then collect requirements and book a call for qualified visitors.

### Investor and member services

Questions about documents, statements and processes for fund or platform members, with sensitive cases routed to a person.

### Multilingual support

Answer in the customer’s language from content written in one language, with translation quality checked in evaluation.

How it works

## How the chatbot is put together

Answers come from approved content or read-only lookups. When neither fits, a person takes over.

1.  **Customer message**web · WhatsApp · app
2.  **Input checks**PII · abuse · language
3.  **Intent & confidence**
4.  **Grounded answer**approved content + citation
5.  **Reply**
6.  **Human hand-off**helpdesk + summary
7.  **Scoped lookups**order · account status
8.  **Logs & evaluation**review · retrain content

Fig. 2 — Messages are checked, answered from approved content with citations, and handed to a person with full context when the bot is unsure or the topic is sensitive.

Channels

One conversation backend serving the web widget, WhatsApp Business Platform, Telegram and workplace chat.

Understanding

Intent detection and a confidence score decide whether to answer, look something up or escalate.

Knowledge

Hybrid retrieval (keyword and meaning-based search together) over approved content; answers must cite a source or say they don’t know.

Lookups

Read-only, per-user calls to commerce, CRM or booking systems, authenticated through the user’s session.

Hand-off

Helpdesk ticket with summary and transcript; where the helpdesk supports the channel, the agent replies in the same conversation.

Improvement loop

Unanswered questions and low ratings feed a recurring content review and the evaluation set.

Field notes

## Where chatbot projects go wrong

Most chatbot problems are not model problems. They come from the content, the hand-off or the lack of a test set. These are the failure modes worth checking for, and what we check before a bot meets real customers.

## Common failure modes

-   **Two sources disagree.** The help center says one thing and an old PDF says another. Retrieval finds both, and the bot picks one at random. Spot it by asking the same question in different words: if the answer changes, the sources conflict.
-   **The bot answers from old tickets.** Resolved tickets are a rich source, but they record what an agent said at the time, including exceptions and outdated policy. Use them to find questions, not as the answer of record.
-   **The hand-off is a dead end.** The bot says “I’ll pass you to a colleague” outside office hours and nothing happens. Every hand-off needs a stated next step: a ticket number, an expected channel for the reply, or a callback form.
-   **Success is measured by deflection alone.** A bot that refuses to escalate scores well on deflection and badly on satisfaction. Track resolution and hand-off rates together, and read a sample of conversations every week.
-   **Lookups trust what the user types.** If an order number alone opens an order, anyone with a guessed number can read it. Pair it with a second check, such as the email on the order or the logged-in session.

## Before launch we check

1.  The evaluation set covers the top questions, the questions the bot must refuse, and prompt-injection attempts, and the bot meets the bar agreed in the proposal.
2.  Every answer in the set cites a source a customer can open, and the source is current.
3.  Each lookup returns only the requesting user’s data, tested with a second account.
4.  Hand-off works in every channel, in and outside office hours, and the agent sees the summary and transcript.
5.  Logs redact personal data, and retention matches what your privacy notice says.
6.  Each channel’s own rules are met, such as opt-in and message templates on WhatsApp.

Illustrative example

A returns question with conflicting sources

Suppose an online retailer’s help center gives one return window for sale items, while a policy PDF from an earlier season gives a different one. A customer asks whether an opened sale item can be returned. Without a content audit, the bot may give either window. With the audit, the PDF is retired, the evaluation set gains the question in three phrasings, and the bot answers from the current policy with a link to it. When the customer then says the item arrived damaged, the bot does not decide the claim: it opens a ticket with the order details and hands the conversation to a person.

Process

## How we run it

1.  ### Pick the conversations
    
    On a free discovery call we look at the questions you get. With a sample of real tickets or chats, we choose the topics the bot should own first.
    
    Free call
    
2.  ### Prepare content
    
    We find gaps and contradictions in your help content; the bot can only be as good as its sources.
    
    Content audit
    
3.  ### Scope and proposal
    
    Channels, lookups, hand-off rules, languages and the evaluation set, in a fixed proposal with milestone-based payments agreed in it.
    
    Fixed proposal
    
4.  ### Build and test
    
    Demos at a cadence agreed in the proposal, using real questions, including the ones the bot should refuse.
    
    Regular demos
    
5.  ### Soft launch and handover
    
    A share of traffic or one channel first, then full launch when resolution and hand-off rates meet the agreed bar. Support for a period agreed in the proposal; source code and IP transfer to you on final payment.
    
    Handover
    

Technology

## Tools we use for this

### Models

-   OpenAI
-   Anthropic Claude
-   Google Gemini
-   Mistral

### Retrieval

-   pgvector
-   Qdrant
-   PostgreSQL

### Channels

-   WhatsApp Business Platform
-   Telegram Bot API
-   Slack
-   Microsoft Teams
-   Web widget

### Helpdesks

-   Zendesk
-   Freshdesk
-   Intercom
-   HubSpot
-   Gorgias

### Runtime

-   Python
-   TypeScript
-   Node.js
-   Cloudflare
-   AWS

Scope drivers

## What shapes scope

We don’t publish prices or week counts, because they depend on scope. These are the factors that actually move them.

01

### Content readiness

Clean, current help content is quick to index. Contradictory or scattered content needs a cleanup pass first.

02

### Number of channels

Each channel has its own rules, approval processes and message formats.

03

### Lookups and authentication

Answering about a specific order or account requires secure user verification and integration work.

04

### Languages

Each supported language needs evaluation cases and sometimes localized content.

05

### Hand-off integration

Native helpdesk integrations differ; some need custom work to pass summaries and transcripts.

06

### Volume and latency

High volume justifies caching and smaller models for routing; that design work lowers running cost.

### Every engagement includes

-   Source code & IP transfer
-   Documentation
-   Handover session
-   Post-launch support as agreed
-   Demos at an agreed cadence

**We give a fixed proposal after a free discovery call and a written scope of work.** [Prepare a brief with the Project Planner](/resources/project-planner/)

Comparison

## AI chatbot, rule-based bot or AI agent?

Rule-based bot

AI chatbot

AI agent

Understands free-form questions

Answers from your content with sources

Scripted only

Takes actions in your systems

Limited

Read-only lookups

✓ with approvals

Predictability

Highest

High with grounding

Needs evaluation and guardrails

Best for

Simple menus

Support and FAQs

Multi-step tasks

Honest guidance

## When not to choose this

When not to use this

-   **Your help content is out of date or contradictory.** Fix the content first; a bot will repeat the contradictions faster.
-   **Most contacts need a judgment call or an exception.** Then the bot will mostly hand off, and a better routing form may serve you as well.
-   **You get a handful of questions a week.** A good FAQ page and a fast inbox are cheaper.
-   **The topic is regulated advice** (medical, legal, investment). The bot can route and inform, but must not advise.

Scope boundary

## What we engineer, and what others provide

### We engineer

-   Conversation backend, retrieval and guardrails
-   Channel integrations and helpdesk hand-off
-   Evaluation set, analytics and content-review workflow

### You provide

-   Approved help content and policies
-   Access to commerce, CRM or helpdesk systems
-   A content owner who reviews unanswered questions

### Licensed partners & providers

-   Model providers under their data terms
-   Meta (WhatsApp Business Platform) or other channel providers and their policies
-   Your helpdesk vendor

Security & quality

## How we keep it safe and correct

-   Personal data redacted from logs; retention configurable
-   Lookups authenticated per user; no shared “see everything” keys
-   Prompt-injection and jailbreak tests in the evaluation set
-   Refusal rules for regulated advice and off-topic requests
-   Rate limiting and abuse detection on public channels

Engineering example

## Permission-aware knowledge assistant

The same question answered for three roles: retrieval filters what each one may see, cites its sources, and escalates when it can’t answer.

Illustrative engineering example: synthetic data, not a client project. Verified case studies will appear here when consented ones exist.

FAQ

## Questions buyers ask us

Not covered here? [Ask us directly](/contact/) — a person reads every message.

### ### How much does an AI chatbot cost to build?

It depends on content readiness, channels, lookups, languages and the helpdesk integration. We don’t publish prices; after a free discovery call and a look at your real conversations we send a fixed proposal split into milestones.

### ### How do you stop the chatbot from making things up?

By grounding it: answers must come from retrieved, approved content and include a citation, or the bot says it doesn’t know and offers a person. We test this with an evaluation set that includes questions the bot must refuse.

### ### Can the chatbot see order or account details?

Yes, through read-only lookups authenticated per user, for example an order number plus email, or the logged-in session in your app. The bot never gets broad database access.

### ### Which channels can it run on?

Your website and app, WhatsApp, Telegram, Slack and Microsoft Teams, all from one backend. Each channel has its own rules. On WhatsApp, customers must opt in, and a message you start, or one sent after the 24-hour customer service window, must use an approved template. An automated chat also needs a clear path to a person. Meta’s terms bar AI providers from offering a general-purpose AI assistant there, but a bot that serves your own customers is allowed. We design for these rules from the start.

### ### Does it hand over to a human?

Yes. Low confidence, sensitive topics or a request for a person create a ticket in your helpdesk with a summary and the full transcript, so the customer doesn’t have to repeat themselves.

### ### Which AI model does it use?

We pick by testing your real questions against models from OpenAI, Anthropic, Google and others, and can route simple intents to a smaller, cheaper model. Because every model is scored on the same evaluation set, switching later is a measured change.

### ### Will it work in multiple languages?

Yes. Current models handle many languages well; we add evaluation cases per language and check that answers stay faithful to the source content.

### ### How do we improve it after launch?

A recurring review of unanswered questions and low ratings, on a schedule your team sets. Most fixes are content fixes in your help center, which also helps human agents.

### ### Do we own the chatbot and its code?

Yes. Source code, prompts, the evaluation set and the infrastructure configuration transfer to you on final payment. An NDA is available on request before you share real tickets.

Keep exploring

## Related services and reading

-   [RAG & Enterprise SearchCited answers from your own documents](/services/ai-development/rag-ai-system-development/)
-   [AI Voice AgentsReal-time voice agents for calls and support](/services/ai-development/ai-voice-assistant-development/)
-   [AI Agent DevelopmentAgents that own one job end to end](/services/ai-development/ai-agent-development/)

### From the blog

![](/assets/img/r/ai-agent-vs-chatbot-vs-automation-480.png)

AI & Machine Learning

### [AI Agent vs Chatbot vs Automation: Which One Do You Need?](/blog/ai-agent-vs-chatbot-vs-automation/)

Chatbots answer, automations follow fixed steps, and agents decide their own steps. Picking the wrong one wastes money or adds risk. Here is a decision guide with examples, trade-offs and the questions to ask.

Solidity Labs · October 16, 2026 · 6 min read

![](/assets/img/r/rag-vs-fine-tuning-480.png)

AI & Machine Learning

### [RAG vs Fine-Tuning: How to Choose](/blog/rag-vs-fine-tuning/)

Retrieval-augmented generation gives a model your facts at answer time; fine-tuning changes how the model behaves. Most business problems need RAG first, some need fine-tuning, and a few need both. Here is how to tell which.

Solidity Labs · October 16, 2026 · 7 min read

![](/assets/img/r/securing-ai-agents-480.png)

AI & Machine Learning

### [Securing AI Agents: Prompt Injection, Data Leakage and Guardrails](/blog/securing-ai-agents/)

An AI agent reads untrusted text and can take actions, so a malicious email or web page can try to steer it. Here are the main risks, prompt injection, data leakage and excessive agency, and the controls that actually reduce them.

Solidity Labs · October 16, 2026 · 7 min read

Last reviewed: November 2026 Reviewed by our independent expert review under our [editorial policy](/editorial-policy/)
