I am trying to figure out how I can embed Google Actions responses, such as the cards carousel, in a webhook response for DialogFlow.
According to the documentation, the structure looks as following:
"carouselSelect": {
"items": [
{
"optionInfo": {
"key": "MATH_AND_PRIME",
"synonyms": [
"math",
"math and prime",
"prime numbers",
"prime"
]
},
"title": "Math & prime numbers",
"description": "42 is an abundant number because the sum of its proper divisors 54 is greater...",
"image": {
"url": "http://example.com/math_and_prime.jpg",
"accessibilityText": "Math & prime numbers"
}
}
Is there a way to let the device simply follow a link when a certain card is clicked?
In the documentation, there is a paragraph Handling selected item
, but this does not really answer my question. In my case, I am showing the cards from a DialogFlow conversation as explained in How can I integrate the Google Actions responses in a webhook response in Dialogflow?, so I am not following the Google Actions SDK flow as explained in these docs.
Also as a side note, if I am understanding this paragraph correctly, the backend service is called with a certain selected item. In my scenario, I don't need this information in the backend, I would rather want the device to just follow the URL.