user14715589
user14715589

Reputation: 41

Slot Filling -- Only prompting page parameter fulfillment when parameter is empty

I am using Dialogflow CX and asking a user for the following information:

  1. name
  2. email
  3. phone

I have an intent designed that understands and saves those parameters in any permutation. The page is design with three required parameters for each of these fields. This all works perfectly. However, the page fulfillment begins with:

"Please provide your name, email, and phone number" "Please provide your name"

The "Please provide your name" is the Initial Prompt Fulfillment from the required parameter. How do I have that line only appear as a follow up, if the user did not provide their name?

I've tested event handlers, changing the parameters, and a few other options. I'm assuming this is a basic configuration issue but can't figure out the solution

Upvotes: 1

Views: 382

Answers (1)

Scott B
Scott B

Reputation: 2944

You can add a specific prompt for your parameter name and make it required so that if it isn't provided, the agent will send the prompt to ask the user to send the input for that parameter as shown below.

My configuration on my check_name parameter in which my entity used is sys.person: enter image description here

My full sample conversation output: enter image description here

You may use this Dialogflow CX Quicksart reference to have an idea on how adding a prompt in required parameters works.

Upvotes: 1

Related Questions