Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Voice Bot read each digit instead of whole number?

    Posted 04-18-2022 13:20
      |   view attached
    No replies, thread closed.

    I'm trying to use a Dialog Engine voice bot in Architect to get the customer's ZIP (or account number, card number, etc.)  and then read that value back to the customer for verification. However, if I enter in 84107 as a ZIP code, the systems reads the number like "eighty four thousand one hundred seven" instead of reading individual digits like "8, 4, 1, 0, 7".

    Architect only saves Slot variables as a string, but even if I later use Update Data to convert the variable to a new Integer or Decimal variable, the system still reads off the whole number instead of speaking each digit. Even selecting "Speak each digit" makes no difference.

    What am I doing wrong? How can I get the system to read off each digit that the customer spoke instead of the whole number?


    #ArchitectureandDesign

    ------------------------------
    Daniel Ronzoni
    Prog Leasing LLC
    ------------------------------

    Attachment(s)



  • 2.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-18-2022 13:21
    No replies, thread closed.
    I forgot to note for the attached Bot Flow, that I've only put in the config for steps 20, 27, and 28

    ------------------------------
    Daniel Ronzoni
    Prog Leasing LLC
    ------------------------------



  • 3.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-18-2022 13:36
    No replies, thread closed.

    Split the string to turn it into a collection and use a loop to play each item.



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



  • 4.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-18-2022 17:32
    No replies, thread closed.
    That was way simpler than I was thinking! Thank you so much!

    ------------------------------
    Daniel Ronzoni
    Prog Leasing LLC
    ------------------------------



  • 5.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-19-2022 16:43
    No replies, thread closed.
    Another way to do this.

    There is some inbuilt number slot types you can use that stores it as a number. 
    Or if you store it as a number variable then
    In the communication action, select Data as the type not expression or text, you then have a drop down on the right, and select speak each digit.


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



  • 6.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-20-2022 13:21
    No replies, thread closed.

    I'm unable to find where the Slot type can be saved as a number variable. It automatically sets the variable as string as far as I can tell. 

    Also, I already tried using the Data field in the communication action. It made no difference.

    I did get Melissa's suggestion to work though



    ------------------------------
    Daniel Ronzoni
    Prog Leasing LLC
    ------------------------------



  • 7.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-20-2022 18:54
    No replies, thread closed.
    For slots, when adding a new slot, select builtin:number
    Otherwise when using Data as the type in any communication action, if the variable is a number or date or currency etc you get additional options, like speak each digit.

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



  • 8.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-21-2022 12:32
    No replies, thread closed.
    Even when using the builtin:Number slot, and setting the communication to look for Data type and choosing "Speak each digit", it still says "eighty four thousand one hundred seven" instead of reading individual digits like "8, 4, 1, 0, 7" in the Verification section of the Ask for Slot function.

    ------------------------------
    Daniel Ronzoni
    Prog Leasing LLC
    ------------------------------



  • 9.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-22-2022 08:45
    No replies, thread closed.
    Hi all,

    We are putting out a release next Wednesday which will include a fix for this, so next Wednesday if you use "Speak each digit" the bot will playback, e.g.  "8, 4, 1, 0, 7" 

    Nicola


    ------------------------------
    Nicola Conlon
    Genesys - Employees
    ------------------------------



  • 10.  RE: Voice Bot read each digit instead of whole number?

    Posted 04-25-2022 10:02
    No replies, thread closed.
    Daniel,

    We use this to have the Bot speak each number of our customer's loans: 

    MakeCommunication("You said", Substring(Slot.Loan_number, 0, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 1, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 2, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 3, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 4, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 5, 1), ToCommunicationBlank(100),Substring(Slot.Loan_number, 6, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 7, 1), ToCommunicationBlank(100),Substring(Slot.Loan_number, 8, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 9, 1), ToCommunicationBlank(100),Substring(Slot.Loan_number, 10, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 11, 1), ToCommunicationBlank(100),Substring(Slot.Loan_number, 12, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 13, 1), ToCommunicationBlank(100),Substring(Slot.Loan_number, 14, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 15, 1), ToCommunicationBlank(100),Substring(Slot.Loan_number, 16, 1),ToCommunicationBlank(100),Substring(Slot.Loan_number, 17, 1), ToCommunicationBlank(100),Substring(Slot.Loan_number, 18, 1), "Is that correct?")

    It keeps the bot from rushing through the number as a singular numerical value. First digit of the substring expression is the location of the loan number and the second number is the number of digits for the bot to read back.

    Hope that helps

    ------------------------------
    Eric Allen
    Vervent, Inc.
    ------------------------------