Trigger Website Button Click from Voiceflow Chatbot Button
@Tico | Voiceflow Assistant I have a login button on my website that, when clicked, opens a new login page. I want to replicate this behavior inside my Voiceflow chatbot — meaning, when a user clicks a specific button in the chatbot, it should trigger the same click action on the website (not just open the URL directly).
In my console, running this works perfectly: document.querySelector("#login-button").click();
However, simply pasting the login page URL in Voiceflow doesn’t work since it must be triggered from the main page. Is there a way in Voiceflow to execute this DOM click event (or something similar) when a chatbot button is clicked?
1 Reply
Look into VF extensions.