Overview
Workflows enable you to:- Create multi-step voice interactions
- Implement conditional branching based on user input
- Integrate with external APIs and databases
- Handle complex business logic
- Build reusable workflow components
Concepts
Workflow Structure
A workflow consists of connected nodes that define the call flow:Node Types
| Node Type | Description |
|---|---|
start | Entry point of the workflow |
speak | Play TTS message or audio |
listen | Capture user speech input |
dtmf | Capture keypad input |
condition | Branch based on conditions |
api_call | Make external API requests |
set_variable | Set or modify variables |
transfer | Transfer call to another number |
end | End the call |
Endpoint
Create Workflow
Execute Workflow
Authentication
Create Workflow
Request Body
Response
Execute Workflow
Request
Response
Node Types in Detail
Speak Node
Play a message to the caller:Listen Node
Capture speech input:DTMF Node
Capture keypad input:Condition Node
Branch based on conditions:API Call Node
Make external API requests:Set Variable Node
Set or modify variables:Transfer Node
Transfer the call:Workflow Management
List Workflows
Get Workflow
Update Workflow
Delete Workflow
Get Execution Status
Response
Webhook Events
Node Executed
Workflow Completed
Error Handling
Add error handling nodes to gracefully handle failures:Best Practices
- Design for Failures: Always include error handling paths
- Keep It Simple: Break complex flows into smaller, reusable workflows
- Use Variables: Leverage variables for personalization and state management
- Set Timeouts: Configure appropriate timeouts for each node
- Monitor Executions: Track workflow performance and optimize based on data
For simpler automated calls without complex logic, see the Robo Voice Call documentation.
