Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

dialogflow cx, how to obtain multiple answer from users

hello, I am trying to build a chatbot with dialogflow cx that allows user to enter multiple answers, for example:

what is your favorite color ? 

answer to select Black, Red, Green

currently I have 3 suggestion chips built that allow user to click on each color,the problem I am running into is

1. I tried looping back the user to the questions via route and condition like session.params.color !== null , but dialogflow wont let me do this cause the it thinks this will result in an infinite loop, what am I doing wrong?

2. if the apporach above is not right, what is the best way to this problem? 

 

Thanks in advance 

0 0 386
0 REPLIES 0