Manage Prompts

This help page is for CXone Studio. This information is also available for Desktop Studio.

A prompt is a message that plays for the contact. Prompts can ask the contact to input information or convey information without asking for input. Prompts can be played by auto-attendants, interactive voice response (IVRClosed Automated phone menu that allows callers to interact through voice commands, key inputs, or both, to obtain information, route an inbound voice call, or both.) systems, and other voice processing tools. In CXone, prompts can be prerecorded audio files or text that's read by a text-to-speech (TTSClosed Allows users to enter recorded prompts as text and use a computer-generated voice to speak the content.) service.

Create a TTS Prompt

You can add a TTSClosed Allows users to enter recorded prompts as text and use a computer-generated voice to speak the content. prompt using the sequence editor or by entering the prompt directly to the Sequence property of a CXone Studio action that supports prompts.

Some actions, such as Reqagent, have a Sequence property but aren't linked to the Sequence Editor . If you want to use the sequence editor to create a prompt for these actions, you can temporarily add Play to your script. Access the Sequence Editor through Play and create your prompt. Copy and paste the prompt sequences from the Sequence property into the other action's Sequence property. When you're finished, delete Play.

  1. Add a Voiceparams action to your script somewhere before the action that supports TTSClosed Allows users to enter recorded prompts as text and use a computer-generated voice to speak the content. , such as the Menu or Play actions. If the properties set by the TTS-supporting action will be passed to other scripts, you may want to also place a Voiceparams action in the sub-scripts to ensure that the properties are not ignored.

  2. In the properties of the Voiceparams action, click the drop-down in the TTSVoice field and select the language and voice that you want to speak the prompt.
  3. Create the prompt using the sequence editor or typing it into the Sequence property.
  4. Type the text of the prompt in the Phrase field without formatting. This allows you to see the entire prompt in one place, instead of broken into segments in the Sequence field. Content in the Phrase field is for your benefit only. The prompt doesn't speak this text.
  5. Click Apply to save the prompt to the selected action.

Create a TTS Prompt with the Sequence Editor

The sequence editor allows you to create a TTS prompt using an interface that adds the formatting for you. When you use the sequence editor, you add sequencesClosed A segment of an audio prompt played for the contact. to the Play Order Sequence field. Each item that appears in the field is a sequence. These items appear when you click an Add Text-to-Speech option, such as Date or Speech.

Each sequence has a limit of 300 characters. You can add additional sequences if the text you need to play is longer than that amount. For example, if you need to play text that's 540 characters long, you can add two Text to Speech sequences with the text split between them.

  1. In CXone, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. Open a script or create a new one.
  3. Add an action that supports prompts to the script, such as Play or Whisper.

  4. Click the action on the script canvas to select it, then click Open Editor in the action's properties.

  5. Add the sequences you need to create your prompt. You can add the following types of sequences:

  6. To rearrange the sequences, click and drag a sequence by two vertical stacks of dots on the left side of its row.

  7. Insert a pause between words or phrases using one of the following methods:

    • Use a recorded file of silence: Create a new recording or upload a sound file of silence. Click Existing Prompt and select the silence file. If necessary, click the sequence and drag it to where you want it to be.
    • Use a Wait action: Use one Play action for the segments of the prompt that you want to separate with silence, then add a Wait action between them. Configure Wait with the length of the pause.
  8. To modify a sequence, select it in Play Order Sequence and click the pencil Icon of a pencil.. Make your changes to the sequence, then press Enter on your keyboard.
  9. In the Phrase field, enter the entire text of the prompt without special formatting. This field is for your reference only and doesn't affect the prompt that the TTS service reads. You can also use it to leave notes for yourself or others who might work with this prompt.

  10. Click Apply changes to save the prompt. You may need to scroll down in the sequence editor window to see the button.

Create a TTS Prompt in the Sequence Property

You can create a TTSClosed Allows users to enter recorded prompts as text and use a computer-generated voice to speak the content. prompt in an action's Sequence property by entering sequences with the appropriate formatting. A sequence is a series of characters, words, or phrases, or sentences. The TTS service recognizes several types of sequences. You can include more than one sequence in the Sequence property. Each sequence must:

  • Be enclosed in double quotes.
  • Include the string reference character required by the type of information the sequence contains. The only sequence type that doesn't require a string reference character is an audio file sequence.
  • Follow supported formats for information such as dates, time, and money.
  • Contain no more than 300 characters. If you need to include text that's more than 300 characters, split it between multiple sequences.

Classics, Inc. has decided to redo one of the prompts in their IVRClosed Automated phone menu that allows callers to interact through voice commands, key inputs, or both, to obtain information, route an inbound voice call, or both. menu. The management team writes the script for the new prompt and gives it to Beowulf Herot, the Studio scripter at Classics, Inc. The prompt is for customers who request their account balance and the due date for their next bill. When Beowulf completes the prompt, it contains the following sequences: 

"%The current balance on the account of {firstName} {lastName} is "
"${accountBal} "
"%. Your next payment is due on "
"@{billDueDate} "
"%. To hear this information again, press 1. To hear the address to send your payment by mail, press 2. To sign up for electronic bill pay, press 3. To return to the main menu, press the star key. "

Create a Dynamic TTS Prompt

You can create a dynamic prompt in a Snippet action. This is helpful if you have a prompt that changes continually. You can enter the prompt directly into the Snippet editor window, or you can create it in the sequence editor and copy it into the Snippet action.

  1. In CXone, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. Open a script or create a new one.
  3. Add a Snippet action and the action that will play the prompt, such as Play.
  4. Place Snippet before Play and connect them.
  5. Create the prompt in the sequence editor, then copy the contents of the action's Sequence property.

    Some actions have a Sequence property but not the sequence editor. If the action you need to use doesn't support the sequence editor, add a Play action to your script, create your prompt, and copy it from the Sequence property. Delete the extra action after creating the prompt.

  6. Hover the cursor over the Snippet action and click Open EditorA square with a horizontal line near the top, dividing it into two parts..
  7. In the Snippet editor window, create the dynamic object and assign the sequence to it using this syntax:

    DYNAMIC [dynamic object name] = [sequence]

  8. Add a dollar sign character ( $ ) to the front of the sequence definition, before the first double quote. Use backslash characters to escape all double quotes in the prompt. For example:

    ASSIGN promptList = $"\"{promptPath}YourAccountBalanceIs_{lang}.wav\" \"%{accountBalance}\" \"{promptPath}ToPayYourBillPress_{lang}.wav\"" 
  9. Add any other variables to the snippet that are required to complete the prompt, if they're not in your script already.

    For example:

    ASSIGN env = "PROD"
    ASSIGN lang = "ENG"
    ASSIGN promptPath = "Prompts\{env}\"
    ASSIGN accountBalance = "$52.65"
    ASSIGN promptList = $"\"{promptPath}YourAccountBalanceIs_{lang}.wav\" \"%{accountBalance}\" \"{promptPath}ToPayYourBillPress_{lang}.wav\""
  10. Click Apply.
  11. On the script's canvas workspace, select the action that will play the prompt.
  12. In the Sequence property, enter the name of the dynamic object that holds the prompt in the Snippet action. For the example used in this section, you would enter {promptList}.
  13. Click Apply.

Record Audio Prompts in Studio

You can record a voice prompt in the sequence editor in Studio. You must have a microphone attached to your computer. If you want to play the recording back, you must have speakers.

The audio files you record in CXone Studio are stored as WAV files in your CXone business unitClosed High-level organizational grouping used to manage technical support, billing, and global settings for your CXone environment. You can use them as audio prompts in any action that supports sequences. You can see all available audio files on the Browse ACD Files page in CXone.

The first time you record audio with CXone Studio, your web browser may prompt you to grant permission to use the microphone. If you previously granted this permission but the microphone isn't working, try removing the microphone permission in your browser settings. The browser should prompt you again.

You can record audio files in the prompt sequence editor, but you cannot edit them later. If you want to modify a recorded audio file, you must use a third-party audio editing program.

  1. In CXone, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. Open a script or create a new one.
  3. Add an action that supports the sequence editor to the script, such as Play or Whisper.

  4. Hover the cursor over the action and click Open Editor A square with a horizontal line near the top, dividing it into two parts..

  5. Under Add Prompt, click New Prompt.

  6. On the New Prompt window, enter a Name.

  7. Under Audio, click Start Recording and clearly speak your prompt or message.

  8. Click Stop Recording when you finish speaking the prompt.

  9. To review your recording, click Play.

  10. To record the prompt again, click Clear and repeat the preceding steps.

  11. To keep only a portion of the recording:

    1. Click in the waveform under Audio. 

    2. Move the bars on the left and right so that the portion of the recording that you want to keep is enclosed between the two bars. Anything outside the shaded area will be deleted.

    3. Click Save.

  12. When the recorded prompt is acceptable, click Save.

  13. To change the name of the prompt file, select the prompt sequence under Play Order Sequence. Click the pencil Icon of a pencil. and enter a new name. If you don't change the prompt's name, it will be overwritten the next time someone creates a new audio prompt and saves it using the default file name.

  14. Press Enter on your keyboard to apply the new name.
  15. If you're using the recording in the current prompt, click Apply Changes. If you plan to use it in another prompt, you don't need to save changes to the prompt. The audio file is already saved to your CXone system.

Use an Audio File as a Prompt

You can enter the name of the audio file directly into a Sequence property or you can select the audio file using the sequence editor.

Select an Audio File with the Sequence Editor

  1. In CXone, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. Open a script or create a new one.
  3. Add an action that supports the sequence editor to the script, such as Play or Whisper.

  4. Hover the cursor over the action and click Open EditorA square with a horizontal line near the top, dividing it into two parts..
  5. Under Add Prompt, click Existing Prompt.
  6. Click the file you want to use and click Select.

  7. Click Apply to save your change.

Add an Audio File to the Sequence Property

  1. In CXone, click the app selector and select Omnichannel RoutingStudio Three arrows joined at the base. One points straight up, one up and to the right, and one up and to the left. .
  2. Open a script or create a new one.
  3. Add an action with a Sequence property to the script, such as Play or Whisper.

  4. Select the action to access its properties on the right side of the page.

  5. Enter the name of the audio file enclosed in double quotes in the Sequence property. For example,  "greeting.wav".

Upload Audio Prompts

Currently, you cannot upload audio prompt files using CXone Studio. However, you can upload them using the legacy Studio application or on the Browse ACD Files page in CXone.