Docsvoxioagent 2.0.0

Build your agent

Say

Speaks a line you write: greetings, confirmations, goodbyes. Can also speak what an AI decision wrote.

Type: out.

What it does

  1. Starts from out_dict exactly as written: usually speak, and sometimes hangup or your own keys.
  2. Adds each value named in variables from the call's state. Names with no value yet are left out.
  3. Sends the result to the caller. speak is spoken, hangup: true ends the call once it's said, and anything else travels with the turn to your webhook.

Settings

Everything goes in the step's parameters. In the editor, click the step to open its settings.

interruption_typestring
In the editor: If the caller interrupts. What happens when the caller talks over the agent. Default: "full".
out_dictobject
In the editor: Also send (More tab). Extra details sent to your webhook, not spoken — like end the call.
variablesstring[]
In the editor: Pass along (More tab). Values from earlier steps to send with it.
out_dict.speakstring
In the editor: What to say. Spoken exactly as written. Leave it out to say nothing of your own.
interruption_metadataobject
Numbers for the timed and length-based interruption types: duration (seconds), length (words), ignore-words.
removeboolean
Clean the variables before sending. With remove_tts, strips emotion cues such as [laughs] (for example, to show them in a transcript). Default false.
remove_ttsboolean
Strip voice cues when remove is on. Default false.
remove_tts_namestring
Which cue style to strip. Default "eleven_v3".

Examples

A fixed line

A greeting that can’t be talked over:

{
"type": "out",
"parameters": {
"out_dict": {
"speak": "Hi! Thanks for calling Sunrise Dental."
},
"interruption_type": "no"
},
"next": "ask_for_input"
}

Speak what the AI decided

After an AI decision, speak its reply and pass on its hang-up decision:

{
"type": "out",
"parameters": {
"variables": [
"speak",
"hangup"
]
},
"next": "ask_for_input"
}

Send data without speaking

Record an outcome for your webhook, silently:

{
"type": "out",
"parameters": {
"out_dict": {
"stage": "booking_confirmed"
},
"variables": [
"outcome"
]
}
}

Next steps