Genesys Cloud - Main

 View Only

Sign Up

  • 1.  How can I ensure that the audio playback is always English, regardless of the selected flow language.?

    Posted 20 days ago
    Edited by Jason Kleitz 20 days ago

    HI Currently, I am using FindAudioPrompt(audio_variable) in the In-Queue Flow to play the prompt. Our requirement is to always play the English audio file regardless of the selected flow language.?


    #ArchitectandDesign

    ------------------------------
    kranthi Muppa
    ------------------------------



  • 2.  RE: How can I ensure that the audio playback is always English, regardless of the selected flow language.?
    Best Answer

    Posted 20 days ago

    Hi Kranthi,

    From my understanding, FindAudioPrompt() is language-aware and will always resolve the prompt based on the current flow language. Because of this, it won't allow you to force the English (en-US) version if the flow language is set to something else.

    If the requirement is to always play the English audio regardless of the selected language, you would need to bypass this behaviour. One approach would be to reference the specific English prompt directly instead of using FindAudioPrompt().

    Alternatively, if you need to continue using FindAudioPrompt(), you could consider using a dedicated prompt (or naming convention) that only contains the English audio, or temporarily setting the language to English before calling the prompt.

    Happy to hear if others have implemented a different approach.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 3.  RE: How can I ensure that the audio playback is always English, regardless of the selected flow language.?

    Posted 20 days ago
    Edited by Jason Kleitz 20 days ago

    yes I second @Phaneendra Avatapalli's response ! referencing the specific English prompt directly) because:

    It's the most straightforward Avoids any language resolution issues ,Works reliably in In-Queue flows without needing to manipulate the flow language



    ------------------------------
    Minhaj Mubashir
    Technical Account Manager
    ------------------------------



  • 4.  RE: How can I ensure that the audio playback is always English, regardless of the selected flow language.?

    Posted 20 days ago

    There is no FindAudioPrompt expression.  There are FindUserPrompt and FindSystemPrompt expressions.  
    Using the prompt directly instead of looking it up with a function will still play it in the currently executing language of the flow.



    ------------------------------
    Melissa Bailey
    Software Engineer
    ------------------------------



  • 5.  RE: How can I ensure that the audio playback is always English, regardless of the selected flow language.?

    Posted 20 days ago

    I would have the English recording on all used languages on the prompt, that way it doesn't matter what language the flow is currently using and you can still use FindUserPrompt.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------