I was wondering if anybody has ever experimented with this issue I'm having and could give me any input on the subject.
As it stands right now I'm trying to see if there is a way to grab a users input through the AWS Connect. I understand that there is already a "Get User Input" block in the GUI that is available for me to use, unfortunately it does not offer the fine grain control I am looking for with requests and responses from Lex.
Right now I am able to Post Content to Lex and get responses just fine, as well as output speech using Amazon Polly via my Lambda. This works great for things that do not require a user to have to give feedback for a question.
For example if a client asks
"What time is my appointment?"
and we give back
"Your appointment is for X at X time, would you like an email with this confirmation?"
I want to be able to capture what the user says back within that same lambda.
So the interaction would go like so:
- User asks a question.
- Lambda POST's it to Lex and gets a response
- Amazon Polly says the response - i.e: 'Would you like an email to confirm?'
- Lambda then picks up if the user says yes or no - POST's info to Lex
- Gets response and outputs voice through Polly.
If anybody has any information on this please let me know, thank you!