Invoke a new chatbot on the same webpage

Invoke a new chatbot on the same webpage

You can call a new chatbot when user clicks on a link or a button using the collectchat.open method. You have to pass the Bot ID of the new chatbot that has to be loaded to this method.

Here is an example:

<a href="#" onclick="collectchat.open('5ad9cbf6b17dad848274698a')">Open New Bot</a>

Note that this will open the widget instantly.

If you don't wish to open the widget, and instead only wants load the launcher of the chatbot, then you can use the method, collectchat.load.

For example:

<a href="#" onclick="collectchat.load('5ad9cbf6b17dad848274698a')">Load New Bot</a>


Still need help?

Contact us

Customize