Page being skipped even though parameter is required

171 views
Skip to first unread message

Jeremy Selwin

unread,
Jun 21, 2022, 1:24:44 PM6/21/22
to Dialogflow CX Edition users
Hi,

I have been testing out the required parameter feature in Dialogflow and have had trouble with the routing and transitions to pages. 

I have a flow that collects a parameter with the entity of sys.date-time in order to book appointments. The issue is that I've set this parameter to required so it should collect a value for the parameter before transitioning to the next page, but the transitions instantly skip the whole page that assigns a value to the parameter.

I have attached some screenshots, of the flow, the parameter, and the route to the next page.

Thanks!
Screen Shot 2022-06-21 at 7.47.46 AM.png
Screen Shot 2022-06-21 at 7.48.03 AM.png
Screen Shot 2022-06-21 at 7.47.11 AM.png
Screen Shot 2022-06-21 at 7.47.27 AM.png

Eduardo Ortiz Caraveo

unread,
Jun 27, 2022, 3:43:09 PM6/27/22
to Dialogflow CX Edition users
You can define page entry fulfillment to inform the end-user that you will be collecting parameter values one by one, however you need to define a prompt for each required parameter separately, you can read about parameters in the link i’m sharing.

Jeremy Selwin

unread,
Jun 28, 2022, 11:38:37 AM6/28/22
to Dialogflow CX Edition users
I have a flow, where the initial step is to match an intent based on the text a user says. After this, if a specific intent is matched such as "Amenity Reservation Process", it will follow the flow to reserve an amenity. The issue now is that when I go to form filling where I say "Would you like to book the clubhouse? YES or NO" using an entity called yes_no which only takes in a yes or no value, if I send another text such as "What are the pet rules" which matches a pet rule intent, then it will go to the flow for the newly matched intent and ignore the form filling.

I sent a screenshot for better understanding, please take a look. 

When I say "I would like to reserve the clubhouse", the route goes to the "Pick Amenity" page where the entry fulfillment is the text shown in the agent testing panel. I want the same question to be repeated if the user does not type "YES" or "NO". But instead, if I send another text such as "What are the pet rules", the simulator matches the text to pet rules and ignores all of the form fillings. How would I update the flow to repeat the question if I don't get a yes or no response?

Screen Shot 2022-06-28 at 9.10.02 AM.png

Jose Gutierrez Paliza

unread,
Jun 29, 2022, 4:52:25 PM6/29/22
to Dialogflow CX Edition users

You’ll need to use a reprompt handler to retry the same fulfillment if there are no matches in your input, see this documentation[1].

These reprompt handlers also can be used in a flow-level to set it. You can see this[2].

[1]https://cloud.google.com/dialogflow/cx/docs/concept/parameter#form-reprompt 

[2]https://cloud.google.com/dialogflow/cx/docs/concept/handler#event-flow
Reply all
Reply to author
Forward
0 new messages