Hi Team,
I’m working on a feature where I need our smart assistant to repeat a phone number that’s entered by the user. Could you please provide your suggestions on the best steps to achieve this?
Regards
Darshan Hirannadani
Hi Team,
I’m working on a feature where I need our smart assistant to repeat a phone number that’s entered by the user. Could you please provide your suggestions on the best steps to achieve this?
Regards
Darshan Hirannadani
Hello Darshan,
Thank you for reaching out to Kore.ai Community.
Please refer to the below article for your use case this might be helpful for you.
Please note this event works only for the below channels as per the current platform design.
Hope this helps.
Thank you,
Srujan Madderla
Kore.ai Community Team
When you collect a phone number into an entity, you generally receive a string of digits such as 9702159984 or if you use the phone number type rather than string, you might receive +19702159984. To repeat the number back to the user, you can use a script node to make it sound much better. Something like:
context.phoneNumberToSpeak = context.entity.collectedPhone.split(“”).join(". "); //assuming string type
In a message node, using text output, enter {{context.phoneNumberToSpeak}}