Webhooks | Configuring a Webhook - Zoho Forms

Configuring a Webhook

In simple terms, a Webhook is basically a notification that is sent to a destination (URL) when an event occurs. With Zoho Forms, you can send a form submission to a URL or a third party web application of your choice as soon as a form entry is received.

If you are looking to process the data collected through Zoho Forms in your web application or use it in your business workflows, you can use Webhooks. You can receive form submissions as soon as it's collected without having to use APIs.

For example, you can directly store the collected data in your database, display it on your website, and do a lot more.

To configure a Webhook, 

  1. Click the Integrations tab from the form builder and select Webhooks from the left menu.

  2. Click Configure Webhook and fill the following details:



    • Webhook URL: The URL to which the form submission should be sent.

    • Content Type: We send notifications to your Webhook URL through an HTTP POST request. The request body, containing the form data will be sent in one of these content formats:
      Content-Type
      Data Transferred
      application/json
      All except file attachments
      application/x-www-form-urlencoded
      All except form attachments and subform data
      multipart/form-data
      All except subform data

      See the response format for each content typhere

    • Payload Parameters: Under this section, choose the fields whose data should be transferred using Webhooks.

      1. Under Payload Parameters, define a parameter name and choose the relevant form fields under Parameter Value.
      2. When using application/json content type, you can also transfer data from Subform using Webhooks.
      3. When using Payment field in the form, you can transfer the payment details via Webhooks. The supported fields are: Payment Amount, Payment Status, Payment Currency and Payment Transaction ID. Zoho Forms typically passes the transaction status and the form submission asynchronously, since the form submission and the payment status isn't done at the same time.

        How  do asynchronous payment transactions work? 
        After the form submission, the respondent is redirected to the payment site. Initially, a pending status via webhooks is sent for the payment transactions within a few seconds. The final response is known only when the merchant initiates the transaction.
Note: We recommend enabling the workflow option while setting up the Payment field. This ensures that the real-time Payment Status and Transaction ID are sent via webhooks, instead of the pending status.
  1. URL Parameters: If you would like to send additional information along with the collected data, you can specify it in this section. For example, you can include a secret key to every request being sent. This would help you in filtering out authenticate requests. These parameters will be added as query strings to the URL. Click on Add Parameters and enter the parameter name, value in the text boxes provided. 

  2. Custom Headers: You can set a custom header name and value to be passed with your collected data. 
     

    Example:
     If you have set up basic authentication for your webhook URL, you can receive a corresponding header by setting up the custom header as follows:



    The custom header 'Authorization' will appear as:

    Authorization: Basic dXNicm5hbWU6cGFzc3dvcmQ= 

Note: The following must be noted while setting up a Custom Header :

  1. A standard (system) header cannot be redefined. 
  2. A custom header name must contain alphanumeric characters only. Only special characters allowed are underscore (_), period(.), and hyphen(-).
  3. Duplicate names are not allowed.
Click Save to save your settings and Webhooks will be enabled for this form.​​

    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 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

                  Zoho SalesIQ Resources



                      Zoho TeamInbox Resources




                                Zoho DataPrep 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

                                                          • Configuring Approval Settings

                                                            Under Approval Settings, you can choose to process integrations configured with your form only on successful approval of entries, configure email templates to trigger email notifications when the final approval status of an entry is approved/denied ...
                                                          • Configuring Double Opt-In

                                                            To configure Double Opt-In for your form, Navigate to the Settings tab. Click Double Opt-In from the left menu and click Configure Now . In the configuration page, you can choose where your respondents should be redirected to on submitting an entry ...
                                                          • Razorpay

                                                            If you have selected Razorpay as your merchant, you must authorize your Zoho Forms account to access your Razorpay resources using OAuth authentication. OAuth Authentication lets you connect your form with Razorpay using secure access tokens instead ...
                                                          • Overview

                                                            When you collect sensitive data from your respondents, such as phone number, passport number, medical data, etc. through your forms, there is a risk that this data will get misused. To ensure that the sensitive data shared by your respondents is ...
                                                          • Overview

                                                            Rules are a set of simple if and then conditions using which you can get your forms to trigger different actions. If your respondent's answers match the set conditions, these actions will be triggered. You can choose to: Show or hide relevant fields ...

                                                          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