https://discord.gg/botpress logo
Carousel/Card Action Buttons don't open URL
# 🤝help
s
I'm using a variable to set the button for Card. I see the button, but I can't get the URL to work. I tried different variations of the action and the value/url but none of it works. The link points to "#" only. workflow.actionButton = [{action:'Open URL',label:'Learn 1 more',value:'https...'}] workflow.actionButton = [{action:'open_url',label:'Learn 1 more',value:'https...'}] workflow.actionButton = [{action:'Open URL',label:'Learn 1 more',url:'https...'}] workflow.actionButton = [{action:'open_url',label:'Learn 1 more',url:'https...'}] Can you tell me what is the correct action and the key for the URL? P.S. I had to use HTTPS... because the bot is deleting my posts - he doesn't understand the code. @bumpy-butcher-41910 - Could you please change the MEE6 bot to not remove posts - he thought I'm sending some links - which was correct - it was part of my question - a fake link. https://cdn.discordapp.com/attachments/1261030115844816938/1261030116834676886/image.png?ex=66917950&is=669027d0&hm=cf5f8aaefb7931ddf8f3e47ac55563cd2fad4ea3bbce910d9b08dece5527e215&
Found it - in case anybody needs it, place it in the card Action Buttons as a variable to make it dynamic: workflow.actionButton = [{ action:'url', label:'Learn 1 more', url:'https...' }] If you need more buttons: workflow.actionButtons = [ { action:'url', label:'Button 1', url:'https...' }, { action:'url', label:'Button 2', url:'https...' }, { action:'url', label:'Button 3', url:'https...' } ]