Secure Webhook Integrations with Connections | Zoho Bot Builder

Connections in Webhook Block


When you’re working with webhooks in a bot flow, whether you’re retrieving data, updating a record, or triggering a third-party service, you often need to establish a secure connection with an external application. That’s where Connections come into play.

Connections act as a secure bridge between your bot and the service you’re calling. Let’s explore what Connections are, why you need them, how to set one up, and where they fit into the larger webhook configuration.


Learn more about webhooks: Introduction to Webhook Block in GC 

What is a Connection?   

A Connection is a secure authentication setup that allows your webhook to interact with another service, like Zoho Desk, CRM, Google Sheets, or a custom API (Check this case), without you having to enter your credentials every time.

When you configure a webhook block, instead of hard coding sensitive details like access tokens or API keys directly into the request, you can simply link to a Connection. This makes your setup safer and easier to manage.

You can create Connections for:
  1. Zoho’s own services (using Zoho OAuth)
  2. Third-party applications like Slack, Google (Built-in)
  3. Stripe and others (as custom Connections)
  4. Internal or custom APIs used by your organization

Why are Connections important?   

Here’s why using a Connection is strongly recommended (and often mandatory):
  1. Keeps sensitive data like tokens, secrets, and API keys hidden and encrypted.
  2. Reuse the same Connection across multiple flows or webhook blocks. No need to configure authentication every time.
  3. If your API token or scope changes, you only need to update it in one place.
  4. When multiple users build bots or flows, everyone can use the same Connection without needing access to sensitive credentials.

Where are Connections used?   

Every time your bot wants to:
  1. Fetch a ticket from the Zoho Desk
  2. Push a new lead into your CRM
  3. Query order status from an external API
… a secure handshake must happen between your bot and the target service. That handshake, whether through OAuth, API key, or another method, is what the Connection handles for you.
This is especially crucial for protected endpoints that require authentication. Without a valid Connection, the API will deny your request.

Types of authentication you can use   

Authentication
Authentication
When creating a Connection, the authentication method depends on the service you’re connecting to:

Service Type
Authentication Method
Example Use Case
Zoho Services
Zoho OAuth
Fetching tickets from Zoho Desk
Third-party APIs
OAuth 2.0
Posting updates to Slack or Google Sheets
Custom APIs
API Key / Basic Auth
Accessing internal databases

For Zoho services, Zoho OAuth is the default and most secure method. 

How to create a connection  

Let’s say you want to get ticket details from Zoho Desk using the Webhook block. Here’s how to set up a Connection:
Set Up Connections
1. Go to the Webhook Block
2. In your bot builder, add a webhook block where the action will take place.



3. Click Add in the Connections section. 

 
4. You’ll be redirected to the Data Retrieval Engine (DRE).
5. Click Create Connection  



6. Choose your service. For Zoho apps, select Zoho OAuth.
7. Enter a Connection Name. Make sure it's something easy to identify, like “ZohoDesk_TicketReader.”
8. The system will auto-generate a Link Name based on your input.
9. Select Scopes.
10. Scopes define what your bot is allowed to do. (For example: ZohoDesk.tickets.READ, allows your bot to read ticket information.       ZohoCRM.modules.ALL, allows access to all CRM modules.)
11. Click Create and Connect once you're done.



12. Complete Authorization  
13. A pop-up will ask you to authorize access: Click Connect



14. When prompted, click Accept to grant the bot permission to perform actions via the API
15. Once accepted, your Connection will be established.



16. Return to Webhook Block.
17. Click Refresh next to the Connection dropdown to see your new Connection listed.
18. Select it and hit Save.



You’re now ready to authenticate securely using this Connection.


Example Use Case
Example Use Case
Imagine your support bot needs to fetch ticket details from Zoho Desk based on a user’s input. Instead of adding a raw token to your webhook

URL like this:
https://desk.zoho.com/api/v1/tickets?ticketNumber=12345

You simply configure the URL, add query params as needed (e.g., ticketNumber = @input.ticketNumber), and choose your pre-configured “ZohoDesk_TicketReader” Connection.

Zoho will authenticate the request using the OAuth token in your Connection. No need to expose or manage tokens manually! 
Learn more about Desk Connections


        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


                                      All-in-one knowledge management and training platform for your employees and customers.

                                                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

                                                                                                                                  • Introduction to Webhook Block in GC

                                                                                                                                    We know it’s frustrating to jump between tools just to get simple tasks done. You might find yourself copying data from one app to another, waiting for updates, or refreshing dashboards manually. It’s not just time-consuming, it’s exhausting. That’s ...
                                                                                                                                  • Components of the GC Flow Builder

                                                                                                                                    The GC flow builder comprises three components: Blocks Paths Variables Blocks Blocks are the fundamental units of the flow builder. A text message that you want to display, a set of options that you want the customer to choose, the step where you ...
                                                                                                                                  • URL Field in Webhook Block

                                                                                                                                    Where it knows to go! You’ll need to enter the exact REST API endpoint of the third-party app you want to interact with in the URL field; whether you’re sending data, fetching it, updating something, or deleting it. Think of this field as the ...
                                                                                                                                  • POST Method in Webhook Block

                                                                                                                                    Want your bot to send data to another system, like creating a support ticket, logging feedback, or saving a form response? That’s exactly what the POST method in the Webhook block is designed for. It allows your bot to push data to external tools ...
                                                                                                                                  • Setting up Connections

                                                                                                                                    Connections enable you to integrate Zoho Desk with other cloud-based third-party services to access authenticated data. To establish a connection, you will have to provide a Connection Name, Authentication Type, amongst other details. Why ...
                                                                                                                                    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