Skip to main content

Sigmato | Software & Mobile App Development Company

AI Technology

How to Build a Custom AI Chatbot for Customer Support

By Sigmato Editorial TeamUpdated 9 Nov 20266 min read

Customer support agent with headset working alongside a custom AI chatbot

A support chatbot built on a modern language model can answer most routine questions in seconds, around the clock, in your customers’ language. But an off-the-shelf widget rarely knows your policies, cannot look up an order and often frustrates customers with confident wrong answers. Custom AI chatbot development solves this by connecting the model to your knowledge base, your systems and your support team, with clear rules for when a human takes over.

This guide walks through how we approach these projects in Sigmato’s chatbot development practice: the architecture, the build steps, the metrics that matter and what it costs.

Off-the-Shelf vs Custom AI Chatbot

Off-the-shelf bots suit simple FAQ deflection; a custom build pays off when the bot must take actions, follow complex policies or integrate with internal systems. Many helpdesk platforms now include an AI agent add-on, and for a small team with a tidy help center that may be enough.

A custom chatbot makes sense when you need any of the following: lookups in your own order, booking or account systems; actions such as rescheduling, cancelling or issuing a return label; strict control over tone, escalation rules and data storage; support across web, mobile app and messaging channels from one brain; or predictable costs at high conversation volumes.

The Architecture of a Support Chatbot

A production support chatbot has six components: channels, an orchestration layer, a language model, a retrieval layer, tool integrations and a handoff path to humans.

  • Channels: a web chat widget, in-app chat in your iOS and Android apps, and messaging channels such as the WhatsApp Business Platform.
  • Orchestration backend: manages conversation state, authentication, prompts, guardrails and logging. We commonly build this in Node.js or Python.
  • Language model: a hosted LLM via API, or a self-hosted open-weight model where data residency demands it.
  • Retrieval (RAG): your help articles, policies and product data indexed so the bot answers from approved sources. Our article on RAG vs fine-tuning explains why retrieval is usually the right foundation.
  • Tools: secure API calls to your order system, CRM, booking engine or billing platform, so the bot can check status or take approved actions.
  • Human handoff: integration with your helpdesk so that escalated chats arrive in the agent queue with the full transcript and a summary.

Custom AI Chatbot Development in 7 Steps

A first production chatbot typically takes 8 to 14 weeks, following the seven steps below.

  1. Analyze your tickets. Export three to six months of conversations and group them by intent. Usually a small number of intents, such as order status, returns, password resets and billing questions, makes up most of the volume. These become the bot’s first scope.
  2. Fix the knowledge base. Outdated or contradictory help articles produce wrong answers. Assign an owner to review and update the top articles before launch.
  3. Design the conversation. Define tone, greeting, what the bot will and will not do, how it confirms actions and exactly when it escalates (for example, complaints, legal threats, vulnerable customers or two failed attempts).
  4. Build retrieval and integrations. Index content, connect read-only APIs first, then add write actions with confirmation steps and limits, such as refunds only below a set amount.
  5. Add guardrails. Restrict the bot to support topics, defend against prompt injection, mask personal data in logs and block responses that make commitments outside policy.
  6. Test against real questions. Build an evaluation set of a few hundred real customer questions with approved answers and score every release against it.
  7. Roll out gradually. Start with a share of traffic or one channel, review transcripts daily for the first weeks, then expand.
Customer chatting with an AI support assistant on a smartphone

Choosing the Model and Hosting

For most support bots, a mid-sized hosted model with good retrieval is the right balance of quality, speed and cost. The largest models rarely improve answers to routine questions enough to justify their higher per-token price and slower responses.

A sensible pattern in custom AI chatbot development is to route requests: a small, fast model classifies intent and handles simple lookups, while a more capable model handles multi-step troubleshooting or long policy questions. Keep the model behind your own backend so you can switch providers without touching the chat widget or mobile apps. If you operate in regulated sectors or must keep data in a specific region, compare the regional hosting options offered by major cloud providers, or self-host an open-weight model in your own cloud account. Whatever you choose, log prompts, retrieved sources and responses (with personal data masked) so every answer can be traced and debugged later.

Designing the Human Handoff

A good handoff is what separates a helpful bot from a frustrating one: customers should always be able to reach a person, and should never have to repeat themselves. Practical rules we apply:

  • Offer a visible “talk to a person” option at any point.
  • Pass the transcript, detected intent, customer ID and a short summary to the agent.
  • Outside staffed hours, create a ticket and tell the customer when to expect a reply.
  • Escalate automatically on negative sentiment or sensitive topics.

Metrics That Show Whether Your Chatbot Works

Measure resolution quality, not just conversation volume. These are the KPIs we put on the dashboard from day one:

MetricWhat it tells you
Containment rateShare of conversations resolved without an agent
Verified resolutionShare of contained chats where the customer did not come back with the same issue within a few days
CSAT for bot conversationsCustomer satisfaction compared with agent-handled chats
Answer accuracyScore on your evaluation set and on weekly transcript samples
Handoff qualityAgent rating of the summaries they receive
Cost per resolved conversationModel, hosting and maintenance cost divided by resolutions
Track these weekly for the first three months after launch.

How Much Does a Custom AI Chatbot Cost?

As an indicative guide, a custom support chatbot costs from about $15,000 for a focused knowledge-base bot to $80,000 or more for a multi-channel assistant with several system integrations and actions. Final quotes depend on scope.

  • FAQ and knowledge-base bot (about $15,000 – $30,000): web widget, RAG over help content, handoff by ticket.
  • Integrated support assistant (about $30,000 – $60,000): authenticated users, order or account lookups, live helpdesk handoff, analytics.
  • Multi-channel, action-taking assistant (about $60,000 – $80,000+): web, app and messaging channels, write actions, multiple languages, advanced guardrails.

Running costs include model usage (billed per token), hosting, monitoring and ongoing content updates. For a fuller breakdown, see our guide to AI app development cost.

Privacy and Compliance Considerations

Support conversations contain personal data, so the chatbot must be built to the same standard as your other customer systems. If you serve customers in Europe or the UK, the GDPR requires a lawful basis, transparency and data minimization; tell users they are talking to an AI and explain how transcripts are used. Use model providers’ business terms that exclude training on your data, set retention periods for transcripts and restrict who can read them. The OWASP Top 10 for LLM Applications is a useful checklist for threats such as prompt injection and sensitive data disclosure.

Frequently Asked Questions

How long does it take to build an AI chatbot for customer service?

A focused knowledge-base bot can launch in 6–8 weeks. An integrated assistant with account lookups, actions and helpdesk handoff usually takes 10–14 weeks.

Will an AI chatbot replace my support agents?

It typically absorbs repetitive questions so agents can focus on complex, sensitive and high-value conversations. Most teams redeploy capacity rather than cut it, and agents remain essential for escalations.

How do you stop the chatbot giving wrong answers?

Ground answers in approved content, instruct the bot to say when it does not know, restrict it to support topics, test against a set of real questions before every release and review transcripts regularly.

Can the chatbot work in multiple languages?

Yes. Modern language models handle many languages well, and the bot can answer in the customer’s language from English source content. Test each language with native speakers before launch.

Build a Support Chatbot Your Customers Will Actually Use

Sigmato designs and builds custom chatbots, connects them to your helpdesk and business systems, and embeds them in AI-powered mobile and web apps. Share a sample of your support tickets and we will tell you what a bot could realistically resolve.

Sources and References

Sigmato Editorial Team

Written by

Sigmato Editorial Team

The Sigmato Editorial Team is made up of software engineers, UI/UX designers and AI specialists at Sigmato Solutions Pvt Ltd in Bengaluru, India and the UK. We write practical guides on web, mobile, cloud and AI development, drawing on the products we design and build for startups and enterprises worldwide.

Last updated 9 November 2026 · Talk to our team