how we can invoke the intent automatically in Amazon Connect.

0

I have created an Amazon Lex bot with around eight intents. I want to invoke Amazon Lex intent without providing simple utterance. how i could invoke it without providing utterance. Please someone assist me in this regard.

3 Answers
0
Accepted Answer

Can you explain your use case for this intent. Is it always going to be no utterance? Are you ignoring the utterance regardless? Or if they say something, you will use it, and if they dont, you want some specific utterance as default?

So depending on where is this a bot calling from like using Amazon Connect, you might get a timeout. Then you can use RecognizeUtterance https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html to tell the bot on what the intent will be in advance. Then you call the bot again it will execute the intent since it got the utterance out of band.

profile pictureAWS
answered 5 months ago
  • I have created a contact flow in which we used "Get Customer Input" block. in which we use amazon Lex bot with only one intent. I want to capture user input without providing utterance to invoke the intent. What should i do to invoke the intent without proving utterance.

0

If the intent has a slot that you want to capture then you can have a look at this blog. https://aws.amazon.com/blogs/machine-learning/manage-dialog-to-elicit-amazon-lex-slots-in-amazon-connect-contact-flows/

profile pictureAWS
answered 5 months ago
0

Hi Muhammad, I believe you can configure a Lambda function to do this. Provide an input based on the intent you want to invoke in the Lambda function. See the documentation on Amazon Lex V2 . Once you complete the Lambda function setup (completing all parameters), you can now invoke the Lambda function.

AWS
JoeWil
answered 4 months 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.

Guidelines for Answering Questions