What will happen if we deploy two Zobots/Chatbots on the website?

What will happen if we deploy two Zobots/Chatbots on the website?

Hi everyone, 

The chatbot is a powerful tool to automate customer interaction on your website. But, what will happen if we deploy two different chatbots on the website? If you've deployed both answer bot and Zobot on the website for the same flow, then one of the bots will execute based on the visitor criteria. If you've set the same criteria for both the bot then 70% of the time Answer bot will execute and respond to the visitors. We always recommend you to have one chatbot deployed on the website. But, if you have multiple criteria of visitors on your website, then we have more suggestions for you in this post. Come on, let us discuss them together!

1. Is it possible to setup different Zobots for different pages of my website? 
                                       
Yes, it is possible. The bot requirement may differ according to the business. Some might need a Zobot for marketing purposes to showcase their products and offers. A few businesses might need an Answer bot for answering routine questions. But it would be nice to have different bots on the website to achieve maximum engagement.

Note:
  • When you deploy the Answer bot and Zobot, the answer bot will get triggered overriding the Zobot. 
  • When you deploy 2 or more Zobots on your website, the Zobot which is recently edited will get triggered overriding the other Zobots. 
2. How can we deploy different bots based on the pages/URLs?

There are two solutions to handle these cases.

Solution 1 - Setting different Business hours: 

The bots can be deployed based on their working hours. For example, a Zobot can be activated on business hours, and during non-business hours, the answer bot can be activated. 


Solution 2 - Different Flow based on the Pages/URLs

You can setup different bot flows based on the website URLs using Criteria router block and Trigger handler in Codeless bot builder and SalesIQ scripts respectively. 

For the Codeless bot, the Criteria router block helps you to split the bot's flow based on the visitor's criteria. For example: In an E-commerce website, on the home page, the bot can be used from the marketing perspective to showcase personalised products or offers to your visitors. The bot can have another flow with Auto pilot block on the contact page to provide extensive support. 



As mentioned in the above reference, when the customer navigates to the contact page, the Autopilot block will be triggered and answers the visitor's questions using your resources (Articles and FAQs). For the rest of the pages (Not matched) flow, the bot provides the visitors with product suggestions. 

For the SalesIQ script platform, a rule can be specified based on the website URLs on the trigger handler using the syntax below. 
  1. currentPageUrl = visitor.get("current_page_url");
  2. if(currentPageUrl.contains("home"))
  3. {
  4.          // condition for pages home and other pages
  5.          response = Map();
  6.          response.put("action","reply");
  7.          response.put("replies",{"Hey there! Welcome to Zylker Store"});
  8.          response.put("input",{"type":"select","options":{"Today's Hot deals","I want to buy","Just browsing"}});
  9.           return response;
  10. }
  11. else if(currentPageUrl.contains("contact"))
  12. {
  13.        //condition for only contact page
  14.         response = Map();
  15.         response.put("action","reply");
  16.         response.put("replies",{"Hey there! How can I help you today"});
  17.         response.put("input",{"type":"select","options":{"I need assistance","Order not recieved","Raise a ticket"}});
  18.         return response;
  19. }
  20. else
  21. {
  22.          response = Map();
  23.          response.put("action","reply");
  24.          response.put("replies",{"Hey there! Welcome to Zylker Store"});
  25.          response.put("input",{"type":"select","options":{"Today's Hot deals","I want to buy","Just browsing"}});
  26.          return response;
  27. }

This way, you can have a different flow based on the URL while having one Zobot deployed on your website. 

3. Is it possible to deploy the Answer bot in Zobot flow? 

Yes, using the Autopilot function, you can bring the answer bot engine inside Zobots' flow. We have autopilot block for the codeless bot builder, and for SalesIQ scripts, autopilot_action can be used. To know more about autopilot, click here.  

I hope you found this post helpful! Try this out and share your feedback on the comment section 😄 

      • Sticky Posts

      • Optimizing Chatbot Versatility by Combining Answer bot and Zobot

        Hi everyone! Great to see you. We are delighted to introduce the Answer bot card/autopilot function for the Codeless and SalesIQ Script bot platforms. This provides your bot with Q&A capabilities similar to the Answer bot. So, you can bring your Answer
      • What will happen if we deploy two Zobots/Chatbots on the website?

        Hi everyone,  The chatbot is a powerful tool to automate customer interaction on your website. But, what will happen if we deploy two different chatbots on the website? If you've deployed both answer bot and Zobot on the website for the same flow, then