Branching conversation in Amazon Lex

Viewed 1843

Is there a way to branch a conversation depending on a user input on an intent?

For example: Consider a binary intent such as "isRent" with an utterance "Are you renting right now?". The user is likely to answer either "yes" or "no". At this point, I have some more slots to ask the user. How do I update the prompt to ask for slots after this depending on the user's answer?

isRent

  • yes - What is your monthly rent? (collecting a value for slot {payment})

  • no - What is your monthly mortgage payment? (collecting the value for same slot as above)

2 Answers
Related