Creating a New Workflow
Name Your Workflow
Give it a descriptive name:
- Good: “Refund Request Handler”, “Order Status Lookup”
- Avoid: “Workflow 1”, “New Workflow”
Using the Workflow Builder
The Canvas
The main area where you build your workflow:- Drag nodes to position them
- Click nodes to select and configure
- Drag from outputs to create connections
Node Palette
Available nodes you can add:- Action — Execute tools and operations
- Decision — Branch based on conditions
- AI Decision — LLM-based branching
- AI Extract — Extract data with AI
- Respond — Send messages
Properties Panel
Configure the selected node:Adding Nodes
Action Nodes
Execute a tool or operation:Decision Nodes
Branch based on conditions:AI Decision Nodes
Let the LLM make a judgment call:Write Prompt
Describe what the AI should evaluate (e.g., “Is the customer satisfied with the resolution?”).
AI Extract Nodes
Extract structured data from conversation:Respond Nodes
Send a message to the customer:Connecting Nodes
Creating Connections
- Click and drag from a node’s output port
- Drop on another node’s input port
- The connection is created
Connection Rules
- Every node (except Start) needs at least one input connection
- Decision nodes have multiple output ports (one per branch)
- Action nodes have Success and Failure outputs
Configuring Inputs
Variable Mapping
Map data between nodes using the properties panel: Available sources:| Source | Description | Example |
|---|---|---|
| Conversation | Data from the message | conversation.latest_message |
| Previous node | Output from earlier nodes | extract_order.order_id |
| Static value | Hardcoded value | "pending" |
Testing Workflows
In the Builder
- Click Test in the builder
- Enter test inputs
- Run the workflow
- See which path was taken and outputs at each step
In Playground
- Assign the workflow to an agent
- Test in Test → Playground
- Conversation-level testing with full context
Publishing Workflows
Workflows start as drafts. To make available to agents:- Click Publish in the builder
- Confirm the publication
- Workflow is now available for agent assignment
You can continue editing a published workflow. Changes create a new draft that must be published to take effect.
Best Practices
Design
- Start simple — Build the happy path first, then add branches
- Name clearly — Use descriptive names for nodes and variables
- Group logically — Organize related nodes spatially
Testing
- Test each branch — Ensure all paths work correctly
- Test edge cases — What happens with missing data?
- Test failures — How does the workflow handle errors?
Maintenance
- Document decisions — Add notes explaining complex logic
- Version carefully — Test changes before publishing
- Monitor execution — Check run history for issues