Control API Response Time with Request Timeout in Zoho Desk Chatbot Webhooks

Request Timeout in Webhook Block


When your chatbot connects to an external service, it uses a webhook block to send a request to that service’s API. Now imagine the service takes too long to respond. What should your chatbot do? Wait forever? Give up too early?

That’s exactly what the Request Timeout setting in the webhook block controls.

It allows you to decide how long the webhook should wait for a response before it times out and moves on. Setting it correctly ensures that your chatbot remains fast, responsive, and user-friendly, even when external systems are slow or unresponsive.


Learn more about webhooks: Introduction to Webhook Block in GC 

What is Request Timeout? 

Request Timeout is a setting in the Webhook block that determines how long (in seconds) your chatbot should wait for a response from the API it’s calling. If no response is received within the time limit, the request is automatically stopped or timed out.

Without this timeout setting, your chatbot might feel stuck, slow, or unreliable, especially when the external API is delayed.



How does it work? 

Inside the Webhook block, you’ll find an option to set the timeout duration. This can be anywhere from 5 to 40 seconds.
Here’s how to decide the right timeout value:
  1. Set a lower timeout for fast, reliable APIs (5–10 seconds). For example, if you’re querying a customer database, it usually replies quickly.
  2. Go higher for slower APIs (up to 40 seconds). For example, if you’re triggering a background process like generating a report or checking billing status from a legacy system.
 Once the time you set has passed and the API hasn’t responded, the request is cancelled and the webhook path is considered a failure. You can then use Multipath to handle this timeout scenario, such as showing an apology, offering a retry button, or escalating to a human agent.
 

Why is Request Timeout important? 

Setting a request timeout is not just a technical detail; it’s about improving your overall customer experience.
Here’s why it matters:
  1. Keeps conversations responsive.
  2. If the bot waits too long, users might think it’s broken or ignoring them. Timeout settings ensure the bot doesn’t keep them hanging.
  3. Prevents wasted resources.
  4. Gives you control.
  5. You get to choose how patient your bot should be — depending on the reliability of the external system.
  6. Enables fallback paths.
  7. When a timeout happens, you can guide the conversation intelligently. For example, “Looks like that took too long. Want me to try again?”

Example Use Case
Example Use Case
Let’s say your webhook block is calling an order management system to check the status of a recent purchase.
If the API typically responds in 2 seconds, you could set the timeout to 7 seconds, giving it some buffer, but not too much.
 
Now:
  1. If the response comes within 7 seconds, the bot proceeds to show the order status.
  2. If not, then the request times out, and the bot can show:
  3. “Sorry, this is taking longer than expected. Would you like to try again or talk to an agent?”
This keeps the user informed, avoids frustration, and adds a touch of professionalism.

Best practices for setting Request Timeout


  1. Don’t leave it at the default blindly. Think about the specific system your webhook is calling.
  2. Talk to your developers or backend team to understand average response times.
  3. Start with 10–15 seconds if unsure, then adjust based on real usage and feedback.
  4. Pair with Multipath for graceful handling of timeouts (e.g., 504 Gateway Timeout response).


Technical notes:
Technical notes:
  1. The URL and Connection fields are mandatory in a Webhook block. They define where the request goes and how it’s authenticated.
  2. Optional fields (like Headers, Query Parameters, or Request Body) depend on the API you’re calling. Use them only if needed.
Learn more about webhooks: Introduction to Webhook Block in GC 

      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

                              WCAG



                                        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 ...
                                                                                                                          • Webhook Block

                                                                                                                            The webhook block is one of the four action blocks available in the Guided Conversations bot builder. This block enables the conversation flow to interact with Zoho Desk processes or other Zoho or third-party services. The webhook block uses APIs ...
                                                                                                                          • Response in Webhook Block

                                                                                                                            Once your webhook sends a request to an external API, it often receives a response. This is where the Response List in the webhook block becomes incredibly useful. It lets you capture and use the data that comes back from the API, right inside your ...
                                                                                                                          • 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 ...
                                                                                                                          • Headers in Webhook Block

                                                                                                                            When sending API requests through a Webhook block in your bot flow, headers play a vital role. They carry additional information that helps third-party systems identify, authorize, and understand your request. Let’s walk through what headers are, 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