Configuration Reference
Audio Playback
JSON type object
JSON property
audioPlayback JSON type objectPlay an audio file or a configured prompt as part of a Conversation.
Behavior and notes
- At least one valid Prompt Module must be available. If none can be resolved, the operation fails and Conversation execution ends at CF_END.
Developer guidance
Audio Playback references reusable Prompt Modules by promptID or through the prompts array. It can also override speech synthesis engine and voice settings for this playback operation.
Example in context
Illustrative JSON excerpt (not a complete configuration document):
{
"audioPlayback": {
"promptID": "prompt.welcome"
}
}
promptID is a reference to a defined Prompt Module, not synthesized text itself.
Properties
playbackMode
stringRequired
Specifies how prompt references are selected and played.
Allowed values
single— Plays the first valid prompt.select— Selects one valid prompt.sequence— Plays all valid prompts sequentially as one playback operation.
Runtime fields: Supported — The complete property value may be supplied using $[FieldName].
promptID
stringOptional
Prompt Module to play. A valid promptID takes precedence over prompts.
Runtime fields: Supported — The complete property value may be supplied using $[FieldName].
prompts
arrayOptional
Prompt Module references used when no valid promptID is available.
speechSynthesisEngine
stringOptional
Overrides the configured synthesis engine for this playback operation.
Runtime fields: Supported — The complete property value may be supplied using $[FieldName].
speechSynthesisVoice
objectOptional
Overrides the configured synthesis voice for this playback operation.