Docsvoxioagent 2.0.0

Build your agent

Values and state

How steps share information during a call, which values do something on their own, and what reaches your webhook.

Each call has its own state: a set of named values. Steps read from it and write to it. Declare every value in the workflow's variables with a type and, if it needs one, a starting value:

"variables": {
"user_input": { "type": "str" },
"conversation_history": { "type": "list", "default": [] },
"hangup": { "type": "bool", "default": false },
"outcome": { "type": "str" }
}

Types are str, int, float, bool, list and dict.

Who writes what

StepWritesReads
ListenWhat the caller said, under each name in its input_variables—
AI decisionEvery field it returns (its llm_return_type), and its memory under history_keyIts input_variables, and its memory
AI replyOnly its memory under history_key. The reply itself is spoken, not saved.Its input_variables, and its memory
Say—The names in its variables
Branch—The first name in its input_variables

Values that do something

When a Say step sends these, or an AI reply returns them, the pipeline acts on them:

ValueWhat happens
speakSpoken reply: What the caller hears.
hangupEnd the call: Hangs up when this is yes.
actionsWebsite actions: Moves the caller’s web page.
interruption_typeSets how this one message can be interrupted. See Interruptions.

Every other value a Say step sends is passed on with the turn: it shows as a data line in the Test panel and session replays, and reaches your webhook.

Next steps