equal-aqua•15mo ago
react chat popup
in the react chat is there a function or way to trigger the chat to popup even though the user doesnt press the round plugin button
4 Replies
To automatically open the Voiceflow Web Chat widget in a React application without the user pressing the round plugin button, you can modify the code snippet to include a function that opens the chat after it loads. Here’s an example of how you can achieve this:
In this code:
- The
window.voiceflow.chat.load
function loads the chat widget.
- The setTimeout
function ensures the chat widget opens automatically after a 1-second delay. You can adjust the delay as needed.
For more details on customizing the Web Chat widget, you can refer to the Voiceflow Web Chat API documentation.why are you using the react chat?
and not the reg integration code?
equal-aquaOP•15mo ago
@W. Williams (SFT) implementing live handoff through react chat
You can do that with an extension and not have to run your own react app.