Skip to main content

What is a call flow?

A call flow is a directed graph that models your agent’s conversation structure. It defines the paths a conversation can take — from greeting to resolution. SuperBryn uses the call flow to generate path-specific test scenarios and evaluate whether your agent follows the correct sequence.

Node types

TypePurposeExample
STARTEntry point of the conversation”Incoming call received”
PROCESSAn action the agent performs”Collect delivery address”
DECISIONA branching point based on input”Pickup or delivery?”
ENDCall termination”Order confirmed, goodbye”
Edges between nodes are labeled with conditions or transitions (e.g., “user says delivery”, “payment successful”).

Three ways to create a flow

1. Visual editor

Build your flow graphically using the drag-and-drop editor:
  • Add nodes from the toolbar
  • Connect them by dragging edges between ports
  • Label edges with transition conditions
  • Edit node details by clicking on them

2. Import JSON

If you already have a call flow in JSON format, click Import JSON to load it directly. The editor will render it as a visual graph that you can then edit.

3. Auto-generate from text

Paste a plain-text description of your agent’s conversation flow (or paste the agent’s full prompt), and SuperBryn’s AI will generate a structured call flow graph from it. You can also use the Analyze Prompt feature: paste your agent’s raw system prompt, and SuperBryn extracts both the call flow and policy/guardrails automatically.

Paths

Once a call flow is defined, SuperBryn identifies paths — distinct traversals from START to END. For example:
  • Path 1: Greeting → Pickup order → Payment → Confirmation
  • Path 2: Greeting → Delivery order → Address collection → Payment → Confirmation
  • Path 3: Greeting → Customer cancels → Goodbye
You can mark one path as the canonical path (the primary happy path). Scenarios are generated per-path to ensure coverage across all branches.

Managing flows

  • Each agent can have multiple saved flows
  • Activate a flow to make it the agent’s current call flow
  • Duplicate a flow to create a variant
  • Edit, rename, or delete flows from the flow list