Skip to main content

What is a Flow?

A Flow is a subcomponent of a conversation. If you were speaking to a friend, you might first talk about the weather, then about your day, then about your plans for the weekend. Each of these topics is a flow. In Voxworks, a Flow a consists of:
  • Steps — Individual turns of speech the assistant performs, as well as any actions the assistant takes (speak, execute logic, call tools)
  • Conditions — Rules that determine which path to take to the next step based on user responses
  • Variables — Any data that is expected to be different for each conversation, such as the participant’s first name or account number. Variables can be captured, modified, and used throughout the conversation

Flow Architecture

Voxworks uses a hierarchical flow structure:
  • Main Flow — The primary conversation path
  • Sub-Flows — Modular conversation branches that can be reused across flows
  • Steps — The individual units of work within a flow

Step Types

Flows contain four types of steps:

How Flows Execute

  1. Start — The agent begins at the main flow, step 0. If the first steps are Tool, Code or Flow steps they run while the call is connecting, and the first step that speaks becomes the opening line — see Main Flows
  2. Execute Step — The current step is executed based on its type
  3. Evaluate Conditions — For voice steps, user response determines the next path
  4. Navigate — The LLM decides which step to move to the next step based on conditions
  5. Repeat — Continue until a the main flow “end flow” condition is reached then the call will end

Conditions and Branching

Voice steps include conditions that determine where to go next:
Conditions are evaluated by the AI based on the user’s actual response, not keyword matching. This allows natural, flexible conversations. A condition can also end the flow or end the call outright — see Where a condition can send the call.

Key Concepts


Next Steps