What is Workforce?
Workforce allows you to create a multi-agent workflow where multiple AI voice agents work together to handle different parts of a conversation. Instead of building one large agent that handles every possible scenario, Workforce lets you connect multiple specialized agents together. Each agent focuses on a specific task, and conversations move between them based on defined conditions. For example:- A Greeting Agent that welcomes the user and gathers basic information
- A Support Agent that answers product questions
- A Cancellation Agent that handles refund or cancellation requests
Why Use Workforce?
A single agent managing too many tasks can become:- Hard to maintain
- Difficult to debug
- Less reliable in complex scenarios
- Modular Design: Each agent handles a specific responsibility.
- Better Maintainability: Update one agent without affecting others.
- Scalable Workflows: Add new agents as your use case grows.
- Smarter Routing: Conversations move automatically between agents based on conditions.
Key Concepts
Workforce Canvas
The Workforce Canvas is the visual workspace where you design your multi-agent flow. On the canvas you can:- Add agents
- Connect agents together
- Define conditions for transferring conversations
Agent Nodes
Agent nodes represent the individual AI agents that handle conversations. Each agent performs a specific role in the workflow. Agents added to the workforce are imported from your existing agent library.Edges (Connections)
Edges connect agents together and define how conversations move from one agent to another. Each connection can include a condition that determines when the handoff should occur.Trigger Node
The Trigger Node is the starting point of the workforce. As of now, every workforce begins with an Outbound Call Trigger that is automatically added to the canvas when the workforce is created. This trigger represents the starting point of the workflow. From this node, you can connect the first agent that should handle the conversation.A. Creating a Workforce
- Navigate to Build -> Workforce section in the platform.
- Click + Workforce button.
- You will be asked to provide the name and description.
- After entering the details, click Create.
- You will be redirected to the Workforce Canvas.
B. Adding Agents to the Workforce
Agents used inside a workforce are imported from your existing agent library.How to Import an Agent
- On the Workforce Canvas, select the option to add an agent.
- Select an agent from your agent library.
- Confirm the selection.
Linked Agent Behavior
Agents imported into a workforce are linked to the original agent in the Manage Agents library. This means:- The agent configuration cannot be edited from the workforce canvas.
- Changes made to the agent in the Manage Agents page will automatically apply to all workforces where the agent is used.
Editing an Imported Agent
To modify the agent configuration:- Navigate to Manage Agents.
- Open the agent.
- Make the required changes.
- Save the agent.
C. Connecting Agents
Agents must be connected together to define how conversations move through the workflow.Creating a Connection
- Drag a connector from Agent A to Agent B.
- A connection will be created between the two agents.
D. Conditional Handoff Between Agents
Conditional handoff allows conversations to move between agents when specific conditions are met. These conditions are written in natural language.How to Configure a Conditional Handoff
- Drag a connector from Agent A to Agent B.
- A label saying Add condition appears on the connection.
- Click the label.
- A configuration sidebar opens.
- Enter the condition and edge label.
- Save the configuration.
Example Conditions
Examples of natural language conditions include:- “User asks for a supervisor”
- “User wants to cancel the appointment”
- “Sentiment is negative and the user mentions cancel”
How the Handoff Works During a Call
If the condition defined on the connection is met during the conversation:- The conversation will automatically transfer to the next agent.
- The transfer will not occur.
Data Passed During Handoff
When a conversation is transferred between agents, the system passes the complete context to the next agent, including:- Conversation transcript
- Structured data extracted during the call
- Session context
Best Practices
Use Specialized Agents
Each agent should handle a specific responsibility. Avoid building agents that handle too many tasks. Example:- Greeting Agent
- Support Agent
- Cancellation Agent
Write Clear Handoff Conditions
Use clear and specific conditions when defining agent transitions. Examples:- “User wants to cancel subscription”
- “User requests appointment rescheduling”
- “User asks to speak to supervisor”
Reuse Agents Across Workforces
If multiple workflows require the same agent behavior, reuse the same agent by importing it into different workforces. Any improvements made to that agent will automatically apply everywhere it is used.Summary
The Workforce feature allows you to design multi-agent workflows where specialized agents collaborate to handle conversations. With Workforce you can:- Create workflows composed of multiple agents
- Visually design conversation flows
- Transfer conversations between agents based on conditions
- Reuse agents across multiple workflows