Customize your SalesIQ Chat window with new Personalized Widgets (Beta)
Note:
- This feature is still in beta version. If need be, changes will be made to the JS API code/format for further refinement of the widgets.
- Additionally, the widgets JS API will work only on the new SalesIQ live chat. If you are using the older version, you will need to migrate to the new live chat widget to use this. To migrate, please contact us at [support@zohosalesiq.com] to get the updated live chat widget.
This guide details the setup options/steps for adding personalized widgets into your Zoho SalesIQ chat window using JS API.
- Enhanced user engagement: Personalized widgets can significantly boost visitor/user engagement on your website. Instead of passively absorbing information, visitors can interact with dynamic widgets, making the experience more engaging and intuitive.
- Increased visibility across all pages: Widgets are displayed on all pages of your website, ensuring consistent visibility. This allows you to effectively communicate key messages and offers to visitors regardless of where they are on your site.
- Interactive information delivery: Visitors are more likely to engage with content presented in a visually appealing and interactive format. By using interactive widgets, you can convey important information more effectively than traditional website text.
- Easy access to offerings: Visitors can easily access your products, services, and announcements by simply clicking on the widget. This seamless access encourages exploration and can lead to increased conversions.
- Flexible announcement options: SalesIQ supports four different types of custom widgets for your chat window (announcement, news, command panel and IM channels), allowing you to personalize and customize how you share information with your audience. Tailor the content to meet your business needs and the interests of your visitors.
SalesIQ supports four widgets types where you use them for news & updates with a CTA, listing your products, services and more.
- Announcement widget
- News widget
- Command panel widget
- IM channel widget
Widget
|
Descriptions
|
Functionalities
|
Output
|
Announcement
|
This widget can be used to spotlight an upcoming event, special offers, deals and more. This widget will include a clear call-to-action button (CTA) to drive user engagement.
|
- Banner with optional media (either a video or an image)
- Title
- Body text
- Call to action that links to an article or URL of choice
| |
News
|
This widget can share exciting updates and news, but without a call-to-action button (CTA).
|
- Banner with optional media (either a video or an image)
- Title
- Body text
| |
Command Panel |
This widget comes with multiple actions like starting a chat/call, open a URL or even invoke a custom action, all represented by a label. This widget can be used to present a variety of services or offerings, allowing users to take multiple actions directly from the widget like booking an appointment, accessing an article etc.
|
- Title
- Actions
- Start a chat
- Start a call
- Open a URL
- Open an article
- Trigger a custom client action
| |
IM Channels | This widgets helps to display the IM/social channels in two different ways.
|
- List of channels
|  (or)
|
Follow the steps below to add a widget of your choice to your SalesIQ chat window.
- Add SalesIQ installation code to your website's source code.
- First, you need to add the SalesIQ installation code to your website.
- For this, from the SalesIQ dashboard, navigate to Settings > Brands > Installation > Website and copy the SalesIQ installation code.
- Then, paste the installation code right before the closing </body> tag of your website's HTML source code.
- Add the custom widget code to the SalesIQ installation code.
- Once the SalesIQ code is added to your website's source code, the next step is to add the custom widget code to the SalesIQ installation code for the customizations of your choice.
- Following is the syntax for adding personalized widgets to the SalesIQ chat window.
Syntax:
- // SalesIQ installation code
- $zoho.salesiq.ready(function() {
- $zoho.salesiq.set("home.widgets", [
- // List of widgets to be shown
- ]);
- })
- The custom widget code of the intended widget type needs to be added within the home.widgets ready function of the installation code.
- More than one widget can be stacked one after another.
The following media and actions are support in the widgets.
Image and videos objects are support in Anncouncement and News widgets.
- 1. Image
- {
- "type" : "image",
- "url" : "https://www.zohowebstatic.com/sites/zweb/images/salesiq/bot/images_bot.png",
- "image_position" : "fit|fill"
- }
- 2. Video
- {
- "type":"video",
- "thumbnail":"https://zoho.com/images/bot.png",
- "url": "https://zoho.com/videos/bots.mp4",
- "autoplay" : true,
- "subtitles": "https://zoho.com/videos/bots.srt"
- }
Action object
Image and videos objects are support in Anncouncement, News, and Command panel widgets.
- 1. Link
- {
- "type" : "link",
- "label" : string, // Text to be shown
- "url" : "https://www.zoho.com/salesiq/help/developer-guides/bot-siq-scripts-zobot-response-cta-2.0.html"
- }
- 2. Call
- {
- "type" : "call",
- "label" : string, // Text to be shown
- "provider" : "native|system", // native - SalesIQ will be initiated | system - FaceTime or Mobile call
- "contact_number" : number //Phone number
- }
- 3. email
- {
- "type" : "email",
- "label" : string, // Text to be shown
- "email_id" : "support@zohosalesiq.com"
- }
- 4. chat
- {
- "type" : "chat",
- "label" : string // Text to be shown
- }
- 5. article
- {
- "type" : "article",
- "article_id" : $articleId // Ex : "115844000014148177"
- "label" : string // Text to be shown
- }
- 6. client_action
- {
- "type" : "client_action", // Triggers a custom client-side action based on clientaction_name key inside the action object. Visit client action API document for more details.
- "label" : string, // Text to be shown
- "name" : "bookbtn", // key to be sent when invoking the client function
- "clientaction_name" : "book_now"
- }
- The syntax code for an announcement widget is as follows.
Syntax:
- {
- "type" : "announcement",
- "banner" : media object ,
- "title" : string,
- "text" : string,
- "action" : action object
- }
- Customize the above syntax code with your requirements and paste within the ready function of the installation code.
Sample code
A code sample has been provided below for your reference.
- //From SalesIQ Dashboard, navigate to Settings > Brands > Select the brand > Installation > Website > Copy the code and paste here for this sample code to work.
- <script>window.$zoho=window.$zoho || {};$zoho.salesiq=$zoho.salesiq||{ready:function(){}}</script><script id="zsiqscript" src="https://salesiq.zohopublic.com/widget?wc=siqfe0612efca087f0231494bd17d55e66512cf7eb42ab4d0f0ae8ccc0a932be" defer></script>
- <script>
- $zoho.salesiq.ready = function () {
- $zoho.salesiq.set("home.widgets", [
- {
- type: "announcement",
- banner: {
- type: "image",
- url: "https://previewengine-accl.zohoexternal.com/image/WD/gkbu53ba12feb59204d558ba0e4440c52d3f1?version=1.0&width=2046&height=1536",
- image_position: "fit|fill"
- },
- title: "Lead Nurturing 101: Free Training",
- 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.",
- action: {
- type: "link",
- label: "Register Now",
- url: "https://www.zoho.com/zoholics/"
- }
- }
- ]);
- };
- </script>
Output
- The syntax code for an news widget is as follows.
Syntax:
- {
- "type" : "news",
- "banner" : media object,
- "title" : string,
- "text" : string
- }
- Customize the above syntax code with your requirements and paste within the ready function of the installation code.
Sample code
A code sample has been provided below for your reference.
- //From SalesIQ Dashboard, navigate to Settings > Brands > Select the brand > Installation > Website > Copy the code and paste here for this sample code to work.
- <script>window.$zoho=window.$zoho || {};$zoho.salesiq=$zoho.salesiq||{ready:function(){}}</script><script id="zsiqscript" src="https://salesiq.zohopublic.com/widget?wc=siqfe0612efca087f0231494bd17d03555e66512cf72ab4d0f0ae8ccc0a932be" defer></script>
- <script>
- $zoho.salesiq.ready = function() {
- $zoho.salesiq.set("home.widgets", [
- {
- type: "news",
- banner: {
- type: "image",
- url: "https://previewengine-accl.zohoexternal.com/image/BACKSTAGE/912000271967525?cli-msg=eyJtb2R1bGUiOiJFdmVudEltYWdlUmVzb3VyY2UiLCJ0eXBlIjowLCJwb3J0YWxJZCI6IjY1MDczMzk2MSIsInN1YlJlc291cmNlSWQiOiI2NTA3MzM5NjEiLCJpZCI6IjkxMjAwMDI3MTk2NzUyNSJ9",
- image_position: "fit|fill"
- },
- title: "Join us at Zoholics: We'll talk tech and drink great coffee",
- 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!"
- }
- ]);
- };
- </script>
Output
- The syntax code for a command panel message is as follows.
Syntax:
- {
- "type": "command_panel",
- "title": "STRING",
- "actions": action objects
- }
- Customize the above syntax code with your requirements and paste within the ready function of the installation code.
Sample code
A code sample has been provided below for your reference.
- //From SalesIQ Dashboard, navigate to Settings > Brands > Select the brand > Installation > Website > Copy the code and paste here for this sample code to work.
- <script>window.$zoho=window.$zoho || {};$zoho.salesiq=$zoho.salesiq||{ready:function(){}}</script><script id="zsiqscript" src="https://salesiq.zohopublic.com/widget?wc=siqfe0612efca087f0231494bd17555e66512cf7eb42ab4d0f0ae8ccc0a932be" defer></script>
- <script>
- $zoho.salesiq.ready = function () {
- $zoho.salesiq.set("home.widgets", [
- {
- type: "command_panel",
- title: "Join us at Zoholics: We'll talk tech and drink great coffee",
- actions: [
- {
- type: "chat",
- label: "Start a Chat"
- },
- {
- type: "call",
- label: "Place a Call",
- provider: "native|system"
- },
- {
- type: "link",
- label: "Explore our Products",
- url: "https://events.zoho.com/ZoholicsSydney2024"
- },
- {
- type: "article",
- article_id: "ARTICLE_ID",
- label: "About Us"
- },
- {
- type: "client_action",
- label: "Book an Appointment",
- name: "bookbtn",
- clientaction_name: "openBookingForm"
- },
- ]
- }
- ]);
- };
- </script>
Output

You can showcase your Instant Messaging (IM) channels inside the SalesIQ live chat widget using two display types:
- action_item – Displays each IM channel as a vertical button, similar to the default Chat and Call buttons.
- channel_links – Displays the IM channels as icons arranged side-by-side, offering a more compact view.
Both options help users reach out to you via their preferred messaging platform directly from the SalesIQ chat interface.
Output
Supported Channels:
Below is a list of supported IM channels, including example values for id and url attributes used in widget configuration:
Note: The below example URL and ID belongs to SalesIQ's IM channels, please replace it with yours.
|
Channel Name | Example URL Format | ID |
| WhatsApp | https://wa.me/917305992852 | 917305992852 |
| LINE | https://line.me/R/ti/p/@246qkdpd | @246qkdpd |
| Instagram | https://ig.me/m/ZohoSalesIQ | ZohoSalesIQ |
| WeChat | weixin://dl/chat?<WECHAT_ID> | zoho_support_id |
| Facebook | https://m.me/ZohoSalesIQ | ZohoSalesIQ |
| X (Twitter) | https://x.com/messages/compose?recipient_id=5827392 | 5827392 |
| Telegram | https://t.me/zylker_shop_bot | zylker_shop_bot
|
action_item
- The syntax code for an action_item is as follows.
Syntax:
- {
- "type" : "action_item",
- "title" : string,
- // Allowed values for channel key - 'facebook' | 'instagram' | 'whatsapp' | 'telegram' | 'x' | 'we' | 'line'
- "icon" : {
- type : "channel",
- name: "channel's name",
- id: "$unique_key", // Optional if URL is present
- url: "<channel's URL>"
- }
- }
- Customize the above syntax code with your requirements and paste within the ready function of the installation code.
Sample code
A code sample has been provided below for your reference.
- //From SalesIQ Dashboard, navigate to Settings > Brands > Select the brand > Installation > Website > Copy the code and paste here for this sample code to work.
- <script>window.$zoho=window.$zoho || {};$zoho.salesiq=$zoho.salesiq||{ready:function(){}}</script><script id="zsiqscript" src="https://salesiq.zohopublic.com/widget?wc=siqfe0612efca087f0231494bd17555e66512cf7eb42ab4d0f0ae8ccc0a932be" defer></script>
- <script>
- $zoho.salesiq.ready = function () {
- $zoho.salesiq.set("home.widgets", [
- {
- type: "action_item",
- title: "Chat with us",
- icon: {
- type: "channel",
- name: "whatsapp",
- //The below number belongs to SalesIQ's WhatsApp, replace it with your WhatsApp business number
- id: "917305992852", // Optional if URL is present
- url: "https://wa.me/917305992852"
- }
- },
- {
- type: "action_item",
- title: "Chat with us",
- icon: {
- type: "channel",
- name: "instagram",
- //The below id belongs to SalesIQ's Instagram, replace it with your Instagram id
- id: "zohosalesiq", // Optional if URL is present
- url: "https://www.instagram.com/zohosalesiq/"
- }
- }
- ]);
- };
- </script>
channel_links
- The syntax code for an channel_links is as follows.
Syntax:
- {
- "type": "channel_links",
- "title" : string,
- // Allowed values for channel key - 'facebook' | 'instagram' | 'whatsapp' | 'telegram' | 'x' | 'we' | 'line'
- "channels": [
- {
- name: "channel's name",
- id: "$unique_key", // Optional if URL is present
- url: "<channel's URL>"
- }
- ]
- }
- Customize the above syntax code with your requirements and paste within the ready function of the installation code.
Sample code
A code sample has been provided below for your reference.
- //From SalesIQ Dashboard, navigate to Settings > Brands > Select the brand > Installation > Website > Copy the code and paste here for this sample code to work.
- <script>window.$zoho=window.$zoho || {};$zoho.salesiq=$zoho.salesiq||{ready:function(){}}</script><script id="zsiqscript" src="https://salesiq.zohopublic.com/widget?wc=siqfe0612efca087f0231494bd17555e66512cf7eb42ab4d0f0ae8ccc0a932be" defer></script>
- <script>
- $zoho.salesiq.ready = function () {
- $zoho.salesiq.set("home.widgets", [
- {
- type: "channel_links",
- title: "Reach us on",
- channels: [
- {
- name: "whatsapp",
- //The below number belongs to SalesIQ's WhatsApp, replace it with your WhatsApp business number
- id: "917305992852", // Optional if URL is present
- url: "https://wa.me/917305992852" // Replace with your WhatsApp number
- },
- {
- name: "line",
- //The below id belongs to SalesIQ's LINE, replace it with your LINE id
- id: "@246qkdpd", // Optional if URL is present
- url: "https://line.me/R/ti/p/@246qkdpd" // Replace with your LINE ID
- },
- {
- name: "instagram",
- //The below id belongs to SalesIQ's Instagram, replace it with your Instagram id
- id: "zohosalesiq", // Optional if URL is present
- url: "https://ig.me/m/zohosalesiq" // Replace with your Instagram username
- },
- {
- name: "we",
- id: "WECHAT_ID", / Optional if URL is present
- url: "weixin://dl/chat?WECHAT_ID" // Replace with your WeChat ID
- },
- {
- name: "facebook",
- //The below id belongs to SalesIQ's Facebook, replace it with your Facebook id
- id: "ZohoSalesIQ", // Optional if URL is present
- url: "https://m.me/ZohoSalesIQ" // Replace with your Facebook page name or user ID
- },
- {
- name: "x",
- //The below id belongs to SalesIQ's Facebook, replace it with your Facebook id
- id: "5827392", // Optional if URL is present
- url: "https://x.com/messages/compose?recipient_id=5827392" // Replace with your X (Twitter) recipient ID
- },
- {
- name: "telegram",
- id: "zylker_shop_bot", // Optional if URL is present
- url: "https://t.me/zylker_shop_bot" // Replace with your Telegram username
- }
- ]
- }
- ]);
- };
- </script>