Skip to content

Amazon Connect - Lex - Both Voice and DTMF Input handling

0

Hi,

The following prompt should be played to the callers.

"Thanks for calling. For English, say English or press 1. For Spanish, say Spanish or press 2. For other language, say Other".

Now, using the lex, I did configure the intent and slot values as English, Spanish & Other. It's working as expected. The problem is, the Amazon Connect Contact flow "Get customer input" block doesn't have an option to recognize the DTMF input, if I select the Lex bot.

So, any suggestions on how I can implement this solution by offering both DTMF and the voice options to the callers?

Thanks, Shiva

4 Answers
2

When you define the utterances for your bot, you can include the DTMF text values of the digits, like David suggested here. So if you want the user in addition to stating their intent, to also enter a digit, all you have to do is add "one" or "two" as part of the utterances you train your bot with.

AWS
answered 2 years ago
1

In the English intent put "one" in the slot, for Spanish slot of "two". Then try your DTMF and speech.

david

answered 2 years ago
0

Good afternoon, I hope you can help me. I have a similar scenario in which I need to give the user the option to select the language they want or type the number corresponding to that language (1, 2, 3). I think this might be the solution, but I don't understand what additional configuration is required. I think the slot needs to be added to the intent (for example, select language), but the slots aren't supposed to be executed once an interaction such as "I want to select a language" is identified. Since in my scenario, the user is directly told to select their language, there's nothing that executes the intent to start executing the slots. If you could explain how to do this, it would be very helpful, or provide a link that explains the entire implementation more clearly. Thank you very much in advance!

answered a year ago
  • You’re thinking about this in the wrong order. The get customer input block will play a prompt. For English press 1 or say English. For Spanish press or say… So the customer is already asked a question and then Lex will hear the response and match it to a slot.

0

Thanks dmacias & Magda,

I did achieve the results by add the numbers under slot values.

Enter image description here

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.