https://discord.gg/botpress logo
#🤝help
Implementing carousel
# 🤝help
h

happy-wolf-69440

07/02/2023, 1:41 AM
Hello. I have created a chatbot that shows 4 different types of protein powder options in a carousel. After the carousel is shown to the user, a text message pops up asking if the user has any information regarding any of the protein powders displayed in the carousel. If the user for example where to ask, can I get protein 1, I want a carousel to pop up as a carousel. I was wondering if anyone knows how? Thanks in advance. //zakmakzak
e

early-train-33247

07/02/2023, 1:44 AM
Hey @happy-wolf-69440, I didn't quite get your requirements, could you elaborate more, please?
h

happy-wolf-69440

07/02/2023, 2:49 PM
Hello @early-train-33247 Im sorry for the lousy written requirements. Let's say that the user asks the chatbot for whey protein (asking for whey protein through raw input), what I want to happen is that a carousel with different options of whey protein shall be shown to the user. I wonder if this is possible.
Thank you in advance // zakmakzak
day 2 of waiting for an answer
e

early-train-33247

07/04/2023, 1:19 AM
Hey @happy-wolf-69440, sorry for the delay, we have a smaller headcount on weekends!
It's definitely possible, just add a Carousel card with all of your product options!
The title, subtitle and links of the options can not be dynamic right now, so you will have to use static values.
To add a carousel card, create a node, then click "Add card", click "Carousel", then click "Add carousel cards" to add as many cards as you want.
You can add titles, subtitles and upload images of the products
Since there is no way to have a custom list of cards at the moment, you could add some logic to redirect the user to nodes with specific carousels. Let's say they want something to reduce weight - it would take them to a carousel with products specific for that
So, divide your carousels by product category
And upvote and follow this post #1125588762601197688 to be notified
9 Views