Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Designer Tool Requirement

    Posted 07-17-2020 00:13
    How can we  play dynamic prompt in User Input block where half part of text is prerecorded file and other part is Http Rest Block response Array .Each element of array need to be appended with the prerecorded message and then attached to user Input Block.

    For Example-   responseArray=["US","CANADA","UK"]----Note This array is not static and can vary with size/length based on http response.
                            Prompt to be played =Covid cases numbers in {indexValueOfArray}
                                                               Covid cases numbers in {indexValueOfArray}
                                                               Covid cases numbers in {indexValueOfArray}

                      Note - Covid cases numbers in is the Prerecorded message
    #Ask Me Anything (AMA)
    #ArchitectureandDesign
    #ConnectwithaCustomer(NEW)
    #DigitalChannels
    #Implementation
    #Integrations
    #Omni-ChannelDesktop/UserInterface
    #Outbound
    #PlatformAdministration
    #QualityManagement
    #RemoteWorkEnablement
    #Reporting/Analytics
    #Roadmap/NewFeatures
    #Routing(ACD/IVR)
    #Security
    #SIP/VolP
    #SystemAdministration
    #Telephony
    #Unsure/Other
    #GenesysCloudCXQAEpisode

    ------------------------------
    Kamlesh Mahapatra

    ------------------------------


  • 2.  RE: Designer Tool Requirement

    Posted 07-18-2020 11:31
    See if this approach works for you 

    1. Create a string collection and store the response array values
    2. Create a prompt variable
    3. Create a loop for the count of the string collection 
    4. Create the prompt expression with append function and assign that to the prompt variable
    5. Use the prompt variable in the Collect node which will play the expression created in the loop

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



  • 3.  RE: Designer Tool Requirement

    Posted 07-18-2020 12:58
    Thanks for reply . We need to add dynamic grammar based on size of the array . If size 2 ,then DTMF 1 and DTMF 2 allowed.
    As per the solution suggested - 
    1) vCountryArray contains array of countries , vCountryLength contains the size of array using expression vCountryArray.length and vCountryIterator will be initialize to  0
    2) Get the value from array using vPromtToBePlayed = vCountryArray[vCountryIterator]  and increment the vCountryIterator+1
    3) Segmentation Block - Check the condition (vCountryLength == vCountryIterator)
         TRUE -
                      1) Initalize the grammar - If  vCountryLength  == 3 , then initalize the DTMF with 1,2,3
                       2) Use the input block - 
                           Announcement- "Prerecorded.wav"   type-audio ---> This contain the pre recorded message <Covid cases in>
                           TTS - <vPromtToBePlayed>      type-text
                              attach the grammar to it .

         FALSE - 1) Use the Play message component with 
                            Announcement- "Prerecorded.wav"   type-audio ---> This contain the pre recorded message<Covid cases in>
                            TTS - <vPromtToBePlayed>      type-text
                        2) Go to Step 2 Again

    Kindly let me know your thoughts also .

    ------------------------------
    Kamlesh Mahapatra
    TIAA
    ------------------------------



  • 4.  RE: Designer Tool Requirement

    Posted 07-20-2020 01:09
    In any case, I believe your total DTMF input cannot go beyond 10 counts ( 0-9 ) unless you are planning to prompt the caller to enter the option in two digits as 00, 01, 02, etc. You can always write the expression after the 'success'  branch in 'Collect' node in Architect to validate the DTMF received as you would know the maximum number of choices allowed for that conversation based on your data action response array count.

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



  • 5.  RE: Designer Tool Requirement

    Posted 07-20-2020 02:57
    Hi Gomathi ,

    Yes we are allowing only 10 counts (DTMF input) . The only thing i am confused now is the bargin issue ? How to allow bargin for the user.

    ------------------------------
    Kamlesh Mahapatra
    TIAA
    ------------------------------



  • 6.  RE: Designer Tool Requirement

    Posted 07-21-2020 03:38
    Check this function AudioPlaybackOptions(). You might want to iterate with your approaches like prerecording the audio as prompts instead of TTS which can then help you in building a prompt sequence.

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



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources