Jhonar Salina
Jhonar Salina

Reputation: 23

How to build a Dialogflow agent with open questions?

I'm doing a customer satisfaction survey and I want to end it with a question like "Lastly, I'd like to know if you have any feedback on your experience with this process"

Here the user can write anything, often I want to thank him and end the conversation.

My flow is the following: Flujo

The open question is asked in the response of the intentions: Q3_opinionservice -custom - yes Q3_opinionservice -custom - no

Pregunta abierta

Receive a text of an open question and end the conversation

Upvotes: 1

Views: 178

Answers (1)

Scott B
Scott B

Reputation: 2994

You may try and consider below approach.

In this approach, you will add a Custom follow-up intent on each of your Q3_opinionservice -custom - yes and Q3_opinionservice -custom - no.

The Custom follow-up intent will only contain one training phrase (any random sentences you want) and then annotate it as sys.any entity in which it matches any non-empty input as mentioned in this Dialogflow System Entities documentation.

My sample custom follow-up intent: enter image description here My sample conversation output:

enter image description here

Upvotes: 0

Related Questions