Showing carousel from Execute bloc
# 🤝help
d
Hi there, I created a carousel in an execute bloc with the following code. My question is how to show this carousel to the user? const carousel = kbResults.map((record) => { return { type: 'card', content: { title:
${record.Type} - ${record.Area} m2
, subtitle:
Superficie: ${record.Area} m2 | Chambres: ${record.Bedrooms} | Price: ${record.Price}€
, imageUrl: record.Url, buttons: [ { type: 'postback', label: 'More Details', payload: { type: 'showDetails', recordId: record.id } } ] } } })
f
I think they did something here, but this is not perfect, and is still in production ! https://discord.com/channels/1108396290624213082/1135960836209393676/1230793603312259083
d
They're using "bp.dm.replyToEvent" but in my Execute card "bp" is undefined
f
Yea. As said, its in production so its not going to be perfect. It should still work in the emulator.