Passing the data from database to Card Carousel in rasa

Can I pass the data from database to Card Carousal in rasa? How do we do it?

You can use custom Action to do this.