When the Slot value provided by user is found incorrect during validation, how to ask a question again to the user?
To collect the Slot value:
Add a Slot resolver to the flow.
The question given in the Prompt 1 is triggered.
After the user enters the input, the flow continues in Success path.
Write an API or decision point to validate the user input.
If the user input is found incorrect, loop the flow back to Slot resolver by connecting the appropriate decision point branch back to the Slot Resolver.
This will ensure that the question given in Slot Resolver's prompt 2 is asked.
Example
User : I need to modify my travel date BOT : What is your new date of travel? User : 15th of June BOT : Please wait while I process the data. BOT : Sorry. The date you provided is not valid. BOT : Please provide a correct date?
In the above example, the Slot value provided by the user is invalid so the user is asked the question again to gather the Slot value.
Slot Resolver Name: Date_Travel
Slot value : 15th of June
Prompt 1 : What is your new date of travel?
Prompt 2 : Please provide a correct date?
Decision Point : DateofTravel
