Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dialogflow list does not work on Google Assistant the first time

My Dialogflow agent is using an 'Actions on Google Rich Message' List response object to display options on the Google Assistant platform.

The list options work perfectly when testing on the Dialogflow console. However, when testing through the Google Assistant Simulator or Google Assistant app on a mobile device, the list option does not work on the first try. It works only when selecting an option the second time.

Any guidance would be appreciated.

like image 999
Shaikat Haque Avatar asked Nov 07 '22 08:11

Shaikat Haque


1 Answers

You have to add the actions_intent_OPTION event in an intent that can handler the user selection from list.

add event

You can access the value from the parameter using the #actions_intent_OPTION.OPTION

fetch value from list selection

like image 72
Satish Pandey Avatar answered Nov 15 '22 09:11

Satish Pandey