To create a sequential survey like the one in the demo, you need to insert the Rich message ID in the Training phrases; check the example below.
- Go to Dialogflow and create a new intent. In the Training phrases area, enter the user expression survey example. In the Responses area enter the code [buttons id=”test-survey-1″ options=”Software,Physical products,Services” title=”What is your type of business?” message=”Please choose the type that best suits your company.” success=”Your company type is “]
- Create a new intent. Enter the user expression test-survey-1 and as response enter [select id=”seq-survey-2″ options=”Priority post, Express courier, International courier” title=”Shipping methods” message=”Choose the preferred shipping method of your customers” success=”Your customers preferred shipping method is”]
- Create a new intent. Enter the user expression test-survey-2 and as response, enter Thank you for completing our survey!.
- You’re done.
PREVIOUS < Dialogflow Chatbot Optimization
NEXT > Bot Training