Can't do it with TTS in a menu.
Option 1: Use recorded audio instead of TTS. Create recordings for option 1, 2, and the rest. Use an english voice for 1 & 3+ and a spanish voice for 2. Combine the recordings into 1 file and upload that to the user prompt's english resource. Create other recordings for all other languages supported by the flow and upload them to the matching resources for the prompt. In the flow's main menu use that prompt.
Option 2: Play the audio in tasks. Create task1 & set it as the starting task (if you already have a starting task, either add the audio there or have it jump to task1). Play the "hello..." in TTS. Add a set language action and choose spanish. Jump to a 2nd task. Play the "press 2....". Add a set language action and switch to english. Jump to a 3rd task and play the rest of the audio. End with a jump to the menu. Go the menu and add a jump to reusable task. Choose task1. Set DTMF or speech rec (if you don't want the customer to be able to choose this by themselves, set the speech rec term to something like abracadabra that they will never say). Click on the menu and set the default menu choice to the jump to reusable task action. Expand the menu options section and change the number of times to repeat to 0.
The only drawback to option 2 (other than taking a lot of steps) is that you lose the barge in behavior since you're jumping around with so many play audio actions. If the caller presses 2 while the audio from task1 or task2 is playing, the menu won't respect it. If they play it during task3 or when they're in the menu, it will work.
------------------------------
Melissa Bailey
Genesys - Employees
------------------------------
Original Message:
Sent: 06-06-2022 16:52
From: Chris Martin
Subject: Changing TTS Language Playback using an Expression
Hi All, Does anyone have a good answer to using TTS Playback in a Menu option where we want to say something in English, then Spanish and then English Again?
I feel like there should be a expression to switch the languages on the fly but I'm not seeing the syntax.
Issue: Step 2 sounds bad.
1: Hello thanks for calling
2 : Press 2 for Spanish (Text is written in Spanish) Because the language is set to English, its sounds terrible and not at all like Spanish at all.
3: Other Menu options in English.
Thanks,
Chris
#Integrations
#Routing(ACD/IVR)
------------------------------
Chris Martin
CCS Medical
------------------------------