Advanced guides
Trigger a typebot command on a click of a button
- Head over to the
Settingstab of your button and add a dedicatedID - In your typebot
Embedelement, insert this code in the existing<script>tag:
BUTTON_ID_1 and BUTTON_ID_2 with the ID you added on your button elements.
In this example we are opening the popup when the specified buttons are clicked but you could also use any of the available commands.