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

















      • 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

        • Recent Topics

        • Zoho Workflow issue

          Dear Zoho Users, I have Zoho Books premium subscription, I have created a email alerts workflow for Invoices and following are the configurations for the same: 1. Workflow for Invoice module 2. Choose when to tigger - created or edited 3. Filter the triggers
        • Accounting on the Go Series-53: Swift Transactions at Your Fingertips-Zoho Books in Your Control Center

          Hello again, We’ve all had those moments where you need to get something done quickly, but the process of unlocking your phone, finding the app, and navigating through menus slows you down. Now, with Zoho Books integrated into the iOS 18 Control Center,
        • Update on PDF Download Issues Caused by Antivirus Software

          Hello users, Antivirus software is designed to protect your computer from malicious software and threats. However, they may mistakenly identify legitimate files and software as threats at times. This is known as a false positive. We have received reports
        • Accounting on the Go Series-54: Effortlessly Find Your Zoho Books Customers in Your Phone’s Contact List

          Hello Zoho Books users! How are you all ? We’re happy to share a handy new feature in Zoho Books mobile app. Now, you can access your Zoho Books customers right from your phone's contact list, making it easier to stay connected on the go. How this can
        • Integration of Phase 2 -e-invoicing- KSA

          Zoho Team, I want to get a training of integration of phase 2 invoicing KSA in zoho step by step.
        • I can not save new invoice

          Hello Now I am trying to save a new invoice but I can not save it because showing unpaid invoice warning which are not overdue. Please let me know how to skip unpaid invoice warning letter and save new invoice. Thank you
        • ADD CONDITIONS FOR FIELD IN ZOHO BOOKS TEMPLATE CUSTOMAZATION

          HELLO I WANT TO ADD CONDITIONS FOR FIELD IN ZOHO BOOKS TEMPLATE CUSTOMAZATION FOR SALES ORDER . I HAVE SET %StatusStamp% IF APPROVAL I WANT THAT TEXT TO BE DISPLAYED WITH GREEN COLOR OTHERWISE OF OTHERR STATUS RED COLOR AS SHOWN IN CODE BELOW . BUT IT
        • Accounting on the Go Series-55: Seamlessly Add New Vendors While Creating Transactions from Scanned Documents

          Hi there! We’ve made handling documents and vendors in Zoho Books even simpler. Now, when you upload a document and scan it, if the app detects a vendor that isn’t already in your organization, you don’t have to leave the page to add them manually. With
        • Accounting on the Go Series-57: Effortlessly Add and Manage Bank Accounts from the Zoho Books Mobile App

          Hi all, Great news for our users in the US and Canada! Managing your finances just got a whole lot easier. Zoho Books has always made it seamless to integrate bank accounts and fetch feeds automatically. Now, we’re taking it up a notch—directly from the
        • Accounting on the Go Series:58-Effortless Compliance: Download XML for Invoices & Credit Notes on Mobile

          Hi there! In Mexico, XML files are crucial for electronic invoicing and fulfilling SAT (Tax Administration Service) requirements. These files ensure your transactions are accurately recorded and tax-compliant. Now, you don’t need to rely on the web app
        • Auto Generated Invoice number YEAR

          Auto Generated Invoice number shows transaction year as 25 even though it's 24 still.
        • Books generiert keine valide XRechnung

          Hallo zusammen, ich möchte hier ein Problem ansprechen, das mir aktuell bei der Nutzung von Books erhebliche Schwierigkeiten bereitet, und hoffe auf Austausch oder Lösungsansätze von anderen Nutzern. Bei der Erstellung von XRechnungen mit Books treten
        • WHEN UPDATE ORGANIZATION INFO OLD INVOICES ALSO CHANGE INVOICING DATA

          Hi We have updated our tax information because we have become a company, up until now we were an individual. The problem is that when updating the data in the zoho books profile all the old invoices change their tax information as well. Is there a way
        • Invoice import error - duplicate customer name column - there are no duplicates

          It is not allowing the importing of any rows because of a duplicate customer name problem, but there are no duplicates in the custoemr name row. Has anyone dealt with this issue before?
        • [WEBINAR][Feb 2025] Automate your entire financial operations from receipts to reconciliation with Zoho Books & Zoho Expense integration

          Hello there, We are hosting a free, live webinar on the importance of travel and expense management solutions for businesses, and how Zoho Expense automatically syncs with Zoho Books to simplify your accounting even further. The webinar is on February
        • Customize Layout

          I am using "Customize Layot" for customize Quotation template but I try to add logo into the header by "%ScaledLogoImage%" code but dont add logo into header. what is problem?
        • Problem - cant add Users (i.e. Zoho one / CRM Users) to BCC or CC in email, i.e. Sales orders or Retainers

          I can go to zoho books email templates, and select any email template, and automatically include any Zoho One user, i.e. member of staff. However in the context of sending an email, it will not let us add a member of staff from the user list, instead
        • UK MTD ITSA

          UK Making Tax Digital for Income Tax I have had notice this is to apply from April 2026. What is Zoho doing about this? I will need to start planning to implement this in the next months so need an update as to what I will and will not be able to do in
        • Partial refunds

          I am trying to process refund for a one item invoice, however the refund is partial: i am getting this error while creating credit note, can anyone share some wisdom about this
        • Zoho Books Roadshows are back in the UAE!

          Hello there, Business owners and accounting professionals of the UAE, we’re coming to your cities! FTA accredited Zoho Books is now officially one of the Digital Tax Integrators in the UAE. With the newly launched direct VAT filing capabilities, we're
        • New user After moving over from QBO

          New user observations/suggestions. QBO took away a lot of features I was used to with the desktop version. Chaos ensued. Zoho Books has a lot of what I was used to and a bit more. Good deal Some things I have run into and suggest some upgrades. 1: The
        • Sole Trader - Financial Advisor (Appointed Representative) - Paid via Capital Account but no Invoicing...

          Hi. I'm about to venture into a new business after 12 months of intensive learning/exams. A little chuffed if I may say so especially at 52! I really like the look of ZoHo Books for my modest enterprise but I'm in need of some guidance, please. My services
        • Multi-Unit Inventory with Flexible Unit Selection (Purchase in One Unit, Sell in Another)

          We need multi-unit inventory management in Zoho Books with the flexibility to choose units (e.g., Box or Piece) at the time of purchase or sale. For example, if 1 Box = 10 Pieces, we should be able to record purchases in Boxes but sell either in Boxes
        • Disputed Purchase Invoices

          We have recently moved to Zoho Books from Sage. In Sage we were able to post a purchase/vendor invoice but mark it as on dispute. This would usually be a pricing query or if something was damaged. It would show in their ledger, so we could agree their
        • No TDS Deduction

          In some of our case, where we are reselling items at the same rate we purchased. In this scenario, Indian IT Law has a provision to request customer not to deduct TDS if the transaction value is same. TDS is paid by us (intermediary reseller) before we
        • CBSA - GST CHARGES on imports

          Hi there, We have a questions about landed cost categorization. We received a shipment from overseas. CBSA invoiced us for the GST on the items. Now we entered the CBSA-GST as a separate bill and attached it as landed cost to the main invoice based on
        • Zoho Books

          How do I manually insert opening balance?
        • Sales order & purchase order item links for item details

          This is fantastic for checking lots of things, I use it a lot. It would be great to see it extended to invoices & bills On another note, may as well throw in my favourite whinge ..... Wish you guys would get the PO receive differences sorted urgently,
        • Bank charges are applied. Please select a bank account.

          Hello, I'm trying to add bank charges to a customer payment, but I get the error message "Bank charges are applied. Please select a bank account." I found this old thread, where it says that I need to "select a Bank account for the 'Deposit To' dropdown
        • How to add receipts

          How to add receipts
        • Support for auto-upgrade in TrueSync (for Windows)

          WorkDrive TrueSync app now supports auto-upgrading to the latest version for Windows OS. You must manually download and install the TrueSync app version 3.4.0 to avail this feature. Download the latest TrueSync app for Windows (version 3.4.0) Supported
        • WorkDrive API Documentation

          WorkDrive provides users and developers an extensive set of APIs to help integrate functionalities of Zoho WorkDrive with other Zoho applications and third-party tools. We have published the official WorkDrive API Documentation page for all external users.
        • March 15, 2023: Zoho Docs is discontinued

          As of today (March 15, 2023) Zoho Docs is discontinued for all users. We would like to thank our customers for trusting us for so many years! Going forward, we're confident you'll enjoy using Zoho WorkDrive for all your advanced file management and collaboration
        • Introducing WorkDrive 4.0: Enhanced productivity. Advanced data administration. (Phase 1)

          Hello All, We're excited to share the release of WorkDrive 4.0, which includes important new features and enhancements focused primarily on productivity, secure collaboration, data administration, integrations, and user experience. Read the official announcement
        • External download link limit

          Can You please help us to understand this For Zoho WorkDrive external users, the download limit is a maximum of 5 GB total download size and a maximum of 50 first-level files and folders What is the meaning of first level? We are using these files in
        • Dynamically catching new file creations

          I have a team folder with many subfolders, and in those folders we add new documents all the time. I'd like to have a workflow or script to notify me (and then take other actions) when a file is added anywhere in that structure that ends in "summary.txt".
        • Rotate an Image in Workdrive Image Editor

          I don't know if I'm just missing something, but my team needs a way to rotate images in Workdrive and save them at that new orientation. For example one of our ground crew members will take photos of job sites vertically (9:16) on his phone and upload
        • Workflow workdrive rollout

          Hi! When will workflow be rolled out to all users? Thanks.
        • Creating and managing a Team Folder using WorkDrive TrueSync

          Hello everyone, Are you tired of constantly switching between your Desktop TrueSync app and the WorkDrive web app to create and manage Team Folders? We’ve made things easier for you. You can now create and manage Team Folders directly within the TrueSync
        • Edit images seamlessly with WorkDrive's built-in Image Editor

          Are you tired of switching between multiple tools just to make simple edits to your images? We understand the hassle, which is why Zoho WorkDrive now comes with a built-in image editing tool, powered by Zoho Annotator. This tool allows you to edit images
        • Next Page