I'm building an action for AoG using Dialogflow, using node.js as the fulfillment webhook.
I use suggestions and carousels in my app and want to respond to when a user clicks. My current implementation uses dialoglow's fallback, and then I check the payload manually for rawInputs.inputType="TOUCH" for suggestions and intputs.intent=actions.intent.OPTION for carousels. I'm looking for a more elegant way to do so with dialogflow and the webhook.
Does anyone know if there's a way to either:
- Detect a carousel selection event in Dialogflow that can later be used as intent
- A built-in method in the node.js webhook to catch this event.
