Multi-Agent AI Setup (Step by Step)
Build a team of specialist AI agents — sales, lead qualification, onboarding, support — that share your knowledge, take real actions, transfer chats between themselves and hand over to your team.
One all-purpose AI agent gets hard to control as your business grows. A better setup is a small team of specialist agents, each with one job, a clear prompt and only the actions it needs. Wably routes every message to the right specialist, and agents can pass the chat to each other.
This guide walks through a complete setup. The example uses a software business, but the same pattern works for clinics, shops, institutes and agencies.
The plan#
| Agent | Handles | Example actions |
|---|---|---|
| Sales | What you offer, features, prices, plans, buying | Add label Interested Lead, save chosen plan |
| Lead Qualification | Demo requests, large or custom enquiries | Save name, business, email, preferred time; add Qualified Lead; assign team |
| Onboarding | New customers getting started | Add Onboarding Needed, step-by-step guidance |
| Support | Problems, billing, refunds, complaints | Add Support Needed, save the issue, assign team, mark solved |
Step 1 — Prepare shared resources#
Create these before the agents, so you can pick them from the action list:
- Knowledge — your FAQs, prices and policies in one knowledge set (see Train Your AI Agent). Put business facts here, not in the prompt.
- Labels — e.g.
Interested Lead,Demo Requested,Qualified Lead,Support Needed(Subscriber Manager → Manage → Labels). - Custom fields — e.g.
lead_name,business_name,lead_email,preferred_demo_time,support_issue(Subscriber Manager → Manage → Custom Fields). - Bot flows the AI may start — e.g. an appointment flow.
- A team role for human handoff (Control Panel → User Permission), with at least one team member.
Step 2 — Create each agent#
Open Chatbot Manager → your number → AI → Agents → Create Agent and fill in:
- Name and Description — what this agent does.
- Status — Active.
- System Prompt — its role, tone, rules and actions (template below).
- Knowledge Set — Select Existing and choose your shared set.
- Save Agent, then test it before creating the next one.
Creating an agent does not put it live. It only answers customers after you add it to Active Agents in Step 3.
Actions you can use#
Type ## in the System Prompt and choose from the list. After an action, pick its value (label, field, team, agent) from the list — don't type IDs by hand.
| Action | Use it to |
|---|---|
##add_label## / ##remove_label## |
Tag the customer |
##save_custom_field## |
Save a detail the customer gave |
##assign_sequence## / ##remove_sequence## |
Start or stop a follow-up sequence |
##trigger_bot_flow## |
Start a keyword flow, e.g. appointment booking |
##call_http_api## |
Look up live data such as order status |
##transfer_agent## |
Pass the chat to another agent |
##assign_human_role## / ##assign_human_member## |
Hand over to a team or person |
##add_note## / ##follow_up## |
Leave an internal note or follow-up |
##mark_as_solved## |
Close the conversation when it's resolved |
| Shopify / WooCommerce actions | Get order details, recommend products, tag or cancel orders |
A prompt template#
You are the Support Agent for [Business].
YOUR ROLE: problems, billing, refunds and complaints. Stay calm and polite.
Ask only what you need, one question at a time.
REPLY STYLE: answer only what was asked, 1–3 short sentences.
KNOWLEDGE: use only the attached knowledge. Never invent prices,
refunds or results.
ACTIONS:
- Real problem → add Support Needed: ##add_label## : (pick label)
- Save a one-line summary: ##save_custom_field## : (pick field)
- Refunds, account access or asks for a person → ##assign_human_role## : (pick team)
- First-time setup, nothing broken → ##transfer_agent## : (pick Onboarding)
- Only after the customer confirms it's fixed → ##mark_as_solved##
Behaviour and rules go in the prompt; facts go in the knowledge set. Only add actions that are actually set up — an action pointing to nothing confuses the agent.
Step 3 — Switch them on and route#
Open AI → AI Configuration:
- Turn on AI Agent.
- Add all agents to Active Agents. Only active agents can be routed to or receive transfers.
- Under Agent Routing, click Add Rule once per agent and describe in plain words which messages it handles — for example "demo request, custom setup, agency, many numbers" → Lead Qualification. Make the most general agent (usually Sales) the one for greetings.
- AI Response Mode — AI Agent for All Queries when the agents are your main layer; AI as a Fallback Only if keyword menus should run first.
- Contextual Memory — on, around 10 conversations, so details carry across transfers.
- Assignment — turn on Assign to Team or Department, choose the team, and write a short assignment message.
- Business hours — set your timezone (Asia/Kolkata for India) and turn on Do Not Assign Agent in Business Off Hour so the AI keeps helping when nobody is online.
- Restricted Topics, Typing indicator, Delay and AI Reasoning Level as needed, then Save Settings.
Step 4 — Test#
| Test message | Expected agent |
|---|---|
| "What do you offer?" | Sales |
| "I want a demo" | Lead Qualification |
| "How do I connect my number?" | Onboarding |
| "Messages are not sending" | Support |
Then test a transfer (ask Sales a support question), a label being added, and a human handoff.
Troubleshooting#
| Problem | Fix |
|---|---|
| No reply | AI Agent is on, the agent is in Active Agents, settings are saved |
| Wrong agent answers | Make that agent's routing description clearer |
| Transfer doesn't happen | Both agents are active and ##transfer_agent## points to the right agent |
| Flow doesn't start | Check the ##trigger_bot_flow## mapping |
| Customer has to repeat details | Turn on Contextual Memory and set the memory window |
| Replies are too long | Add a short "reply style" rule to each prompt |
| Nobody picks up handoffs | Check the team, members, business hours and timezone |