Hi everyone!
We're here with another simple yet effective plug for your chatbot to integrate with
Zoho Cliq to make your job easier. Just imagine whenever a potential lead or your premium customers are on your website, and they engage with your chatbot, you'll receive instant notifications on Cliq, complete with their details and a chat URL.
Sounds helpful, right?
Now get all this information on your cliq as a message. If a prospect or a premium customer is conversing with the bot, then on a click you will be redirected to SalesIQ. You will get the complete information of the chat and can also take over the chat from the bot, thus providing your best assistance.
Are you new to SalesIQ? Wondering what these plugs and bots are?
Zoho SalesIQ is a customer engagement and live chat platform for your website. To automate customer engagement, SalesIQ offers chatbots. With the Codeless bot builder, you can build chatbots by dragging and dropping cards. This bot builder has almost all essential cards needed to build your bot. However, at times, businesses would require unique actions from the bot and for those instances, we have
Plugs. With plugs, you can create a unique action and bring it as a card inside the codeless bot builder like the rest of the cards. In this post, we will take a look at how to create a plug integrating your bot with Zoho Cliq and the possible benefits.
How can this Plug help your business?
- Get notified in Cliq when a specific type of visitor engages with chatbot. These visitors can be who you think are important for your business like premium customers, potential leads, visitor with a good lead score, visitors from a specific URL or source, visitor with CRM deal closing date period, etc. as per your requirement.
- Cliq bot will notify on the personal chat (subscribers of the bot) or on a group channel based on the preference.
- Get your visitor details like name, chat URL, and other information, in the message notification.
- Clicking on the chat URL, you will get redirected to the SalesIQ's bot conversation, where you can look at the bot chat. If required, you can take over the chat.
Plug overview
- The SalesIQ bot will collect the required information and send it to the Cliq bot while the conversation is ongoing.
- Next, the Cliq bot will send this information to personal chat or a group channel in Cliq as per your business needs.
How to build this Plug (promising lead engages with your bot) ?
Step 1 - Create a connection between SalesIQ and Zoho Cliq
- In your SalesIQ Dashboard, navigate to Settings > Developers > Plugs > Click on Add .
- Provide your plug a name, and description, select the Platform as SalesIQ Scripts , and finally, click on Connection to your left bottom. You will be redirected to the connection interface.
- Click on Create connection at the top right corner.
- Under Default connection, select Zoho OAuth service.
- Provide your connection name, connection link name, and choose the scopes below.
- ZohoCliq.Webhooks.CREATE
- ZohoCliq.Messages.ALL
- Click on Create And Connect to connect Zoho SalesIQ and Zoho Cliq.

Note: The Connection Link Name will be used in the scripts to invoke URL tasks.
Upon successful authentication, Zoho SalesIQ will be connected with Zoho Cliq.
- The connection is successfully established.
Step 2 - Build the Plug
As we have created a connection between SalesIQ and Cliq successfully. It's time to build the plug. The first step in building the plug is defining the parameters. You can enter the metrics (information) which you want the SalesIQ bot to send to Cliq bot. I've taken the name, lead score, requirement (lead's interest) and conversation ID to create the chat URL.
Input Parameters
- Name : name | Type : String
- Name : leadScore | Type : String
- Name : requirement | Type : String
- Name : conversationID | Type : String
Script to notify a specific user via Cliq bot
If you want to notify (post information) to specific users in Cliq, copy the code below and paste it into your plug builder. Then, make the following changes.
- In line #16, get your portal's chat URL. For that, navigate to SalesIQ > Chats > Copy the URL except the conversation ID.
- In line #22, replace the cliq bot name in the URL. To get the bot name from your Cliq dashboard, click on your profile in the top right corner > Bots & Tools. Then, create a new bot or click on any existing bot. (All subscribers of this bot will get notified.)
- And, make sure, the connnection line name in line #25 is same as created during creating the connection between SalesIQ and Cliq (Step 1).
Plug Script/Code
- if(session.containsKey("name"))
- {
- name = session.get("name").get("value");
- }
- if(session.containsKey("leadScore"))
- {
- leadScore = session.get("leadScore").get("value");
- }
- if(session.containsKey("requirement"))
- {
- requirement = session.get("requirement").get("value");
- }
- if(session.containsKey("conversationID"))
- {
- id = session.get("conversationID").get("value");
- chat_url = "https://salesiq.zoho.com/zylkerinc/allchats/" + id;
- }
- list_data = {"text":"Lead Infomation","slides":{{"type":"list","data":{"Name - " + name,"Lead Score - " + leadScore,"Requirement - " + requirement,"Chat URL - " + chat_url}}},"broadcast":true};
- //replace your cliq bot name (salesiq) in line #22
- sendText = invokeurl
- [
- url :"https://cliq.zoho.com/api/v2/bots/salesiq/message"
- type :POST
- parameters:list_data + ""
- connection:"cliq"
- ];
- response = Map();
- return response;
- Then, click Save, preview the plug and Publish it.
Script to notify a specific channel via Cliq bot
If you want to notify (post information) to a specific channel in Cliq, copy the code below and paste it in your plug builder. Then, make the following changes.
- In line #16, get your portal's chat URL. For that, navigate to SalesIQ > Chats > Copy the URL except the conversation ID.
- In line #22, replace the Cliq bot and channel name in the URL. To get the bot name, click on your profile in the top right corner > Bots & Tools. Then, create a new bot or click on any existing bot. To get the channel name, click on the channel properties and get the channel's Unique Name.
- And, make sure, the connnection line name in line #25 is same as created during creating the connection between SalesIQ and Cliq (Step 1).
Plug Script/Code
- if(session.containsKey("name"))
- {
- name = session.get("name").get("value");
- }
- if(session.containsKey("leadScore"))
- {
- leadScore = session.get("leadScore").get("value");
- }
- if(session.containsKey("requirement"))
- {
- requirement = session.get("requirement").get("value");
- }
- if(session.containsKey("conversationID"))
- {
- id = session.get("conversationID").get("value");
- chat_url = "https://salesiq.zoho.com/zylkerinc/allchats/" + id;
- }
- list_data = {"text":"Lead Infomation","slides":{{"type":"list","data":{"Name - " + name,"Lead Score - " + leadScore,"Requirement - " + requirement,"Chat URL - " + chat_url}}}};
- //replace your cliq channel (leadsfromzobot) and bot name (salesiq) in line #22
- sendText = invokeurl
- [
- url :"https://cliq.zoho.com/api/v2/channelsbyname/leadsfromzobot/message?bot_unique_name=salesiq"
- type :POST
- parameters:list_data + ""
- connection:"cliq"
- ];
- response = Map();
- return response;
- Then, click Save, preview the plug and Publish it.
Step 3 - Adding the plug to the Codeless bot builder
- Navigate to Settings > Bot > Add, provide the necessary information, and select Codeless Bot Builder as a bot platform or open an existing bot.
- To notify in Cliq, click on Plugs under Action cards, select the plug you have created and provide the input values for the parameters defined in the plug builder.
- As we want to notify only the visitors whose lead score is more than 500. Use the Criteria router card and set up a rule.
- For lead score, provide the value "more than 500".
- Choose the %visitor.name% variable for the name.
- Select the %Active conversation id% to get the conversation ID for the chat URL.
- Get the requirement before using any input card, save it in the context variable and select the variable here.
Plug Output
This is how the Cliq users will be notified.
To a specific user
To a specific channel
Upon clicking the chat URL, you will be redirected to the ongoing bot chat, where you can monitor and take the chat if required.
Related links:
To know more about the features of Zobot, kindly visit our
Resources Section. I hope this was helpful. Please feel free to comment if you have any questions. I'll be happy to help you.
See you again with another efficient plug sample :)
Best regards
Sasidar Thandapani
Recent Topics
commision tracker
I am after a zoho developer to finish my commission tracker as I hired someone on oDesk that started but now will respond to my emails.I really need to get It finished as it is holding up my plans Thanks Budget : $500 | Duration : a.s.a.p To leave a private message, please click the link for private response in post Action section.
Generate a Zoho Sign link
From time to time I get a response "I never received your you e-document for electronic signature" is there a way to generate a Zoho Sign link to share.
Custom Related List anchor tag with tel protocol
The following code worked great for about a year to create clickable tel and mailto links in a related list in the Deals module. Just this morning, it started displaying the HTML as text. For example: <a href='tel:8882490100'>8882490100</a> Zoho support
Error 403: Forbidden When Updating Email Signature via API
Hi Zoho Desk team, First, congratulations again on the excellent Zoho API. But, I’m encountering an issue while attempting to update an email signature via the API. Whenever I make a request to update the signature, the response returns an HTTP 403 Forbidden
Queues Management ?
I need to assign the new requirements equally between my support agents. How I can configure this feature in Zoho? Thanks
Client Can't View Ticket
Hi, I created a ticket for my Client since he had an issue. I added him as a Contact as well. My client got a notification in his email that the ticket has been created. When he went to view the ticket on his desktop, the screen was blank. He then viewed
Automating Custom Web Link Messages to Customers via Instant Messaging in Zoho Desk
Hello, I am looking for assistance with Zoho Desk's Instant Messaging feature. Is there a way to automate the sending of a custom web link to customers every day at 6:30 PM? Any guidance or suggestions on how to achieve this would be greatly appreciated.
How do you apply field validation to a date field?
We are using Sign for remote e-signature of liability waivers. The signer must enter a date of birth, and if they are a minor their legal guardian must sign for them. However we have had numerous problems with signers returning an invalid date of birth
Implement Regex in Layout and Validation rules
Hello all, We are excited to announce that users can now implement Regular Expressions (Regex) in our layout and validation rules. This new functionality allows for more flexible rules to be created when designing and validating forms. What is Regex?
Zoho Desk Validation Rule Using Custom Function
Hi all, I tried to find the way to validate fields using custom function just like in Zoho CRM but to no avail. Is there a way to do this?
Editing landing page after signup for a webinar
Hi, how can I edit the landing page after signing up for a webinar. I personalized the email "registration confirmation", which is working fine. Nevertheless after submitting the form, the participant gets redirected to a page, which looks like the standard
Kiosk GetRecords can't compare formulas
(submitted as a help request by accident - should have been a topic) Scenario: I have an "email domain" formula whose value is "@xyz.com" if the e-mail address is brent@xyz.com . I have the same field in Leads and Contacts. So, theoretically, I should
Kiosk can't merge picklist or multiselect
There is no ability to load a multiselect or picklikst field into a kiosk with the values that have been previously selected. So, I essentially have 3 unacceptable options: 1.)Load the value into a text string and include instructions like this: "Picklist
Fillable template with dynamic tables?
Is there a way to build a fillable template so that users can add rows to a table? To describe what I'm trying to accomplish the table has 3 sections; a header row, some number of rows with custom information, and a summary row with totals. I can't figure
Tip of the Week - Timeline User Filter for Dashboard
Does the Date User Filter in your Dashboard leave out a few reports from filtering? This happens when the reports are not created over the same table and the (time) column over which the user filter is created. To solve this, Zoho Reports has a Timeline User Filter. This filter applies the criteria on all reports, matching it with the best possible date column associated with a report. i.e., if your reports are based on a date column, then it will filter it for that data column. To know more on
Zoho Forms Webhooks - Only sends on submission not on edit.
Hi There, We have a slightly unique use case for Zoho Forms. We used Zoho Forms for the collection of Guest Lists. When a customer submits their guest list they get an email confirmation. Within this is a link for them to update their guest list before
Add Knowledge Base KB Articles to multiple categories
Greetings, Love you help center system. One item that would be incredibly helpful to many of us would be able to add a single Knowledge Base KB article to multiple categories in our system. It seems it could be quite easy to use a checkbox form, instead
Global Sets for Multi-Select pick lists
When is this feature coming to Zoho CRM? It would be very useful now we have got used to having it for the normal pick lists.
What does "Tickets for Review" do?
What is the purpose of the va nilla view " Tickets for Review?"
Report of Leads/Accounts/Deals with no open activities
How can we replicate the option in filter to only show Leads/Accounts/Deals with no open activities ? The option is present in the filters (please find screenshot) but I am unable to find them in the report. Thanks
Cannot set Subform Multiline field to read-only using Client Script
I am using client script to set different subform fields as read-only It works for Single Line Fields, but when I try to set a Multiline field as Read-only it doesn't work var subform = ZDK.Page.getSubform("Subform_1"); var item_Code_old = subform.getField('Item_Code_Old').setReadOnly(true);
Changing Color Theme of Guided Conversations
Hello, We have recently added Guided Conversations to one of our websites, but I am wondering if there is a way to customize the color scheme so it matches the appearance of the website? Thank you in advance!
Lost the ability to sort by ticket owner
Hi all, in the last week or so, we have lost the ability to sort tickets by Ticket Owner. Unlike the other columns which we can hover over and click on to sort, Ticket Owner is no longer clickable. Is it just us, or are other customers seeing this too?
Can't login to Zoho mail
I'm logged into Zoho but when I try to go in zoho mail I get: Invalid request! The input passed is invalid or the URL is invoked without valid parameters. Please check your input and try again. I just set up my mx records and stuff with namecheap a few
Social Media Simplified with Zoho Social: Bridge sales and social media marketing
Social media marketing has become the go-to strategy for most businesses who are trying to boost awareness of their product/service, create a brand image in the minds of their audience, increase website traffic and engagement, and generate leads. Posting
This domain is not allowed to add. Please contact support-as@zohocorp.com for further details
I am trying to setup the free version of Zoho Mail. When I tried to add my domain, theselfreunion.com I got the error message that is the subject of this Topic. I've read your other community forum topics, and this is NOT a free domain. So what is the
Work Orders / Bundle Requests
Zoho Inventory needs a work order / bundle request system. This record would be analogous to a purchase order in the purchasing workflow or a sales order in the sales cycle. It would be non-journaling, but it would reserve the appropriate inventory of
Create Quote does not show the "Product Description" entered as part of the Product setup.
The product description created as part of the product setup page, does not show in the Create Quote module; The module allows for an additional description to be added but without access to the original stored description. By selecting the product from the "Product Name Lookup" pop-up, the "Product Description" part should be populated from the product record where the user is allowed to further modify it.
Allow Itemization for Recurring Expenses
For whatever reason, one cannot itemize a Recurring Expense. This capability should be added. The use cases to support this is largely the same as what they were to allow for itemization in Expenses. Anything that would need to be itemized for a regular
Feature Request – Auto-Save Draft for Interview Assessments
Hello Zoho Recruit Team, I’d like to suggest a feature that would be incredibly helpful for recruiters conducting multiple interviews. Currently, when filling out an Interview Assessment, there is no option to auto-save progress as a draft. At times,
Issue Saving Workflow Rule – "Unable to Process Your Request" Error
Dear Zoho Recruit Support Team, I am experiencing an issue while trying to integrate a new rule into a workflow. Specifically, I am setting up a Follow-Up workflow for applicants, where a user is assigned based on specific requirements. However, when
Introducing LeadChain in Bigin to sync leads from Social Ads easily
We're excited to introduce a new topping in Bigin called LeadChain by Zoho Social. LeadChain instantly syncs lead information from social media lead ads to Bigin, making it easier to turn them into customers. It also helps you send conversion data back
Office 365 or Outlook?
Hello I'm just setting up IMAP integration with our CRM for the first time since we changed to using Outlook via a Microsoft 365 account. I have the choice of 'Office 365' or 'Outlook'. Which should I choose? Thanks
Request for Information on Zoho Desk Webhooks Availability and Security
Hi Team, We need some information regarding Zoho Desk webhooks. Could you please provide details on the following: Event Order Guarantee: Does Zoho guarantee that Desk events will always be processed in the exact order they occur? For example, if two
Integration of WhatsApp with Zoho Commerce for Customer Support
I am looking to integrate WhatsApp Plus into my Zoho Commerce store to enhance customer support and communication. Specifically, I want to know how to set up WhatsApp chat for real-time assistance on product inquiries, order tracking, and post-purchase
Client Script | Update - Introducing Subform Events and Actions
Are you making the most of your subforms in Zoho CRM? Do you wish you could automate subform interactions and enhance user experience effortlessly? What if you had Client APIs and events specifically designed for subforms? We are thrilled to introduce
Trying to find out the best solution for Travel booking/event organization.
I've been looking for answer during some time, sadly, but couldn't find any. Probably someone has an idea? Would appreciate any tips. Example 1. The client is interested in booking an Hotel room. He fills out the web-form on the landing page of this particular
Using Custom Fonts for All Users without Installing on Each Users System
Hi, Couple of questions, is it possible to upload a Custom Font to Zoho Writer and have all users see/use that font without installing it manually on each users system? If so, does this need to be done by the Super Admin or can anyone with Admin permissions
CRM - QR Codes and Bar Codes
Hi I am using CRM to run my service team - Asset maintenance business We need to move to and generate a QR code for each Asset we look after. And we need Bar code reading for the testing we do. (pre-bar-coded sample bottles are provided by the lab) Does
Access Tokens and Webhooks
I have a linux server application that I want to be able to talk to the cliq chatbot and get a response back to that linux server application. This is for the linux server application to check the chat/channel's message history in Cliq. The Zoho API console
Next Page