1

Anytime a user does not specify a response to a parameter prompt, I would like to trigger a WebHook.

My Start page has a No-input default event handler, but this only seems to apply to page-level prompts, not parameter-level.

Do I need to configure a set of No-input handlers for every parameter on every page?

Sam Barnum
  • 10,559
  • 3
  • 54
  • 60

2 Answers2

1

You should be able to apply no-match-* and no-input-* to each parameter too. These are reprompt event handlers are they are available for each parameter. You can either set the no-input-default or the no-input-1, no-input-2, etc.

Check out: https://cloud.google.com/dialogflow/cx/docs/concept/handler#event-parameter

Romin
  • 8,708
  • 2
  • 24
  • 28
  • So, no way to set it in a global way, I need to apply it to each parameter – Sam Barnum Jun 24 '22 at 16:00
  • 1
    You can add these event handlers at the specific page level also but keep in mind that it will be tedious to understand which parameter is to be filled, etc. It is more appropriate to do it at a parameter level, and then via no-input-1/2/3 -- you can guide the user to the specific information that you need. – Romin Jun 26 '22 at 05:09
0

Answering your question, yes but you can create a custom parameter to manage all of the no-inputs that you want to use on your start page, also it's better to use them on a parameter level.

To do so you can add a parameter with entity type @sys.any, which can capture the user input and put the value into the variable.

enter image description here

Then you’ll be able to use a route to check if the user_input meets the condition.

enter image description here

Eduardo Ortiz
  • 715
  • 3
  • 14