Genesys Cloud (formerly PureCloud)

Discussion Thread View
Expand all | Collapse all

Prompt name in Variable

Jump to Best Answer
  • 1.  Prompt name in Variable

    Posted 05-18-2018 03:58
    Hi, Is it possible to set prompt name in expression by passing value of the file name using a variable ?  My requirement is to play a prompt on need basis. Planning to pick the prompt file name value by Data table lookup and if file name present, then to play ( no TTS ) else skip and proceed with the flow.

    I was referring to the help section Set up an audio sequence - PureCloud Resource Center but Architect is not accepting any such expression mentioned in the example.

    ------------------------------
    GV
    ------------------------------


  • 2.  RE: Prompt name in Variable

    Posted 05-18-2018 06:51
    Hi Gomathi,

    I'm afraid that using prompts as variables dynamically is not possible. as you can see on:
    Dynamically route to prompt
    PureCloud Developer Forum remove preview
    Dynamically route to prompt
    I would like to be able to play a prompt depending on the result of an external API call. I can get the prompt Id, name but then how can I use the result in the prompt in Architect? I tried a ToAudio(myvaraiable= prompt Id) but it didn't work.
    View this on PureCloud Developer Forum >

    The only workaround is using a switch case for each prompt you need...

    On my case, it's a lot of work, as I need to use switch case with over 20 cases every time I need to play each letter from a word (without using TTS)....
    PureCloud - Genesys
    Genesys remove preview
    PureCloud - Genesys
    Hidden page that shows all messages in a thread
    View this on Genesys >


    In addition, I'm interested if Genesys is doing something regarding this subject.

    Best regards,
    Ana Laia



    ------------------------------
    Ana Laia
    ACCENTURE CONSULTORES DE GESTAO SA
    ------------------------------



  • 3.  RE: Prompt name in Variable

    GENESYS
    Posted 05-18-2018 08:27
    The good news is that we will very shortly be starting work on enabling Dynamic Prompt functionality so expect to see this feature in the not too distant future.

    ------------------------------
    Rebecca Owens
    PureCloud Self-Service Product Manager
    Genesys
    ------------------------------



  • 4.  RE: Prompt name in Variable

    Posted 05-18-2018 09:33
    Hi Rebecca,

    Thank you for your answer.

    Can you tell me if there's a release date for this feature? This summer?...

    Best regards,
    Ana Laia

    ------------------------------
    Ana Laia
    ACCENTURE CONSULTORES DE GESTAO SA
    ------------------------------



  • 5.  RE: Prompt name in Variable
    Best Answer

    GENESYS
    Posted 05-18-2018 09:45
    This feature is actually a lot more complicated to implement that it would superficially appear so we are currently forecasting Q4.

    ------------------------------
    Rebecca Owens
    PureCloud Self-Service Product Manager
    Genesys
    ------------------------------



  • 6.  RE: Prompt name in Variable

    Posted 05-21-2018 00:52
    Thank you Rebecca !

    Meanwhile will try to some workaround referring to Ana's comments.

    ------------------------------
    Gomathi Vasagam
    ------------------------------



  • 7.  RE: Prompt name in Variable

    Posted 09-30-2018 05:27
    Edited by Sajid Abbas 09-30-2018 07:31
    Hey @Rebecca Owens

    Any update on dynamic prompt play thing?

    I have a set of Source and Destination Airport names to chose from with the text coming from web service to be played in real time to let the caller know about status of their flights. ​

    The IF/ELSE or SWITCH doesn't work for us because
    1. The airline have tens of flight statuses, hundreds of source airport name and hundreds of destination airports.
    2. Moreover SWITCH statement only supports a maximum of 64 such cases.
    The parallel arrays only work for objects like queues e.g. a text queue name can be converted into a Queue object to transfer the call to but it can't convert the text name of the prompt into a Prompt object.



    ------------------------------
    Cheers,
    Sajid Abbas Malek
    Al-Futtaim Technologies -
    ------------------------------



  • 8.  RE: Prompt name in Variable

    GENESYS
    Posted 10-01-2018 04:48
    Hi,

    This feature is coming very soon, keep watching the release notices over the next few weeks!

    Rebecca






  • 9.  RE: Prompt name in Variable

    GCAP Member
    Posted 09-16-2020 07:55
    Any news here? @Rebecca Owens

    ------------------------------
    Gennaro Montanino
    ------------------------------



  • 10.  RE: Prompt name in Variable

    GENESYS
    Posted 09-16-2020 08:47
    @Gennaro Montanino​ The dynamic prompts feature was released in 2018, please let me know if you need something else.

    ------------------------------
    Rebecca Owens
    PureCloud Self-Service Product Manager
    Genesys - Employees
    ------------------------------



  • 11.  RE: Prompt name in Variable

    GCAP Member
    Posted 12-29-2020 07:13
    Edited by Gennaro Montanino 12-29-2020 07:41

    Hi Rebecca

    let me rephrase what I would like to do. In Genesys Engage, we lookup in a Transaction List, the Prompt Name to be played. In this case, I can have only one IVR strategy that based on the lookup data build an IVR

    In Genesys Cloud, I went through the Data Table.

    I create I DT having the Prompt Name, but the the Prompt do not accept string as input and you cannot concatenate 

    ToAudio(Append("Prompt.",Task.Info01"))

    How can be passed dynamically the Prompt Name (Prompt.XXXX)?

    Even if assuming that in the DT Prompt.Name is configured, it cannot be passed to Play Audio function.

    I also found this link

    Work with dynamically referenced prompts - Genesys Cloud Resource Center

     But this is not what I am looking for, since I would have anyway to map every prompt and using Find User Prompt to find them.

     The best way is to give as input to play audio the looked up value which refer to a Prompt.Name

    Looking at this

    Update Data action - Genesys Cloud Resource Center

    I found that the documentation is not update (the green ones are missing).

    Can you please point to the updated one you or  @George Ganahl

     



    ------------------------------
    Gennaro Montanino
    ------------------------------



  • 12.  RE: Prompt name in Variable

    Top 25 Contributor
    Posted 12-29-2020 16:40
    Edited by Vaun McCarthy 12-29-2020 16:40

    Hi Gennaro

    What you want to try doing is playing the audio/prompt name variable as an expression rather than a prompt in your Play Audio block.



    ------------------------------
    Vaun McCarthy
    NTT New Zealand Limited
    ------------------------------



  • 13.  RE: Prompt name in Variable

    GCAP Member
    Posted 12-30-2020 01:56

    Hoi Vaun

    thank you for your Message. What I am trying to do is to make only one Reusable Task, that acts like an Custom IVR, that has as input values stored  in DT.

    This values are string that point to .was files ie Prompt. As far as I understood currently is not possible since Prompt are network data.

    My goal is instead of create different IVR, I create only one Reusable Task and use the Data Table al config Parameter.

    Cheers



    ------------------------------
    Gennaro Montanino
    ------------------------------



  • 14.  RE: Prompt name in Variable

    Posted 12-30-2020 11:24

    Gennaro,

    What you want to do is pretty easy, but does require a couple steps:

    1.  do a data table lookup to get the prompt name, store as a string variable such as Flow.LookUpPrompt

    2. use a Find User Prompt step where the value to search on is an expression with Flow.LookUpPrompt and the output is a new variable such as Flow.PlayPrompt

    2a. under the not found path I generally do an Update Data to add a literal prompt to Flow.PlayPromt just in case.  I'll either do a generic prompt, or a prompt with a tiny bit of silence, depending on the scenario I am building

    3.  In you Paly Audio sequence, for the dynamic bit, add it as a Play Data and play your Flow.PlayPrompt variable.

    If you need more clarification, let me know, I'll find a flow where I'm doing this and grab couple of screen shots.



    ------------------------------
    Mike Steinke
    Inflow Communications
    ------------------------------



  • 15.  RE: Prompt name in Variable

    GCAP Member
    Posted 12-30-2020 14:51

    Hi Mike

    great, Thank you! I tested it and it works. Now I can build a reusable Task that play dynamically the Prompts.

    Have a great 2021.

    Cheers

     



    ------------------------------
    Gennaro Montanino
    ------------------------------



  • 16.  RE: Prompt name in Variable

    Posted 12-30-2020 14:55

    Glad to hear.  That's been a really nice add to the Genesys Cloud system.

    Happy New Year to you as well.



    ------------------------------
    Mike Steinke
    Inflow Communications
    ------------------------------



  • 17.  RE: Prompt name in Variable

    GCAP Member
    Posted 12-30-2020 15:56
    Totally agree. It would be great to have everything from Reusable Task to the Menu to jump as variables. I hope that @Rebecca Owens ​will take care of this =)

    ------------------------------
    Gennaro Montanino
    ------------------------------