How to make custom html elements with buttons to trigger intents


#1

Currently I am using the “text component” to render html since only it supports html rendering(carousel ,cards do not render html). So can we use the button created via html to trigger a event or intent?[ botpress version 11.5.1] This is pure html, on click of “new user” ‘new user’ intent should be triggered and so on.How to get the payload ?
html


#2

@vinayak99999 Custom components for the webchat will be available in the next release, which will be ready shortly. You will be able to create your buttons (or form, or anything else) and you can send any type of event when they are clicked.

Examples on how to do that will be available on GitHub before the end of the week.