Hello,
repost off of: Optional parameters for form filling in Dialogflow CX - Stack Overflow
I have a scenario where I ask a customer if they can provide their address. If the customer says "no" then I want to continue with the dialog and if they provide the address, I need to validate it. I have 3 pages in this scenario, Collect Address, Continue, and Validate Address page. In the Collect Address page I ask the user in Entry fulfillment if they could provide their address. I have a route with a confirmation.no intent that is supposed to go to the Continue page and a route with a condition that checks if the parameter called $page.params.customerAddress is not null (therefore set) and goes to the Validate Address page. Here is the parameter form filling:
and here is the routes:
Now, when I set the parameter to "required" it will ask the customer to provide the address and then when they say "no" it will just go to the Validate Address page:
However, when I set the parameter to not required and I give an address it will reprompt and say "Sorry, could you say that again?"
I am wondering what the behavior of the "Required" check box is in this context and if I can make it so if the user says no to go to the Continue page?