To build a bot with open ended questions in Dialogflow CX, you can utilize the Flows and Pages features.
As an overview, Flows are used to define your topics and its associated conversational paths. For each flow, you can define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for.
You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page.
Once a page becomes active, the agent follows several steps which may involve entry fulfillment, pre-filling forms, state handler evaluation, form parameter prompting, sending response messages to the end-user, and either a page change or a repeat loop.
For your use case, you can create a flow for the user getting an error and pages for the error details.
To do this:
- Create an intent for the utterance “I get an error”.
- Add this intent as an intent route in your flow.
- In the same intent route, create a new page for the error.
- Under the Page’s Fulfillment, you can add your response as shown
below:

This approach will leave an open ended question. See the test result below:

Continue the flow by creating another intent for the utterance
“Java.lang.NullPointerException
”.
Add the intent as an intent route in your page for the error(As an
example: The page for the error is named “Error Types” and the
intent name in Step#5 is “Java Error” as shown below):

In the same intent route, create a new page for the
“Java.lang.NullPointerException
” (As an example, the page named is
“Java Error Type” as shown below):

Under the Page’s Fulfillment, you can add “Okay, what have you tried
so far to solve this problem?” as the response.
Continue the flow by applying the same approach to your other open
ended questions.
When this is completed, this is how your use case similarly looks like in the visual builder:

See the test result below:
