Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Prompts & Data Table

    Posted 08-13-2024 10:59
    No replies, thread closed.

    Hi,

    Is there a way to play prompts based on what is configured in the Data table?

    What expression can I use for a lookup to find and match the DNIS from the Data Table and based on the matching then the specific prompts will be played where is is applicable.

    DNIS        Prompt1        Prompt2       Customer

    +123456    openning1    weekend      IT Inc

    +789123     oppening2   weekend      Gov Inc

    Thanks in advance.


    #ArchitectureandDesign

    ------------------------------
    Thiago Mendonca
    AXA Partners - UKI
    ------------------------------


  • 2.  RE: Prompts & Data Table
    Best Answer

    Posted 08-13-2024 17:06
    No replies, thread closed.

    Call.CalledAddressOriginal

    https://help.mypurecloud.com/articles/architect-default-variables/



    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 3.  RE: Prompts & Data Table

    Posted 08-14-2024 02:14
    No replies, thread closed.

    Hi Thiago,
    in addition to what Melissa wrote, how to get the called DNIS, you will need the "Find user prompt"-action in architect to get the prompt. You can play this prompt with "play audio"-action with the expression "ToAudio(Flow.FoundPromptName). Of course you will have to replace "FoundPromptName" with the prompt-variable that was the result of "Find user prompt".

    Best regards

    Christoph



    ------------------------------
    Christoph Domaschke
    CRONBANK AG
    ------------------------------



  • 4.  RE: Prompts & Data Table

    Posted 08-15-2024 04:20
    No replies, thread closed.

    Thank you Melissa and Christoph,

    The below worked just fine.

    14- update lookup to dnis

    flow.lookup = Substring(Call.AddressOriginal,1,15)

    15- data table lookup

    548- play audio

    ToAudio(FindUserPrompt("Prompt1")



    ------------------------------
    Thiago Mendonca
    AXA Partners - UKI
    ------------------------------



  • 5.  RE: Prompts & Data Table

    Posted 08-15-2024 18:38
    No replies, thread closed.

    One of the issues that I have seen with this is that there is no check that the Prompt listed in the Data Table actually exists! I would therefore use the Architect operation Find User Prompt rather than the function you have currently - this will allow you to gracefully handle if the Prompt has been deleted, or there is a type in the Data Table.

    There is an idea out there concerning Data Table schema. If you look at my comment from July 23rd, where I have proposed adding internal objects (like Prompts) as data types for tables.

    HTH



    ------------------------------
    Paul Simpson
    Views expressed are my own and do not necessarily reflect those of my employer.
    ------------------------------