Skip to main content
About the Resource Center

Build customized output with the Communication Sequence Builder

You can build customized output for voice bot flows with the Communication Sequence Builder, or for digital bot flows with the Rich Text Builder. In a Switch action, direct the path to take based on the response it gets during the interaction. This example demonstrates how a flow author can build functionality for both audio and text, and then return the appropriate response depending on the interaction type.

How to use the builder

The following common operations are available in Architect builders that support multiple data types:

  • To build an expression value using a sequence of items of specific data types, click and configure the desired data types. Architect displays the added items as card elements within the sequence.
  • To rearrange the sequence of cards, click and hold the card that you want to move up or down in the list.  Alternatively, use the Tab key to move through the list of cards and select the card that you want to move. To move the card to the desired position within the list, select Alt or Option and use the up and down arrow keys.
  • To delete a card, click the trash icon for the card that you want to delete. Alternatively, use the Tab key to move through the list of cards and select the card that you want to delete. Then, use the Delete key to delete the card.

Voice bot flows

For voice bot flows, you can add text or use the Communication Sequence Builder. These steps illustrate how to use the Communication Sequence Builder.

Note: To use the multi-language support feature, you must use the native Natural Language Understanding (NLU) engine.
  1. In a bot flow action element that needs an output, for example an Ask for Intent action, click the button at the end of the element and select Communication Sequence Builder.
    Note: Currently, the behavior uses the Main Sequence, which means that the bot uses this sequence under all conditions, which includes the language currently set for the bot flow and the output mode.
  2. Create an alternate sequence for a voice interaction:
    1. In the Communication Sequence Builder dialog box, click Alternate sequence .
    2. Click the Language list and select the alternate language; for example, French Canada.
    3. Under Output Mode, select Voice.
    4. Click Add Alternate Sequence.
    5. In the Text field, enter the localized output you want the bot to say to the caller for a voice interaction. For example, “Que souhaitez-vous faire? “
  3. Create an alternate sequence for a text:
    1. In the Communication Sequence Builder dialog box, click Alternate sequence .
    2. Click the Language list and select the alternate language.
    3. Under Output Mode, select Text.
    4. Click Add Alternate Sequence.
    5. In the Text field, enter the output you want the bot to say to the recipient for a chat interaction. For example, “Que souhaitez-vous faire? “
  4. Click Save.
  5. Alternatively, you can manually enter an expression for the output modes.

Digital bot flows

For digital bot flows, you can add text, use the Communication Sequence Builder, or use the Rich Text Builder. These steps illustrate how to use the Rich Text Builder.

  1. In a digital bot flow action element that needs an output, for example a Communicate action, click the button at the end of the element and select Rich Text Builder.
  2. Use the toolbar in the Rich Text Builder to create communication to the user:
    1. Add a text string and format the text using bold, italic, or strikethrough text.
    2. To add customizable text and a link to an external URL, click the Add Link icon.
    3. To add a variable value for a preconfigured slot, click the Add Variable menu and select the appropriate variable.
    4. To enter a manual expression and insert the result into the rich text, click the Add Variable  icon.
    5. To attach a media object such as image, audio, or video, perform one of the following steps:
      • To choose an image from your assets library or upload an image from your computer, click Insert Media > BrowseImage.
      • To insert an audio from URL, click Insert Media > Insert from URLDigital Audio and provide the audio URL in the resulting expression, {{MakeDigitalAudioFromUrl("enter digital audio URL here")}}.
      • To insert an image from URL, click Insert Media > Insert from URLImage and provide the image URL in the resulting expression, {{MakeImageFromUrl("enter image URL here")}}.
      • To insert a video from URL, click Insert Media > Insert from URLVideo and provide the video URL in the resulting expression, {{MakeVideoFromUrl("enter video URL here")}}.
    6. To attach a file from a URL, click Insert File Insert File from URL and provide the file URL in the resulting expression, {{MakeFileFromUrl("enter file URL here")}}.
      Notes:
      • Architect supports attachments of files and media that are up to 100 MB in file size. However, some channels do not support large files. For more information on file attachment sizes supported for each channel, see Is there a size limit for transferring files with ACD Messaging?
      • To use a dynamic value for an attachment URL, define an Image, Digital Audio, Video, or File data type variable using the Update Data action.
  3. Create an alternate sequence for a chat:
    1. In the Communication Sequence Builder dialog box, click Alternate sequence .
    2. Click the Language list and select the alternate language.
    3. Under Output Mode, select Text.
    4. Click Add Alternate Sequence.
    5. In the Text field, enter the output you want the bot to say to the recipient for a chat interaction. For example, “What would you like to do?”
  4. Click Save.
  5. Alternatively, you can manually enter an expression for the output modes.