0
Under review
Carousel Card Node variable
Is it possible to display a carousel with variable card node? That is, the cards nodes in the carousel come from the response of an API?
Customer support service by UserEcho
Ariel,
You will need to fetch the data from API and store it in a variable. This variable can then be used in the carousel card node.
Thanks for your answer.But I do not think it was clear. I have an API that returns the set of card node that the chatbot should display. Is it possible to do that? If it is not possible, how can I implement the visualization of a dynamic set of cards node?
Thanks!
Hi Praveed,
Did you see the case? It's possible?
Yes, this is possible. The data retrieved from API need to be first stored in a variable and this should be used in the Carousel Card node.
Hi Praveed.
In others words, my API returns the cards to be displayed. This can be done?
Yes, this is possible.
Can you explain how? Or send me an example?
Could you add the API in your episode in the bot and send me over the link? I'll then be able to make few changes to show you how it works.
Hi Praveen
This is the url bot https://www.onsequel.com/channels/9473/episodes/21558/trees/21551
Thanks!!!
Could you please let me know what data you'd like to retrieve from the API and show them in Carousel Card?
{
{
"Name": "Card1",
"ImageURL": "http://...",
},
{
"Name": "Card1",
"ImageURL": "http://...",
},
{
"Name": "Card1",
"ImageURL": "http://...",
]
Thanks! Will review this further and update.
Oy. Or if you have another alternative, it will be welcome. Thank you!