So, although we will have a live-chat option in Quriobot one day... Until that moment: How about the best of both worlds!

Meaning that you use Quriobot to start your Tawk.To widget if a user wants to talk to a live person and switch back once that conversation is over! 

Pretty cool, right? So here is the demo of Quriobot using Tawk.To widget as a fallback for the live chat:

The live demo is located here.

Step 0: In this explanation I already assume you to have a Quriobot running on your website.

Step 1: Include the Tawk.To installation code on your website:


Step 2: Enable developer mode:

Step 3: Add this code to the advanced initialization of the bot:

onLoad: function() {
if (!'qbClosed')){
Tawk_API.onChatEnded = function(){
setTimeout(function() {
Tawk_API.hideWidget();'qbClosed', false);
}, 1000)

Step :  We will make use of the Script Chat Text, Tawk.To Javascript API and Variables to pre-fill and open the widget:

function() {
quriobot.hide_frame();'qbClosed', true);
}, 3000)
name: "{{name}}",
email: "{{email}}"

Note: we're using {{name}} and {{email}} Bot variables to indentify the user.

That's it! If you add this as a Response to an answer option for example, you will start the Tawk.To widget chat and hide Quriobot. Closing the Tawk.To chat will make Quriobot reappear!


Need more help or looking for inspiration? Join the Quriobot community!

Friendly & Fun
Interact & Convert