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 FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              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
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform 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

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                   
                                                                    

                                                                  Videos

                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    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

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

                                                                                                                              Not every API call ends the same way. When your chatbot interacts with external systems using a Webhook block, you often expect different types of responses. Some API calls are successful, like when the system finds a customer’s data, while others ...
                                                                                                                            • Query Params in Webhook Block

                                                                                                                              When you want to pass extra information along with your API request, like a ticket ID, customer email, or a specific status, query parameters come in handy. These small but powerful additions to your API URL help external systems understand exactly ...
                                                                                                                            • PATCH Method in Webhook Block

                                                                                                                              Do you need to update just one or two pieces of information in another system, such as changing a ticket’s priority or updating a user’s phone number, without touching anything else? Use the PATCH method in your Webhook block to make precise, partial ...
                                                                                                                              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