Personalize your SalesIQ Chat window with new custom widgets

Personalize your SalesIQ Chat window with new custom widgets

This guide details the setup options and steps for integrating a personalized widget into your Zoho SalesIQ chat window using JS API.

Syntax:
  1. $zoho.salesiq.ready(function() {
  2.     $zoho.salesiq.set("home.widgets", [
  3.   // List of Widgets to be shown
  4.      ]);
  5. })
The following personalized widget types can be added to your SalesIQ chat window:
  1. Announcement message
  2. Info message
  3. List message

Widget types for your SalesIQ chat window

Announcement message

An announcement message can typically contain the following elements:
  1. Banner with optional media (either a video or an image), 
  2. Title
  3. Body text
  4. Call to action that links to an article or URL of choice

Code structure

  1.  {
  2.     "type": "announcement",
  3.     "data": {
  4.         "banner": {
  5.             "video_url": "URL_TO_VIDEO",  
  6.             "image_url": "URL_TO_IMAGE"
  7.         },
  8.         "title": "STRING",  
  9.         "body": {
  10.             "text": "STRING" 
  11.         },
  12.         "action": {
  13.             "invoke": "STRING",
  14.   "article_id": "STRING",
  15.             "url": "URL",
  16.             "text": "STRING"
  17.         }
  18.     }
  19.  }

Sample announcement message with code structure



  1. {
  2.      "type": "announcement",
  3.      "data": {
  4.          "banner": {
  5.              "image_url": "https://example.com/chicago-meetup-image.png",  // URL of the Chicago skyline image
  6.              "alt_text": "Chicago Meetup"
  7.          },
  8.          "title": "Lead Nurturing 101: Free Training",  // Title of the announcement
  9.          "body": {
  10.              "text": "All Zoho users in the region are welcome to join the meetup! Zoho One subscribers will gain the most insights. Zoho CRM and other stand-alone app users will discover how Zoho’s full suite can boost their business success."  // Description text
  11.          },
  12.          "action": {
  13.              "invoke": "open.url",  // Action triggered by clicking the button
  14.              "url": "https://example.com/register",  // URL where the button directs users
  15.              "text": "Register now"  // Text for the action button
  16.          }
  17.      }
  18. }

Info message

An info message is similar to an announcement, but often uses an image in the banner and does not include an explicit call-to-action button.

Code structure

  1.  {
  2.     "type": "info",
  3.     "data": {
  4.         "banner": {
  5.             "image_url": "URL_TO_IMAGE"    
  6.         },
  7.         "title": "STRING",
  8.         "body": {
  9.             "text": "STRING"
  10.         }
  11.     }
  12.  }

Sample info widget with code structure



  1. {
  2.      "type": "info",
  3.      "data": {
  4.          "banner": {
  5.              "image_url": "https://example.com/zoho-sydney-image.png",  // URL of the Zoholics Sydney banner image
  6.              "alt_text": "Zoholics Sydney Australia"
  7.          },
  8.          "title": "Join us at Zoholics: We'll talk tech and drink great coffee",  // Title of the info card
  9.          "body": {
  10.              "text": "We're bringing you product updates, one-on-one support sessions, and extensive networking opportunities with Zoho customers and partners. Fuelled by your feedback, we've worked to ensure that this year's Zoholics has something valuable for everyone!"  // Description text
  11.          }
  12.      }
  13. }

List message

A list message allows for multiple actions that can be performed, each represented by a label. The actions performed can be as follows.
  1. Invoke a chat
  2. Invoke a call
  3. Open a URL
  4. Trigger a client action

Code structure

  1. {
  2.     "type": "list",
  3.     "data": {
  4.         "title": "STRING", 
  5.         "body": [    
  6.             {
  7.                 "label": "STRING",
  8.                 "action": {
  9.                     "invoke": "STRING",
  10.                     "url": "URL",
  11.                     "article_id": "STRING",
  12.                     "clientaction_name": "STRING"
  13.                 }
  14.             }
  15.         ]
  16.     }
  17. }
Notes

Points to remember

  1. Invoke actions: The invoke field defines the type of action that the message or list item will trigger. Possible values include:
    1. start.chat: To start a chat session.
    2. start.call: To initiate a call.
    3. open.url: Opens a URL in a browser based on url key provided inside the action object.
    4. open.article: Opens a specified article based on the article id given in article_id inside the action object.
    5. custom.action: Triggers a custom client-side action based on clientaction_name key inside the action object. Refer client action JS API document
  2. Optional Fields: Fields like video_url, image_url, article_id, clientaction_name and url should be included only if necessary. Provide keys based on the action that needs to be triggered. For instance, if the action was to start a chat, providing an article id will not have any effect.
  3. Client Actions: If the list item action requires a custom behavior, the clientaction_name field can specify a custom action that the client can handle.

Sample list widget with code structure



  1. {
  2.      "type": "list",
  3.      "data": {
  4.          "title": "Join us at Zoholics: We'll talk tech and drink great coffee",  // Title of the list widget
  5.          "body": [
  6.              {
  7.                  "label": "Start chat",  // Label for the chat action
  8.                  "action": {
  9.                      "invoke": "start.chat"  // Action type: start a chat
  10.                  }
  11.              },
  12.              {
  13.                  "label": "Start call",  // Label for the call action
  14.                  "action": {
  15.                      "invoke": "start.call"  // Action type: start a call
  16.                  }
  17.              },
  18.              {
  19.                  "label": "Open url",  // Label for the URL action
  20.                  "action": {
  21.                      "invoke": "open.url",  // Action type: open a URL
  22.                      "url": "https://example.com"  // URL to be opened
  23.                  }
  24.              },
  25.              {
  26.                  "label": "Open article",  // Label for the article action
  27.                  "action": {
  28.                      "invoke": "open.article",  // Action type: open an article
  29.                      "article_id": "115844000014148177"  // ID of the article to be opened
  30.                  }
  31.              },
  32.              {
  33.                  "label": "Trigger client action",  // Label for a custom client action
  34.                  "action": {
  35.                      "invoke": "custom.action",  // Action type: trigger a custom action
  36.                      "clientaction_name": "openBookingForm"  // Name of the custom action
  37.                  }
  38.              }
  39.          ]
  40.      }

    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION









                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • WhatsApp Templates on SalesIQ

                                                                                                                WhatsApp templates are pre-saved message layouts or formats that businesses can utilize to send updates, communications and notifications to their customers. These will be particularly useful for sending messages such as order confirmations, shipping ...
                                                                                                              • Integrating Zoho Bookings with Zoho SalesIQ

                                                                                                                Zoho Bookings in SalesIQ Zoho Bookings is an online tool that your customers can use to book appointments with your experts and specialists to avail your services. When you publish your services on Zoho Bookings, your customers can access this ...
                                                                                                              • Audio Calls in SalesIQ chat window

                                                                                                                Server Maintainance Update: We have changed the servers. As a result, the IP ports are changed. If you have whitelisted the Zoho SalesIQ to get support from our team, Please enable/whitelist the following ports in your firewall for calls/conferences ...
                                                                                                              • How to customize the live chat widget and window?

                                                                                                                You can now customize the live chat widget and the chat window to match your website's look-and-feel and choose where and how you want them to be displayed to your customers and can connect with them seamlessly. Choose your widget type Float Widget ...
                                                                                                              • Click to Call on SalesIQ chat window

                                                                                                                Click-to-call customer support is a convenient feature that lets website visitors initiate a phone call with a support representative by simply clicking a button within a website or chat interface. The call option on the chat window allows visitors ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources