Reputation: 11
I have a lex bot in a Connect flow that asks for the person's name after they have said "hi".
I would like my Lex bot to ask for the person's name without them having to say "hi" first.
I basically want to remove the utterance and go straight to the prompt. My bot only has one intent.
This is my Connect contact flow
Upvotes: 1
Views: 1005
Reputation: 66
Here is what you can do:
Reference: I had asked this question long ago on one of the AWS forums. Here is the link. There API PutSession is mentioned. However, from my experience postText works better in this use case if you want to delegate the prompting for slots on the bot.
Caution: It is nowhere mentioned in offical AWS documentation that Lex user id is same as Connect contact ID when invoked from connect using 'Get Customer Input'. However, that is something which happens today under the hood. In future, it is possible AWS may change the internal implementation.
Upvotes: 2