Tutorial
Advanced Workflow Automation in EzyConn
Editorial Team12 min readUpdated

Moving beyond simple Q&A. Building complex decision trees and external API integrations.
Why Simple Q&A Hits a Ceiling
A knowledge-base bot answers questions, and that gets you surprisingly far. Pricing, policies, how-to guides, and store hours cover most of the routine queue. But sooner or later a customer asks for something that needs an action, not an article. "Where's my order?" needs a lookup against your order system. "Cancel my subscription" needs a billing change. "Book me a demo" needs a calendar write.
That gap is where workflow automation lives. In EzyConn, a workflow is a decision tree the bot walks through: it checks conditions, calls external APIs, and takes different paths depending on what it finds. The AI handles the conversation. The workflow handles the logic.
The Three Building Blocks of a Chatbot Workflow
Every workflow, no matter how elaborate, is made of the same three parts:
- Triggers: what starts the flow. An intent ("refund"), a keyword, the page the visitor is on, or an event like a form submission.
- Conditions: the branches. Is the order older than 30 days? Is this a paying customer? Did the API return a tracking number?
- Actions: what actually happens. Send a reply, call an API, create a ticket, tag the conversation, or hand off to a human with full context attached.
You chain these visually in EzyConn's no-code builder, so a support lead can ship a new flow without waiting on engineering. The flows sit on top of the same AI that answers free-form questions, which means a customer can wander off-script mid-flow and the bot still copes.
Building Decision Trees That Don't Collapse
The classic failure mode is the 40-node tree nobody can maintain. Six months in, half the branches are dead and the person who built it has left. A few rules keep trees healthy:
- Keep depth under five levels. If a flow needs more, it's really two flows. Split it.
- Every branch needs an exit to a human. A dead end in a decision tree is a lost customer. Wire an escape hatch on every node.
- Let the AI write the leaves. Use the tree for logic (eligibility checks, routing, data collection) and let the model handle the actual replies. Hard-coded copy at every node is what made 2019-era bots so brittle.
- Review the drop-off report monthly. The node where people abandon is the node with the confusing question.
Connecting External APIs
API steps are what turn a chatbot into something that resolves tickets instead of describing how tickets get resolved. Typical connections: a REST call to your order system, a CRM update when a lead qualifies, a Slack or Microsoft Teams notification to the right channel, or a calendar booking.
Three practical notes from flows we've watched in production. First, set timeouts and a fallback reply; when the order API is slow, "I'm checking on that, one moment" beats a silent spinner. Second, scope credentials tightly: the refund step should not carry an admin token. Third, log every call, because when a customer disputes what the bot did, the audit trail settles it in seconds.
"The teams that get real leverage out of a chatbot are rarely the ones with the fanciest model. They are the ones who wired three boring API calls into a single flow and let it close the ticket without a human ever touching it."
A Worked Example: Automating Return Requests
Say your store gets 1,200 return-related chats a month, and each one costs an agent about 8 minutes. That's 160 agent-hours on a single intent. A return workflow handles it like this:
- Trigger: the visitor's message matches the return intent.
- The bot asks for the order number and calls your order API.
- Condition: purchased under 30 days ago and not a final-sale item? Generate the return label and email it. Done in about 90 seconds.
- Outside the window? Explain the policy, offer store credit, and route to a human only if the customer pushes back.
One workflow returned 120 agent-hours a month
Based on 1,200 monthly return chats at 8 minutes each, with 75 percent automated end to end
Teams running this pattern typically automate 70 to 80 percent of return chats end to end. On the numbers above, that's roughly 120 agent-hours a month back, from one workflow. Multiply across your top five intents and the case makes itself. You can check what that costs on our pricing page; the free plan (2 seats, 500 messages a month) is enough to pilot the Q&A side before you build flows.
Rules that keep a flow alive past month six
- Start with one high-volume intent. Returns, order status, or booking. Prove it, then expand.
- Trees route, AI talks. Use branches for logic and the model for language.
- Always leave a door to a human. Automation that traps people costs more than it saves.
Ship one flow before you plan ten
Pick your single highest-volume intent, returns, order status, or booking, and build one flow that resolves it end to end. Keep the tree shallow, let the model write the actual replies, log every API call so disputes are settled in seconds, and put a human exit on every branch. Prove that one flow pays for itself in agent-hours, then copy the pattern across your next four intents. That is the whole playbook; the teams that stall are the ones who try to map forty branches before they have shipped one.
Related resources
Try it against your own questions.
The free tier needs no card. Point it at your own content and ask it something only your documentation answers.