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.
------------------------------
Original Message:
Sent: 04-18-2022 13:19
From: Daniel Ronzoni
Subject: Voice Bot read each digit instead of whole number?
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
------------------------------