Chatbot workflow: how to design one that resolves tickets

Alicia Kirana Utomo
Written by

Alicia Kirana Utomo

Katelin Teen
Reviewed by

Katelin Teen

Last edited July 6, 2026

Expert Verified
Abstract flow diagram of a support conversation moving through decision steps

What a chatbot workflow actually is

Strip a chatbot down and you're left with two things: a conversational interface, and the logic underneath that decides what happens next. That logic is the workflow, and it's the real engine behind any customer service AI. Tidio puts it plainly in their conversation flowchart guide: chatbots are "little more than decision tree diagrams equipped with a conversational user interface."

That's true of the shape of a workflow, but the interesting part is what fills each node. A workflow isn't just "if the user clicks A, go to B." A good one has to understand a message it's never seen, find the right answer in a knowledge base, and know the difference between a question it can safely close and one it should never touch. The map is the easy part. The judgement inside each step is where a chatbot workflow succeeds or fails.

Here's the whole thing at a glance, then I'll walk each stage.

The six stages of a support chatbot workflow, from trigger to resolve or escalate
The six stages of a support chatbot workflow, from trigger to resolve or escalate

The six stages of a support chatbot workflow

Almost every support chatbot workflow, rule-based or AI, moves through the same six stages. Naming them makes it obvious where yours is thin.

  1. Trigger. Something kicks the workflow off: a customer opens the chat bubble, sends an email, messages on WhatsApp, or a new ticket lands in the helpdesk. The trigger also carries context you'll want later, like the channel, the customer's order history, or which page they were on.
  2. Understand intent. The bot works out what the person actually wants. A rule-based flow does this with buttons and keywords; an AI workflow reads the free text directly, so "my parcel still hasn't turned up" and "where's my order" both land on the same intent without you scripting either phrasing.
  3. Retrieve knowledge. The bot looks up the answer, from a help center, past tickets, internal docs, or a live system like an order database. This is the stage most demos skip and most real workflows live or die on: a bot with no grounding just makes things up.
  4. Decide and branch. With intent and an answer in hand, the workflow chooses a path: answer directly, ask a clarifying question, take an action, or escalate. This is the brain of the workflow, and it's where the confidence check belongs.
  5. Take action. For simple questions the "action" is just replying. For real resolutions it's doing something: looking up an order, issuing a refund, tagging and routing the ticket, updating a field. A workflow that can only talk, never act, caps out at deflection and never reaches resolution.
  6. Resolve or escalate. The conversation ends one of two ways: the bot resolves it, or it hands off cleanly to a human with the full context attached. A handoff that dumps the customer into a fresh queue to re-explain everything isn't a handoff, it's a punishment.

Here's what stages 2 through 6 look like inside a real product rather than on a diagram: the customer asks, the agent answers from connected knowledge, and the moment it can't help it offers a human.

An eesel AI chat conversation answering a customer question, as taken from eesel
An eesel AI chat conversation answering a customer question, as taken from eesel

I watched this exact arc play out on a live SEO tool's website chat recently: the bot answered two how-to questions from the docs, and the instant the user typed "can I talk to a human?", it handed off without hesitation. That clean deflect-then-handover is what a healthy workflow looks like in the wild, and it's the pattern worth designing toward.

Rule-based vs AI-agent workflows

The biggest decision you'll make isn't a stage, it's which kind of workflow you're building. The two look similar on a whiteboard and behave nothing alike in production.

Rule-based flow as a rigid decision tree ending in a dead end, versus an AI-agent flow that understands, acts, and escalates
Rule-based flow as a rigid decision tree ending in a dead end, versus an AI-agent flow that understands, acts, and escalates

A rule-based workflow is a decision tree you draw by hand. It's predictable and cheap to reason about, and for a narrow, high-volume flow ("check my order status" behind three buttons) it's genuinely fine. The trap is everything off-script, and the maths is brutal: Tidio points out that a "simple" tree of just seven yes/no questions already branches into 128 possible scenarios, which is why their own rule is "one decision bot, one topic." Push past that and the customer types something you didn't anticipate and the bot has nowhere to send them, the classic flowchart dead-end. You end up maintaining an ever-growing tree, adding branches every time a new phrasing shows up, and it still can't keep pace with how people actually write.

An AI-agent workflow inverts the effort. Instead of you enumerating every path, the agent reads intent from free text, retrieves the answer from your knowledge, and decides what to do, including recognizing when it's out of its depth. You're no longer drawing branches; you're setting guardrails.

Rule-based workflowAI-agent workflow
How paths are definedYou draw every branch by handGenerated from intent + knowledge
Off-script messagesDead-end or fallback loopUnderstood and handled
Knowledge sourceHard-coded answersHelp docs, past tickets, live systems
Can take actionsOnly what you scriptedOrder lookups, refunds, tagging, routing
MaintenanceGrows with every new phrasingRe-train on new docs and tickets
Best forNarrow, fixed, high-volume flowsBroad, messy, real-world support

This isn't a "rules are dead" argument. Plenty of good workflows use rules for the deterministic bits (business hours, a required order number) and hand the fuzzy language understanding to AI. But if you're building a support workflow expecting to handle the full range of what customers write, a pure decision tree will fight you forever. It's the same reason teams move off scripted bots toward a real AI agent as volume grows.

The two decision points that actually matter

Once an AI is doing the language understanding, your design work collapses onto two questions: when should the bot act on its own, and when should it get out of the way? Get these right and the rest of the workflow mostly takes care of itself.

Route on confidence, not keywords

The single most-requested control I hear from support teams is confidence-based routing: let the bot handle only what it's sure about, and leave the rest alone. One CX lead at a DTC supplements brand, running around 7,000 tickets a month on Gorgias, put the fear better than I could. The AI will never answer 100% of questions, she told me, and if it just replies "sorry, I don't know this," she can't go back and check 7,000 tickets to see whether it actually helped. What she wanted was an AI that "is only handling the tickets that it's confident to handle, and all the other ones, leave them alone."

That's the whole case for scoring confidence at the decide-and-branch stage. A workflow that answers everything is a workflow that will confidently get things wrong. A workflow that scores its own certainty can auto-resolve the easy tickets, draft a reply for a human on the medium cases, and never touch the ones it doesn't understand.

A confidence score routing a conversation into auto-resolve, draft for a human, or hand off to a human
A confidence score routing a conversation into auto-resolve, draft for a human, or hand off to a human

This is also your best defense against hallucination. Instead of hoping the model behaves, you set a floor: below a threshold, the bot drafts rather than sends, or escalates rather than guesses. The intent confidence threshold is a real dial in mature tools, not an abstraction.

Design the escalation, don't bolt it on

The other decision point is the human handoff, and it deserves as much design as the happy path. I hear the goal stated almost identically across sales calls: one support manager at a bus-tracking service, handling 200-250 Zendesk tickets a month, wanted an agent that could "handle 60% of the incoming Zendesk tickets and know when to pull a real person in for better analysis and resolution." The "know when to pull a real person in" half is the important half.

A good escalation carries the full conversation, the customer's context, and the bot's best guess at the issue straight to the right human or queue, so nobody re-explains anything. This is why mature builders treat the handoff as a terminal step with real payload attached: in Zendesk's AI agent builder, "transfer to agent" is an end step that silently creates a ticket carrying the whole conversation history the customer never sees. eesel does the same by leaving a drafted reply and context as an internal note, or handing off to the helpdesk, depending on how you've set it up.

eesel AI leaving a suggested reply and context inside the helpdesk, as taken from eesel
eesel AI leaving a suggested reply and context inside the helpdesk, as taken from eesel

You also want control over what the bot is allowed to touch. Real teams ask for this constantly ("there are certain tickets I don't want to go through AI"), and a workflow that can't exclude a ticket type or only act when explicitly invoked isn't ready for a live queue. Escalation isn't a fallback; it's a first-class branch. Our full take on AI agent escalations goes deeper on the mechanics.

Common chatbot workflow mistakes

Customers can describe a broken workflow better than any spec. One r/automation thread nailed the symptoms:

"the tells: loop you back to FAQ, ask you to rephrase (3 times), refuse to escalate. the fix isn't a smarter chatbot. it's a chatbot that knows when to hand off."

Most broken workflows fail the same handful of ways. Watch for these:

  • Dead-ends. The rule-based classic. Every path should lead somewhere, even if "somewhere" is a human. If a branch can trap a customer with no way forward, it's a bug.
  • Over-automation. Letting the bot answer everything to chase a deflection number. This is how you get confident wrong answers at scale. Cap the bot to what it's confident about.
  • No knowledge grounding. A workflow with a great decision tree and nothing to retrieve from will improvise, and improvised support answers are how you end up in a screenshot on social media. Ground every answer in real docs and past tickets.
  • Escalation as an afterthought. Handing off to a cold queue where the customer re-explains everything. Carry the context.
  • Shipping it blind. Turning a workflow loose on live customers without ever testing it against the messages it'll actually get. Which brings us to the last, and most-skipped, step.

Test the workflow before it goes live

Here's the part almost nobody does, and the reason I build it into every rollout: run the workflow against your real historical tickets before it talks to a customer. I learned this the hard way, watching a confident-sounding bot quietly give wrong answers, so now the first thing any new agent does is a simulation over past tickets, not a live conversation.

A simulation replays thousands of your closed tickets through the workflow and shows you exactly what it would have said, what percentage it would have resolved, and which themes it's weak on, all before it's live. You find the gaps, add the missing docs, adjust the confidence threshold, and re-run. It turns "we hope this works" into a number you can point at, which is roughly the difference between a workflow you trust and one you're nervous about every morning.

eesel AI simulation and natural-language configuration, as taken from eesel
eesel AI simulation and natural-language configuration, as taken from eesel

The payoff of a tested workflow shows up fast. Gridwise had eesel resolving 73% of its tier-1 requests in the first month, with results visible during a 7-day trial. Smava runs a fully automated agent over 100,000+ German tickets a month. Neither of those numbers comes from a lucky prompt; they come from a workflow that was tested against real tickets before it shipped.

Try eesel for your chatbot workflow

If you've read this far, you can see the work a chatbot workflow demands: mapping stages, grounding answers, tuning confidence, designing escalation, testing it all. eesel does that work for you. You connect your helpdesk and docs, it builds the workflow from your past tickets and knowledge on day one, you configure when it jumps in and how it hands off in plain language, and you simulate the whole thing against historical tickets before a single customer sees it.

It plugs into Zendesk, Freshdesk, Gorgias, Slack, Shopify, Confluence and 100+ other tools, works across 80+ languages out of the box, and is usage-based at $0.40 per ticket with no per-seat fee. That model tends to work out cheaper than headcount once you run the numbers. You can watch a workflow run live inside your helpdesk:

eesel AI working inside Zendesk in action

The fastest way to see whether a chatbot workflow fits your queue is to run one against your own tickets. That's a free trial, no card, and the simulation tells you your real resolution rate before you commit to anything.

Frequently Asked Questions

What is a chatbot workflow?
A chatbot workflow is the logic a support bot follows from the moment a conversation starts to the moment it resolves or hands off: it detects intent, looks up an answer, decides what to do, takes an action, and escalates when it's unsure. You can read it as the map of every path a conversation can take. A modern AI support agent generates most of that map from your past tickets instead of asking you to draw it by hand.
How do I design a chatbot workflow for customer support?
Start from your most common ticket types, define what a good resolution looks like for each, then map the trigger, the knowledge the bot needs, the decision points, and the escalation path. Test it against historical tickets before going live. My guide to the best customer service AI walks through what to look for in the tool that runs it.
What is the difference between a rule-based chatbot workflow and an AI chatbot workflow?
A rule-based chatbot workflow is a fixed decision tree: the bot only handles the paths you drew, and anything off-script hits a dead end. An AI chatbot workflow reads free-text intent, pulls answers from your knowledge base, and takes actions, so it handles phrasing you never scripted. See how the two compare on the Tidio AI agent and Gorgias AI Agent.
How does a chatbot workflow decide when to escalate to a human?
The best chatbot workflows escalate on a confidence score, not a keyword. When the bot's answer falls below a threshold, it hands off to a human instead of guessing. That is the single most-requested control I hear from support teams. Here's how escalations work in a Zendesk AI agent.
How much does it cost to run an AI chatbot workflow?
It depends on the pricing model. eesel is usage-based at $0.40 per ticket or chat handled, with no per-seat fee and no platform minimum, so the cost of your chatbot workflow scales with volume rather than headcount. See the full eesel pricing and my breakdown of how much AI can save in support.

Share this article

Alicia Kirana Utomo

Article by

Alicia Kirana Utomo

Kira is a writer at eesel AI with a Computer Science background and over a year of hands-on experience evaluating AI-powered customer service tools. She focuses on breaking down how helpdesk platforms and AI agents actually work so that support teams can make better buying decisions.

Related Posts

All posts →
Illustration of the Freshdesk Freddy AI agent resolving customer support tickets
Customer Service

Freshdesk AI agent: what Freddy AI Agent does, costs, and limits in 2026

A clear-eyed look at the Freshdesk AI agent (Freddy AI Agent): what it does, how to set it up, what the session pricing really costs, where it falls short, and the alternatives worth a look.

Alicia Kirana UtomoAlicia Kirana UtomoJun 11, 2026
A branching chatbot conversation flow diagram with a confidence-based handover gate
Customer service

Chatbot conversation flow template: 6 flows to copy in 2026

Six copy-ready chatbot conversation flow templates for support, plus the one framework behind all of them and where scripted flows quietly break.

Riellvriany IndriawanRiellvriany IndriawanJul 6, 2026
Illustration of a WhatsApp chatbot answering customer messages for a business
Customer Service

WhatsApp chatbot for business: a practical 2026 guide

How a WhatsApp chatbot for business actually works in 2026, what the Business Platform really costs, what to automate, and how to set one up in minutes.

Riellvriany IndriawanRiellvriany IndriawanJul 5, 2026
A support agent and an AI assistant resolving customer tickets together
customer-service

AI chatbot automation for support: a practical guide

How AI chatbot automation for support actually works, what it can and can't handle, how to roll it out without breaking trust, and what it really costs.

Riellvriany IndriawanRiellvriany IndriawanJul 4, 2026
Illustration of AI sorting incoming support tickets by urgency into a routed queue
Customer Service

How to prioritize support tickets with AI

A practical, step-by-step guide to prioritizing support tickets with AI: classify, score by urgency and impact, route automatically, and prove it works.

Riellvriany IndriawanRiellvriany IndriawanJun 23, 2026
Illustration of a Zendesk AI chatbot resolving a customer conversation with chat bubbles and a support agent
Customer Service

The Zendesk AI chatbot: a complete 2026 guide to setup, pricing, and limits

What the Zendesk AI chatbot actually is in 2026, how to set one up step by step, what it really costs per resolution, and where it falls short.

Alicia Kirana UtomoAlicia Kirana UtomoJun 13, 2026
Illustration of AI handling text-message customer support conversations
customer-service

The best AI for SMS support in 2026

I compared the best AI for SMS support in 2026 across 8 tools, with real pricing, the hidden carrier-fee cost, and who each one is actually for.

Rama Adi NugrahaRama Adi NugrahaJun 23, 2026
Illustration of live chat triggers firing proactive messages on a website
Customer Service

Live chat triggers: a practical guide with examples (2026)

What live chat triggers are, how to set them up, and the trigger rules that actually help customers instead of annoying them. With real examples.

Riellvriany IndriawanRiellvriany IndriawanJul 6, 2026
A support agent's inbox where one buying-intent conversation is flagged and routed to a sales rep
Customer Service

AI lead qualification for support: catch the leads hiding in your inbox

Some of your best sales leads are sitting in the support inbox marked as tickets. Here's how AI lead qualification for support finds them and routes them to sales.

Kurnia Kharisma Agung SamiadjieKurnia Kharisma Agung SamiadjieJun 23, 2026

Ready to hire your AI teammate?

Set up in minutes. No credit card required.

Get started free