DefaultNextPromptBehavior Snippet

Content on this page is for a product or feature in controlled release (CR). If you are not part of the CR group and would like more information, contact your CXone Account Representative.

This code specifies the behavior of another action. Use it with virtual agentClosed A software application that handles customer interactions in place of a live human agent. actions to define behaviors for bots such as Google Dialogflow ES. You can include more than one Snippet action with this code in a single script. Each instance of the action can provide different behaviors to reflect what you want to happen at that point in the script.

The behaviors you can define are comfort noise, capturing DTMF Closed Signaling tones that are generated when a user presses or taps a key on their telephone keypad.tones, and barge.

Download this snippet

Properties for Comfort Noise

Comfort noise is audio that plays when the bot's response is delayed. Its purpose is to reassure the contact that the line is still active.

Properties for DTMF Detection

DTMF detection allows you to collect the tones when a contact presses buttons on the phone keypad.

Property for Barge

Barge allows the contact to speak over the audio that the script is playing.