botpress / v12

Botpress OSS – v12
https://v12.botpress.com
GNU Affero General Public License v3.0
83 stars 91 forks source link

redirect to an external url using a button made in choice skill #786

Closed kenkaigu closed 1 year ago

kenkaigu commented 5 years ago

My feature request is to include an option on a button made from choice skill, to redirect a link to an external url...

Here's a detailed explanation including screenshots

https://help.botpress.io/t/how-to-redirect-to-an-external-url-while-using-a-button-made-in-choice-skill/1791

This option will be really beneficial using choice skill buttons since at the moment, you can only add an external url if you are using cards...

ankurprasad711 commented 5 years ago

Hi kenkaigu , I'll give this a try. Do assign it to me. thanks

kenkaigu commented 5 years ago

Hi kenkaigu , I'll give this a try. Do assign it to me. thanks

Please do... Kindly have a look at it . It will be of great help to the community.

https://help.botpress.io/t/how-to-redirect-to-an-external-url-while-using-a-button-made-in-choice-skill/1791

kenkaigu commented 4 years ago

has there been any feedback on this ?

nisargkdesai commented 4 years ago

@kenkaigu for temporary work around. if you are wanting this for web channel than you may create event hook and handle it on webpage where you injecting botpress. by

window.addEventListener('message', function(event) {            
      if (event.data.name === 'yesevent'){
window.location.href="www.anothersite.com"
}
})
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ragazzo-br commented 1 year ago

I solved this problem, doing this: is enought add a simples text option and put an html external link as <a href="https://www.amazon.com">click to visit

jondoescoding commented 1 month ago

click to visit

How did you manage to get this to work. Whenever I place the link within the standard node using text nothing happens.