Connections: Connecting Cliq with any third party applications.

Connections: Connecting Cliq with any third party applications.

Dubious on how can Zoho Cliq be piped with other applications? Voila! You have come to the right place. Connecting Zoho Cliq to third party services is easier with connections.  Let's understand what connections are before connecting to one.

What are connections?
Connections are associates that act as an interface in connecting Zoho Cliq with any third party application. We have charted down the working of connections below  for better understanding.



How and when a connection is useful?
While integrating Cliq with other third party applications, APIs has to be invoked with authentication. Connections allows users to access their own data in an external application from Cliq in an authenticated manner. In general, a developer building an integration will have to use the authentication properties to generate auth tokens and use the APIs. This has an overhead of managing the tokens, renewing them as they expire and much more. With Connections, these implementations are made easier.




Before we move on to see how to create a connection, let us understand few phrases. There are two ways with which you can connect to a third party service. One by picking a service from a gallery of listed services and two, by custom creating a connection.


Gallery of services from which you can pick the service of your choice.
It holds a list of standard services already registered with Zoho as API client. Client Id, Client Secret and other auth properties needn't be mentioned by the user in this phase as these are already registered by Zoho for the third party application. All you have to do is select a service specify the name and scope and use it in your code.

Custom creating a connection.
Let's say you want to create a connection with a third party service that isn't available in the gallery of services. If that is the scenario, then Zoho Cliq lets you custom create a connection. To know more about how to customize a connection head over to our  help docs and also stay tuned as we will walk you through this with an example in our upcoming posts! 

Note: It is important that the "User credentials of login user" option be enabled. This is done to make the  Connection use the user's authentication . If not then the  Connection uses the  admin's authentication.

Authentication is an important step in successfully building a connection. This involves approving over one application to interact with another on your behalf without giving away your password details.

Basic Authentication:
HTTP basic authentication is the simplest technique for enforcing access control to web resources because it does not require login pages. Rather, HTTP basic authentication uses fields in the HTTP header, eliminating the need of communication between two entities. 

oAuth1
It's an authorisation framework that provides the ability to secure designated access. It doesn't share passwords but uses authorisation tokens to confirm the identity between consumers and service providers unlike the basic authentication that involves passwords.

oAuth2
oAuth2 specification defines a delegation protocol that is useful for conveying authorisation decisions across a network of web-enabled applications and API.

Invoke URL task
An invoke URL task is generated once the connection is created. This task should be used in your deluge script to access third party services via connections in Cliq. They support four HTTP methods, GET, PUT, POST and DELETE. To invoke a URL follow the syntax below. To know more on Invoke URL task head over to our help docs.
  1. response = invokeUrl [
  2. url : <url>
  3. type : GET/POST/PUT/DELETE
  4. parameters : <paramMap/string>
  5. connection : connection name
  6. ];
Now, let's understand how to invoke URL task with the connections by taking an example. 

SAMPLE SYNTAX TO PULL TASKS FROM TODOIST

  1. resp = Map();
  2. tasks = invokeurl [
  3. url :"https://beta.todoist.com/API/v8/tasks"
  4. type :GET
  5. connection:"Enter your connection name"
  6. ];
  7. info tasks;
  8. return resp;

PARAMETER

DESCRIPTION

URL

The resource URL for drawing out the tasks from Todoist - "https://beta.todoist.com/API/v8/tasks".Head over to the Todoist documentation to pull out the required URL.

 

Type

The HTTP type for the URL. Type used - GET 

Connection

Your connection name 


Steps in creating a Connection .
To get started, you need to build a bot  Menu handler  and create a connection with Todoist . Say, you have all your tasks in Todoist, right where you collaborate. To build a bot Menu handler, 
  • Click on your profile picture and select Bots & Tools option.
  • From there select the Bots icon that displays first in the list. 
  • Give your bot a name and description and hit save.
  • After creating a bot go to the Menu option in the Edit handler page and edit the Menu. (Example - My Tasks). 



Now, to connect Cliq with Todoist, 
  • Click on your profile picture and select Bots & Tools.
  • In the integrations page click on Manage Connections.
  • In the window that opens, click on Add a Connection.
  • Select Todoist from pick your service.
  • Give your connection a name and select the scope.
  • In this case, the scope for the connection will be,
  1. data:read_write
  2. data:read
  3. task:add 


SOURCE CODE FOR A BOT MENU HANDLER

  1. resp = Map();
  2. tasks = invokeurl
  3. [
  4.  url :"https://beta.todoist.com/API/v8/tasks"
  5.  type :GET
  6.  connection:"Enter your connection name"
  7. ];
  8. info tasks;
  9. taskname = "";
  10. rows = List();
  11. for each task in tasks
  12. {
  13.  row = Map();
  14. row.put("Task Name",task.get("content"));
  15. row.put("Priority",task.get("priority"));
  16. row.put("Close","[Close](invoke.function|connection name|your email address|" + task.get("id") + ")");
  17.  rows.add(row);
  18. }
  19. response = {"text":"Connecting Cliq with todoist! ","card":{"theme":"10"},"slides":{{"type":"table","title":"List of Tasks","data":{"headers":{"Task Name","Priority","Close"},"rows":rows}}}};
  20. return response;

 

SOURCE CODE FOR CREATING A BUTTON FUNCTION
  1. info arguments;
  2. info target;
  3. response = Map();
  4. closeTask = invokeurl
  5. [
  6. url :"https://beta.todoist.com/API/v8/tasks/"+arguments.get("key")+"/close"
  7. type : POST
  8. connection:"Enter your connection name"
  9. ];
  10. info closeTask;
  11. response = {"text":"Your task has been closed successfully!"};
  12. return response;

SAMPLE RESPONSE


Hope this helps :) Do let us know in the comments below in case of any queries. We would be happy to assist you.
Regards,
Divya P
Cliq
















    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts



                                                          • Sticky Posts

                                                          • Customer payment alerts in Zoho Cliq

                                                            For businesses that depend on cash flow, payment updates are essential for operational decision-making and go beyond simple accounting entries. The sales team needs to be notified when invoices are cleared so that upcoming orders can be released. In contrast,
                                                          • Automating Employee Birthday Notifications in Zoho Cliq

                                                            Have you ever missed a birthday and felt like the office Grinch? Fear not, the Cliq Developer Platform has got your back! With Zoho Cliq's Schedulers, you can be the office party-cipant who never forgets a single cake, balloon, or awkward rendition of
                                                          • Accelerate Github code reviews with Zoho Cliq Platform's link handlers

                                                            Code reviews are critical, and they can get buried in conversations or lost when using multiple tools. With the Cliq Platform's link handlers, let's transform shared Github pull request links into interactive, real-time code reviews on channels. Share
                                                          • App Spotlight : PagerDuty for Zoho Cliq

                                                            App Spotlight brings you hand-picked apps to enhance the power of your Zoho apps and tools. Visit the Zoho Marketplace to explore all of our apps, integrations, and extensions. In today's fast-paced world, seizing every moment is essential for operational
                                                          • Automate your status with Cliq Schedulers

                                                            Imagine enjoying your favorite homemade meal during a peaceful lunch break, when suddenly there's a PING! A notification pops up and ruins your moment of zen. Even worse, you might be in a vital product development sprint, only to be derailed by a "quick


                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources


                                                                                            Zoho Writer Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方




                                                                                                          • Recent Topics

                                                                                                          • Zoho Desk app update: AI powered features

                                                                                                            Hello everyone! We’ve introduced various AI-powered services on the Zoho Desk app. Let's take a look at what's new. Generate Content: Generate Content uses AI to formulate responses based on the your query and provides a ready-to-use reply which can be
                                                                                                          • Maximum tags possible in Contacts Records

                                                                                                            I read in some documentation that Zoho allows a total of 200 tags across all records. Is this correct? So it is not possible to have one tag per record for 500 records.
                                                                                                          • How to Automate Email Sequence

                                                                                                            I'm having trouble trying to set up a workflow to automate an email sequence. Once a group of emails in a Task has been tagged by a certain tag, I want an instant email template to be sent. After 7 days with no response, another email template would be
                                                                                                          • Turning off the new UI

                                                                                                            Tried the new 'enhanced' UI and actively dislike it. Anyone know how to revert back?
                                                                                                          • Zoho Sprints Android v2.0.4 app update: Item reminders, archive Epics, Kanban projects, Epic progress

                                                                                                            Hello everyone! In the latest version(v2.0.4) of the Zoho Sprints Android app update, we have introduced various new features. Let's take a look at what's new! Item Reminder Stay organized and never miss an important date with the all-new Item Reminder
                                                                                                          • Integrate your Outlook/ Office 365 inbox with Zoho CRM via Graph API

                                                                                                            Hello folks, In addition to the existing IMAP and POP options, you can now integrate your Outlook/Office 365 inbox with Zoho CRM via Graph API. Why did we add this option? Microsoft Graph API offers a single endpoint to access data from across Microsoft’s
                                                                                                          • Credit Management: #3 Setting Credit Limit for Customers

                                                                                                            Think about that one familiar customer of yours who always buys on credit. They usually pay on time, maybe a little late here and there, but not alarming. So, you are fine saying, "Sure, pay later." Then, one day, they place a significantly bigger order
                                                                                                          • Canvas View in Zoho Recruit

                                                                                                            Is it possible or would it be possible to have the new 'Canvas View' in Zoho Recruit?
                                                                                                          • Adding Reports to Portals

                                                                                                            Is there a way to add Reports to portals so only the user can see report templates relevant to them?
                                                                                                          • How to go to the next open ticket in the queue when agents closes ticket

                                                                                                            Zoho Desk When agent closes a ticket - eg when they choose 'Send and Close" - where is the setting that automatically redirects them to the next open ticket in the queue?
                                                                                                          • Update on the client portal URL for Guest users

                                                                                                            We’re updating the way Guest users access their Connect network. As part of this change, all client organization portals used by Guest users will now be accessible through a dedicated domain specific to each data center. The access URLs mentioned here
                                                                                                          • Preserve Ticket Issue Mapping When Migrating from Jira to Zoho Projects

                                                                                                            Hello Zoho Projects Team, We hope you are doing well. We are currently exploring a full migration from Jira to Zoho Projects, and we identified a critical limitation during the migration process involving Zoho Desk integration. Current Situation: We use
                                                                                                          • CRM verify details pop-up

                                                                                                            Was there a UI change recently that involves the Verify Details pop-up when changing the Stage of a Deal to certain things? I can't for the life of me find a workflow or function, blueprint, validation rule, layout rule ect that would randomly make it
                                                                                                          • Enhancements to Zoho Maps integration tasks

                                                                                                            Hello everyone, We're excited to announce enhancements to the Zoho Maps integration tasks in Deluge, which will boost its performance. This post will walk you through the upcoming changes, explain why we're making them, and detail the steps you need to
                                                                                                          • Unable to see Zoho contacts in Zoho app on ios

                                                                                                            Hi Support Team, I am a new user, I have created my account and installed zohomail app on iOS 16 which works. I was also able to import my Gmail contacts into Zoho Contacts, which I can see. The problem is that I can’t see these imported cobalts in Zohomail
                                                                                                          • Task Due Date greater than 10 years.

                                                                                                            We use recurring tasks in Projects where every week, month, year etc Some of our projects are greater than 10 years and we are unable to set a new due date because the difference between start date and due date is greater than 10 years. As an example
                                                                                                          • LINE Auto Message Connect to Zoho

                                                                                                            When I integrated LINE into the CRM, I was prompted to disable “Chat,” “Auto Response,” and “Greeting Messages,” and to enable the webhook. However, since I have already set up some auto-reply features in LINE, including Rich Messages and greeting automation,
                                                                                                          • External User onboarding for zoho connect is not really intuitive.

                                                                                                            So the external user is sent an invite, which has a button that directs them to login to zoho to view the invite, but if they don't have a zoho account, they cannot access that invite, which seems kinda silly, as there is not real way on for them to create
                                                                                                          • Enhance Sign CRM integration

                                                                                                            Hello all, I'm working on a custom Deluge script to enhance the integration between Zoho CRM and Sign by using a writer merge template for additional flexibility. I want to replicate the post-sign document integration that exists between CRM and Sign
                                                                                                          • Hosting external websites on Zoho?

                                                                                                            How can I host my external website on zoho? Do we have that option? I am currently with hostinger and am looking to switch to zoho. Kindly help. Thanks.
                                                                                                          • How can we disable "My Requests"?

                                                                                                            We are not using this functionality in our system at all and our users get confused.
                                                                                                          • How to Add Time Formula Duration (hh:mm)

                                                                                                            Hi everyone — I’m trying to create a formula field in Zoho CRM that calculates the difference between a “Call Start Time” and “Call End Time” and displays the duration in HH:MM format (for example: 1:04 for one hour and four minutes). My current setup
                                                                                                          • Disable Buttons for Users with Profiles without permission

                                                                                                            Hey, I've noticed that users without permission of setting up things in the marketplace, can still see the icon: On a click, you see this: It would be way better, if they couldn't see this menu icon at all. (Aside from the fact that it completely misplaced
                                                                                                          • How can I calculate the physical stock available for sale?

                                                                                                            Hey Zoho Team,  I've tried to calculate the physical stock on hand in various ways - but always receive a mismatch between what's displayed in Zoho Inventory & analytics.  Can you please let me know how the physical stock available for sale is calculated?
                                                                                                          • Set Custom Icon for Custom Modules in new Zoho CRM UI

                                                                                                          • Zoho Projects - Visual improvement to parent and sub-task relationship

                                                                                                            Hi Projects Team, My feature request is to improve sub-task visibility. Please see screenshot below. I really think parent child relationships could be visually improved. Even if the first letter of the parent task was inline with other same level tasks
                                                                                                          • Live Webinar: Getting Started with Zoho WorkDrive - A Complete Overview

                                                                                                            Hello everyone, We’re excited to invite you to our upcoming live webinar! Discover how to set up your team, bring in your data, and make the most of WorkDrive’s collaboration, organization, AI, and security capabilities. This session is perfect for anyone
                                                                                                          • Marketing Tip #4: Build your email list early

                                                                                                            Email marketing has one of the highest returns on investment. Don’t wait until later; start collecting subscribers now. When you've got their attention, you can send them emails about offers, new product launches, seasonal greetings, and more. Try this
                                                                                                          • Is anyone else having trouble saving a custom image in their email signature, or is it just me?

                                                                                                            When I try to save the image I get an error that says "Operation Failed" I opened a support ticket two weeks ago and received a response that it would be debugged, but it still isn’t working
                                                                                                          • API Pagination Error: 'from' Parameter Limit

                                                                                                            Hello, I am encountering an error while paging through the Zoho Desk API results: Status code: 422 - {"errorCode":"UNPROCESSABLE_ENTITY","message":"The value passed for field 'from' exceeds the range of '0-4999'."} Is 5000 the maximum number of records
                                                                                                          • Unify Overlapping Functionalities Across Zoho Products

                                                                                                            Hi Zoho One Team, We would like to raise a concern about the current overlap of core functionalities across various Zoho applications. While Zoho offers a rich suite of tools, many applications include similar or identical features—such as shift management,
                                                                                                          • Zoho Desk Domain mapping / Cloudflare CNAME not recognized

                                                                                                            Hello, my website is behind Cloudflare and SSL. From the Cloudflare control panel I added a CNAME record such as support.mydomain.com pointing to desk.cs.zohohost.com but I'm stuck with the message "Make sure you've mapped the CNAME entry..."
                                                                                                          • Power of Automation :: Quick way to associate your Projects with Zoho CRM

                                                                                                            A custom function is a software code that can be used to automate a process and this allows you to automate a notification, call a webhook, or perform logic immediately after a workflow rule is triggered. This feature helps to automate complex tasks and
                                                                                                          • Create an Eye-Catching Announcement Widget for Your Help Center

                                                                                                            Hello Everyone! In this week’s edition, let’s explore how to keep your customers updated with exciting news in the Help Center. See how ZylkerMobile wowed their customers by bringing updates right to their portal. ZylkerMobile, the renowned brand for
                                                                                                          • I want to add my other zoho account in same pc

                                                                                                            why does zoho restrict me doing many things as i also want to add my second mail account bit its not allowing me to do that
                                                                                                          • Search in Zoho Community Not Working

                                                                                                            I realize this is a bit of a meta topic, but the search for the various Zoho Communities appears to not be working. I'm under the impression that they run on some version of the Zoho Desk platform, so I'm posting this here.
                                                                                                          • Capture Stripe’s Customer ID

                                                                                                            Does anyone know of a way to capture Stripe’s customer ID that is created when the form/payment is processed? I would like to have the customer ID stored in our CRM so we could utilize in some custom functions down the road.
                                                                                                          • Custom Modules - Where are Comments??

                                                                                                            In the standard ticket module and in the tasks module, we have an interactive comment box that we can post important details/notes and can tag others if needed. Where is this functionality for Custom Modules? Ideally, custom modules would have very similar,
                                                                                                          • スマホでキャンペンメールを見ると正しく表示されない

                                                                                                            キャンペーンのメール(HTML)を作成しましたが、スマホ表示に切り替えると正しく表示されません(添付参照)過去に作成したキャンペーンでは特に意識してませんでしたが、問題なく表示されていたようです。うまく表示される場合とされない場合の違いは何でしょうか?
                                                                                                          • Dynamic Signature - Record owner

                                                                                                            Hi everyone, I’m using Zoho Writer merge templates from Zoho CRM and have two questions: Owner signature: How can I automatically insert the CRM record owner’s signature in the merged document? I’m not sure where this signature is stored or how to reference
                                                                                                          • Next Page