[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Open
  • Priority: Medium
  • Security: Public
  • Views: 31
  • Last Modified:

How to keep track of which slot was just filled in Lex?

I have a Lex Bot with 3 slots. The user will provide the Lex bot with first name, last name, and birthdate. The user can also fill multiple slots at once, such as 'My name is Steve Jobs.' I'd like the bot to repeat back the users name (or first name, or last name or DOB depending on what was said) before asking the next question. ie -'Thank you, your name is Steve Jobs. May I please have your birthdate'

I figure I need to use the elicitslot dialog action in my lambda function. However, I'm not sure exactly how I can do this. I think I need to figure out someway of keeping track of which slot was just filled. Is there a good way to do that?
0
Kevin B
Asked:
Kevin B
0 Comments

Join & Write a Comment

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now