Series: Architect tutorial for advanced users

Advanced lesson: Create a language selection starting task

In this lesson, we will create a starting task and configure it so that the caller can choose to hear menu options in English, or continue in French.

Objectives

  • Add French Canada as a supported language
  • Create a Set Language task and designate it as the starting task in lieu of a starting menu.

Estimated time to complete: 25 minutes

Prerequisites

Additional resources

Tasks

  1. Open the practice call flow. 
  2. Add French Canada as a supported language:
    1. In the Settings area, select Supported Languages.
    2. In the Supported Languages configuration area, click the Add Language drop-down list and select French Canada (fr-CA).

  1. From the Toolbox, expand the Task menu and drag a Task action to the Reusable Tasks area.
  2. In the Name text box, type Set Language.
  3. Click Set this as the starting task.

    Note: Notice that the reusable Set Language task moves up to become the Starting Task, and the Initial Greeting now appears in the Starting Task area. Also, the Main Menu moves to the bottom of the page to Reusable Menus.

  4. Add prompt.GCBInitialGreeting.wav as the initial greeting prompt.
  5. Add a French version of the prompt as TTS: 
    Merci pour votre appel au service bancaire de Genesys Cloud, votre appel peut être enregistré à des fins de contrôle de qualité 

Practice

Now it’s your turn. In this section, you will add a Set Language action to change the language to French, and you will record prompts.

  1. From the task editor Toolbox, expand the Data category and drag a Collect Input action into the task editor, just below the Start box.
  2. In the Collect Input configuration area, do the following:
    1. In the Name text box, type Offer French.
    2. In the Input Audio text box, type For French, press 2 or say Français, otherwise stay on the line.
    3. In the Input Data Name field, type Flow.French.
    4. In the Number of Digits area, select Exactly 1 digit.
    5. Select an Individual Digits verification.
    6. Leave all other settings unchanged.

  1. From the Toolbox, expand the Logical category and drag a Decision actions below the Collect Input action’s Success path.
  2. In the Decision action’s configuration area, do the following:
    1. In the Name text box, type Switch to French?.
    2. In the Expression field, switch to Expression mode.
    3. In the Expression field, delete the existing true variable and type Flow.French==”2″.

Now, add a Set Language action to change the language to French. When you complete the practice task, click Save. The Set Language action is available in the Toolbox under the Flow menu.

Note: Make sure to follow the Decision action’s Yes path.

  1. From the Toolbox, click to expand the Flow action and drag a Set Language action below the Decision action’s Yes path.
  2. In the Name text box, type Set Language to French.
  3. In the Select language text box, choose French (France) (fr-FR).
  4. Add a Jump to Menu action that sends the call to the Main Menu.
  5. Save the configuration.