Skip to main content
General

Shipping a Production Chatbot: An End-to-End Operating Manual

A

Agency Script Editorial

Editorial Team

March 3, 2016·8 min read
ai chatbot development platformsai chatbot development platforms playbookai chatbot development platforms guideai tools

A playbook is different from a tutorial. A tutorial shows you how a tool works. A playbook tells you which move to make, when to make it, and who is responsible when conditions are met. For chatbot platform projects, the difference is the difference between a clever demo and a deployment that survives contact with real users.

This manual organizes a chatbot project into discrete plays. Each play has a trigger that tells you when to run it, an owner who is accountable, and a clear handoff to the next play. Run them in sequence for a new build, or jump to the play that matches your current situation.

The plays assume you have already decided a chatbot is the right tool. If you are still unsure, settle that first, because every play below costs effort that is wasted on the wrong problem.

Play One: Scope the Domain

Trigger: A stakeholder requests a bot. Owner: Product lead.

The first move is to fence the domain before anyone touches a platform. Write down what the bot will handle, what it will explicitly refuse, and what success looks like in numbers.

What to Produce

A one-page scope: the question types in bounds, the question types out of bounds, the channels, and a single success metric such as percentage of conversations resolved without escalation. This document is the contract the rest of the project answers to. If scope creeps later, it changes here first, deliberately.

The out-of-bounds list deserves as much attention as the in-bounds list. Naming what the bot will refuse to handle is what keeps it reliable, because a bot that tries to answer everything answers nothing dependably. A crisp boundary also gives the conversation designer in a later play a clean rule for when to escalate. Spend real time here; every downstream play is cheaper when the scope is sharp.

Play Two: Select the Platform

Trigger: Scope is signed off. Owner: Technical lead.

Now you choose tooling against the scope, not against a wish list. Run the same three representative questions, using your own content, through each finalist.

The Decision Criteria

Score on retrieval quality, model flexibility, integration depth, observability, and exportability. Reject any platform that cannot export your flows, knowledge base, and transcripts. The bundled-model convenience is fine to start, but confirm you can bring your own key later.

Play Three: Build the Knowledge Base

Trigger: Platform selected. Owner: Subject-matter owner.

The bot is only as good as what it can retrieve. This play assembles and structures the content before any conversation design happens.

How to Structure It

Break content into focused, self-contained chunks. Remove duplicates and contradictions, because the retriever cannot resolve them. Establish an update cadence now, since stale content is the most common cause of a bot going quietly wrong.

A useful test during this play is to take ten real questions from your scope and confirm the knowledge base actually contains the answer to each, in a form a retriever can find. Gaps you discover here are cheap to fix. The same gaps discovered after launch are public failures. This play is where you trade a few hours of content work for weeks of avoided firefighting.

Play Four: Design the Conversation and the Exits

Trigger: Knowledge base is loaded. Owner: Conversation designer.

Design the failure paths before the happy path. Decide how the bot greets, how it asks for clarification, and exactly how it escalates when it cannot help.

Guardrails to Set

Instruct the model to ground answers in retrieved content and to admit uncertainty rather than guess. Define the escalation handoff explicitly: to a human, a form, or a labeled dead end. Surface sources so users can verify answers themselves.

The escalation design is where most bots are won or lost in the user's mind. A bot that cannot help but exits gracefully, handing the user to a human with context already attached, leaves a neutral or even positive impression. A bot that loops, insisting it can help while plainly failing, leaves a bad one that colors the whole brand. Spend real design effort on the unhappy paths. They are more common than the demo suggests and more memorable than the smooth ones.

Play Four-and-a-Half: Set Up Observability

Trigger: Conversation design is drafted. Owner: Technical lead.

Before any real user touches the bot, make sure you can see what it does. A bot you cannot observe is a bot you cannot improve.

What to Instrument

Capture full transcripts, the retrieved content behind each answer, the escalation events, and the points where users abandon. Without these, every later improvement is guesswork. With them, the weekly review in the final play becomes a precise diagnostic. Observability is cheap to add before launch and expensive to retrofit after, so build it in now rather than wishing for it later.

Play Five: Adversarial Testing

Trigger: A working draft exists. Owner: QA lead.

Before launch, attack the bot. Feed it ambiguous phrasing, out-of-scope requests, hostile tone, and questions just outside the knowledge base.

What to Capture

Log every failure and categorize it: fabrication, wrong retrieval, broken escalation, or tone failure. Fix the categories, not the one-off cases. A bot that handles your fifty nastiest test inputs gracefully is ready for the public.

Keep the test set as a permanent artifact. The same inputs run again before every future change, which turns testing from a one-time event into a safety net you can rely on indefinitely. A regression that would have embarrassed you in production instead fails quietly in your test run. This is the play that makes change safe, so resist the temptation to treat it as a launch formality.

Play Six: Staged Launch

Trigger: Testing passes. Owner: Product lead.

Do not open the bot to everyone at once. Release to a small segment, watch closely, then widen.

The Rollout Sequence

Start with internal users, then a small customer cohort, then full traffic. At each stage, review transcripts and the escalation rate before widening. A staged launch turns a potential public failure into a private, fixable one.

Play Seven: Operate and Improve

Trigger: Full launch is live. Owner: Operations owner.

The bot is now a living system. This play never ends.

The Operating Rhythm

Weekly, read a sample of transcripts and check resolution and escalation rates. Monthly, refresh the knowledge base and retune instructions against new failure patterns. Quarterly, revisit scope and cost at current volume. The plays loop; the work is the loop.

The weekly transcript read is the highest-value habit in the whole sequence, and the easiest to drop once the launch excitement fades. Numbers tell you that something changed; transcripts tell you what and why. A rising escalation rate is a signal, but the ten transcripts behind it reveal whether the cause is a content gap, a new kind of question, or a broken integration. Protect this habit. A bot whose transcripts go unread degrades silently, and by the time the metrics force attention, the trust is already spent.

Play Eight: Sunset or Expand Deliberately

Trigger: A quarterly review shows the bot is either underused or maxed out. Owner: Product lead.

Bots are not permanent fixtures. This play forces a deliberate decision rather than letting a bot drift.

Making the Call

If the bot is underused, decide whether to fix adoption, narrow scope further, or retire it cleanly. If it is succeeding and demand is pushing its boundaries, expand scope on purpose, running the early plays again for the new domain rather than letting scope creep in unmanaged. Either way, the decision is explicit and documented. Bots that nobody decides about become the stale, half-trusted assistants every organization eventually regrets.

Frequently Asked Questions

How long does running the full sequence take?

For a focused bot, a few weeks across the build plays, then ongoing operation indefinitely. Scope and content preparation consume more time than the platform setup.

Who owns the project overall?

A single product lead should own the outcome, with named owners for each play. Diffuse ownership is how bots drift out of scope and quietly degrade.

Can we skip adversarial testing to launch faster?

You can, and you will regret it. The failures you skip finding in testing become failures customers find in public. Staged launch limits the damage but does not replace the testing play.

What if the platform we picked turns out to be wrong?

This is why exportability is a hard criterion in Play Two. If you can export flows, content, and transcripts, switching is painful but possible. If you cannot, you are stuck, which is the outcome the criterion exists to prevent.

How do we keep the knowledge base from going stale?

Assign an owner and a cadence in Play Three and enforce it in Play Seven. Stale content is not an event; it is slow rot that you prevent with rhythm, not heroics.

Key Takeaways

  • Treat the project as named plays with triggers and owners, not a single build sprint.
  • Scope the domain in writing first; it becomes the contract every later play answers to.
  • Build and structure the knowledge base before designing conversation, and set an update cadence immediately.
  • Design exits and guardrails before the happy path, and attack the bot before the public does.
  • Launch in stages and operate on a weekly, monthly, and quarterly rhythm forever.

For the assumptions behind this manual, see What People Get Wrong About Chatbot Build Platforms and The Chatbot Platform Questions Buyers Actually Ask. To make the plays repeatable across projects, read Turning Chatbot Builds Into a Documented, Hand-Off-Ready Process. For how these plays may shift, see Where Conversational AI Tooling Is Heading Next.

A

Agency Script Editorial

Editorial Team

The Agency Script editorial team delivers operational insights on AI delivery, certification, and governance for modern agency operators.

Ready to certify your AI capability?

Join the professionals building governed, repeatable AI delivery systems.

Explore Certification