Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  collecting in voice bot and display result in a script

    Posted 11-02-2022 12:30
    No replies, thread closed.
    Hello, I am collecting in a voice bot slot contract numbers consisting of 7 numbers and a # (e.g. 6547891#). The German word for # is Raute, so my regex looks like this: [0-9]{7}\Braute
    I have the contract number transferred from the bot to an inbound flow and from there to a call script and there it is displayed as 6547891raute. How and where can I convert the contract number so that it displays in the call script as 6547891#?


    #ArchitectureandDesign

    ------------------------------
    Thomas Repking
    Canada Life Group Services Limited
    ------------------------------


  • 2.  RE: collecting in voice bot and display result in a script

    Posted 11-02-2022 15:31
    No replies, thread closed.
    So you just want to replace raute in the string with a # ?

    You could do it with a dynamic variable in the agent script, or what is probably easier is doing it in the Flow when you pass that value as an input use
    Replace(StringToReplace,ValueToReplace,NewValue)
    Eg Replace(Flow.ContractRaute,"raute","#")


    ​​

    ------------------------------
    Anton Vroon
    ------------------------------



  • 3.  RE: collecting in voice bot and display result in a script

    Posted 11-02-2022 17:27
    No replies, thread closed.
    Is your originating flow setting the language to German before you call the bot?  If you just do a slot fulfillment or Intent with raute, do you get a proper recognition?

    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 4.  RE: collecting in voice bot and display result in a script

    Posted 11-03-2022 04:38
    No replies, thread closed.
    Hi Anton, Hi Robert,
    Thank you for your answers. Replace works now!
    Viele Grüße,
    Thomas

    ------------------------------
    Thomas Repking
    Canada Life Group Services Limited
    ------------------------------