Working with Connections

Working with Connections

Overview

Connections let you integrate Zoho WorkDrive with third-party or Zoho services using OAuth 2.0 authorization. WorkDrive manages the entire OAuth flow, including authorization, access tokens, refresh tokens, and secure storage. This keeps your Deluge functions simple and secure.

Once a Connection is created and linked to your account, you can call external APIs inside Custom Functions by referencing the Connection’s link name. You do not need to manage tokens or store credentials manually.

Creating a Connection

You can create a new Connection from scratch (custom service) or use one of the default services provided by WorkDrive.



To create connection using default services

  1. Sign in to your WorkDrive account.
  2. Go to Admin Console > Connections.
  3. Click Create Connection. The Default services tab will appear by default.



  4. Choose a service from the list (for example, Slack).
  5. Provide a Connection Name.
  6. Select the required scopes specified by the service.
  7. Click Create and Connect. Complete the authorization process by signing in to the service.
After the Connection is created, WorkDrive displays:
  1. Link name
  2. Service name
  3. Connection status
  4. Sample Deluge code snippet to invoke the connection
    The Connection appears in the My Connections list and can be reused across custom functions.

To create connection using custom services

If your required service is not listed under Default Services, you can configure it manually. After configuration, you or anyone in your organization can create multiple connections for that service by providing the necessary credentials.
NotesNote: Zoho WorkDrive APIs use OAuth 2.0 authentication. You must register your client app with Zoho. Refer to the help documentation to learn how to register your client app and create a custom service.
  1. Sign in to your WorkDrive account.
  2. Go to Admin Console > Connections.
  3. Click Create Connection.
  4. Select Custom Service if your service is not listed. Service details dialog box will appear.
  5. Provide a name for the service to be connected (ex: MailChimp).



  6. Select the type of Authentication that is supported by the third-party application or service.
  7. Enter the service details:
    1. Client ID
    2. Client Secret
    3. Request Token (Authorize) URL
    4. Access Token URL
    5. Refresh Token URL (if applicable)
  8. Provide a Connection Name.
  9. Enter the Scopes specified by the third-party service. Scope for each connection is given by the third-party service. Please check the help for the respective third-party service to know about their provided scopes.
  10. Click Create and Connect. Complete the authorization process by signing in to the external service.
Once the Connection is created, it appears in the My Connections list and can be reused across custom functions.

Using a Connection in Custom Functions

The My Connections tab contains the list of available connections that are ready to use. You can select an existing connection or select the one that you created from the Custom Services tab. The connections are to be used by invoking them within functions. You can then use it directly inside a custom function to call external APIs.

To use a Connection:
  1. Go to Admin Console > Connections.
  2. Choose the Connection from the My connections section.
  3. Click Connect if you haven’t already authorized it.
  4. Copy the sample Deluge code displayed at the bottom of the Connection details page.



  5. Use this code inside your custom function to perform GET, POST, PUT, or DELETE calls.
  6. In Deluge, a Connection is invoked using its link name. You can pass parameters to replace dynamic values within the API URL or request body.

Sample connection

Suppose you want to send a notification to Slack every time a file is added to a specific Team Folder.

Step 1: Configure the Slack Connection
  1. Select Slack from the Default Services tab.
  2. Create a Connection with the required scopes.
  3. Authorize the connection.
Step 2: Use the Connection
  1. Get the link name from the Connection details page.
Step 3: Write a Custom Function
  1. Invoke Slack’s API using the connection link name to send a message.
  2. This lets your WorkDrive workflow automatically push real-time updates to Slack without any manual intervention.

Also read:
  1. Create a custom function to link WorkDrive workflows with your integrated service

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        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







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG


                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now




                                                            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


                                                                  • Desk Community Learning Series


                                                                  • Digest


                                                                  • Functions


                                                                  • Meetups


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner


                                                                  • Word of the Day


                                                                  • Ask the Experts


                                                                    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 Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now








                                                                                                                            • Related Articles

                                                                                                                            • Working with Custom Functions

                                                                                                                              Overview Custom Functions extend WorkDrive workflows by enabling advanced automation that goes beyond default workflow actions like share, move, copy, update fields, or restrict access. With Custom Functions, you can: Run Deluge scripts to automate ...
                                                                                                                            • Track live-user activity in MS Office files using WorkDrive Collaboration Widget

                                                                                                                              Team members often collaborate and work on the same document simultaneously from different devices. However, in some cases, this can result in file duplication and conflicting versions. Wouldn't it be easier if, while using Desktop Sync or TrueSync, ...
                                                                                                                            • Pin important Team Folders for quick access

                                                                                                                              Pinning a Team Folder keeps your most important workspaces conveniently at the top of your Team Folders list, ensuring quick and easy access, especially when you’re working across multiple Team Folders. To pin a Team Folder Navigate to the left ...
                                                                                                                            • Upload large files in chunks

                                                                                                                              WorkDrive improves the process of uploading large files by breaking them into smaller segments or chunks and uploading them individually. This enhances the upload experience and reduces the challenges often associated with large file uploads. Now, ...
                                                                                                                            • How to fix low disk-space issues to use Desktop Sync

                                                                                                                              The Desktop Sync app for Zoho WorkDrive makes working offline and syncing to multiple devices seamless and convenient, but low disk space in your hard drive may prevent you from using the app or syncing new files. Let's look at how you can fix these ...
                                                                                                                              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