How to Use Webhook Responses in Guided Conversations | Zoho Desk

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 Guided Conversation flow.

Let’s dive into what the Response section in a webhook block does, why it matters, and how you can use it effectively.


Learn more about webhooks: Introduction to Webhook Block in GC 

What is a Webhook Response?   

When your webhook sends a request to a third-party API (like your Zoho Desk, CRM, billing tool, or database), that API usually sends back a reply. This reply is called a response and contains the outcome of your request.
Example
Example
For example, if your GC asks for a user’s profile from an external CRM, the API might send back something like this:

 { 
   "user": { 
     "name": "Jane Doe", 
     "email": "jane.doe@example.com", 
     "subscription_status": "Active" 
   } 
 } 

This response is important, and the Webhook Block’s Response section helps you capture and use this information within your conversation flow.
 

Two main parts of a Webhook Response   

There are two parts of the response that you can work with inside the Webhook block:
Status Code
Response Values
Status Code
This is a number returned by the server that tells you if your request worked or not. It’s like a health check for your API call.
 
Common examples:
  1. 200 is Success! The request went through.
  2. 404 is Not found. Maybe the data doesn’t exist.
  3. 500 is Server error. Something went wrong on their side.
In Zoho Desk GC, you can store this status code in a variable and use it in conditional flows.

For example:
  1. If the status code is 200, show a success message and display user info.
  2. If status code is 404, show a “No records found” message.
  3. If the status code is 500, ask the user to try again later.
Response Values
This is the real data you asked for, like names, dates, statuses, or order details. The API can send data in many formats:
Single Value:

Example: "userName": "John"
 

List of Values:

Example: "orders": ["#123", "#124", "#125"]
 

Object (Structured Data):

Example:

 "user": { 
   "name": "John", 
   "email": "john@example.com" 
 } 

 

Array of Objects (Multiple Records):

Example:
 
"tickets": [ 
   { "id": "101", "subject": "Login Issue" }, 
   { "id": "102", "subject": "Billing Error" } 
 ]

You can map any of these values to variables in your GC flow.

Once mapped, you can:
  1. Display them to users
  2. Use them in conditional checks
  3. Summarize them into one response using the Formatter block
 
 

Why the Response section is useful   

Here’s why:
  1. Show live data like subscription status, order history, or open tickets
  2. Handle different API results differently using status codes
  3. Display data directly from your system without manual updates
  4. Keep your API as-is and manage formatting inside the GC flow
Response mapping is completely in the backend; users won’t see this configuration. It’s just there to help your bot know what to do with the data it receives. 
Example Use Case
Let’s say your bot is checking a user’s subscription status.

Step 1: You set up a webhook to fetch details from your billing API

Step 2: The API returns:
 

   "user": { 
     "name": "Talaash", 
     "subscription": "Inactive" 
   } 
 } 

Step 3: In the Response section: 
  1. Map the status code to a variable: response_code
  2. Map user.name to user_name
  3. Map user.subscription to subscription_status

Step 4: Use conditions in the GC:
  1. If subscription_status is “Inactive”, prompt the user to renew
  2. If “Active”, show appreciation and subscription expiry date
  3. Just like that, your bot becomes more helpful, relevant, and context-aware.
If you’re using a Formatter block in this flow, the mapping should be done based on the Formatter’s output. Learn about Formatter

Using JSON Pointers to map nested API responses

If your API response contains nested data, you can use a **JSON Pointer** to extract the exact value you need. This follows the [RFC 6901](https://www.rfc-editor.org/rfc/rfc6901.html) standard and is supported in the webhook block.

What’s a JSON Pointer?

It’s a string syntax used to locate a value inside a JSON response. It starts with `/` and uses `/` to separate levels in the hierarchy.

Example JSON Response
Example JSON Response
```json

   "user": { 
     "name": "John Doe", 
     "email": "john@example.com", 
     "subscription": { 
       "status": "Active" 
     } 
   } 

Pointer paths:
  1. /user/name → John Doe
  2. /user/subscription/status → Active

When mapping your response values:
  1. In Response Variable, use a JSON pointer like /user/subscription/status.
  2. Set the Variable Name as something like subscription_status.
In Guided Conversations (GC), do not use {{...}} syntax in the pointer. Just use the plain JSON pointer path (e.g., /user/name). 

Tips


Sometimes, API responses aren’t user-friendly. You might get dates like 2025-06-01T09:00:00Z or codes like subs_001_A. That’s where the Formatter block comes in handy. Once you capture the data using the Response section, pass it to the Formatter to clean it up and make it readable.

Example:
  1. Turn this "2025-06-01T09:00:00Z"
  2. Into this “1 June 2025, 9:00 AM”


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

                                                                                                                            • Combine Block in Guided Conversations

                                                                                                                              Overview The Combine Block in Guided Conversations (GC) allows you to merge multiple variables along with text into a single structured variable. This combined data can then be passed to internal applications or external third-party services, ...
                                                                                                                            • 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 ...
                                                                                                                            • Formatter (Deluge) in Webhook Block

                                                                                                                              Not all API responses come in the exact format you want to show to your users, and that’s where Formatter comes in. With Formatter, you can use Deluge scripting to transform your raw API response into clean, user-friendly content that fits your use ...
                                                                                                                            • 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 ...
                                                                                                                            • DELETE Method in Webhook Block

                                                                                                                              Do you need to remove a support ticket, delete a user, or clean up records in another system? The DELETE method in the Webhook block helps you do just that from within your bot flow. It allows you to directly remove data from external platforms like ...
                                                                                                                              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