Dynamic Prefill - Webhook

Dynamic Prefill - Webhook

Overview

Dynamic form prefilling through webhooks streamlines form-filling for respondents by populating form fields with values fetched from an external service. 
With this feature, you can share a personalized form with your respondent. When the respondent accesses the form and fills out a search field, the form fields gets automatically prefilled with the associated data retrieved from an external service. 



Benefits:
  1. Saves time and effort for respondents by pre-filling form fields.
  2. Improves data accuracy by reducing manual data entry errors.
  3. Creates a personalized experience for respondents.

How does dynamic prefilling work?

  1. Respondent opens the form, enters data into the Search Field and clicks the search icon.

  2. On searching, the form sends a request to the external service along with the value entered in the Search Field to fetch the data.

  3. The external service processes the request and returns data to be prefilled.

  4. The form receives the response from the external service and the data will be prefilled in the form fields based on the prefill configuration.

  5. The respondent views the prefilled form and can complete the remaining fields or make any necessary adjustments to the prefilled information.

Configuring Dynamic Prefill - Webhook

  1. Once you have your form built, in your form builder, navigate to the Settings tab >PrefillDynamic Prefill - Webhooks.

    Click Configure

  2. Click Configure.
In the pop-up, you will have 3 steps to complete the configuration for dynamic prefill:

1. Webhook Settings

In this section, you will have the Search Configuration and Webhook Details.

Search Configuration

Search Configuration

Search Field: The Search Field will be the form field which will be used to retrieve related information from an external service. Select a form field from the dropdown as the Search Field.
The following form fields can be selected as search fields:
Single Line, Email, Phone, Dropdown, Radio, Number
Notes
Note:
  1. When a user clicks the search icon next to the Search Field in the live form, the webhook is triggered and the response is prefilled in the form. 
  2. When a form loads with a pre-filled value (via Field Alias) in the search field, it triggers the search.

Webhook Details

Webhook details

  1. Webhook URL: The Webhook URL is the endpoint where your form will send requests to the external service on search. Enter the full URL of the external service to retrieve the data.
  2. Record Identifier Key: The Record Identifier Key is used as a query parameter to send the value in the Search Field to the external service.
    During a record search, the webhook will include the Record Identifier Key as a query parameter. The value of the Search Field will be sent as the query parameter value.
    Based on the value in the Record Identifier Key, the external service provides the data to be prefilled in the form.
    Example:
    For example, if your Search Field is " Enter your Email"the Record Identifier Key is email, when a user enters the value in the Search Field as richard@zylker.com and searches, the webhook will send a request like https://api.zylker.com/getEmpInfo?email=richard@zylker.com
  3. URL Parameters: If you would like to send additional information along with the Webhook request, 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.
  4. Custom Headers: You can set a custom header name and value to be passed with the Webhook request. Enter the name of the header and the value associated with this header.
NotesNote: You can add upto 5 URL Parameters and Custom Headers each.

Custom Headers


Click Next.

2. Webhook Testing

In this step, you can test the webhook to ensure it retrieves the correct data based on the value entered in the Search Field.

Test Webhook

To do this, 
  1. Enter a sample value in place of <Search Field's value> and run the test to send the request to the external service.
    For example, if your Record Identifier Key is email, enter a test email address (richard@zylker.com). 
  2. Click Run Test. This triggers the form to send a test request to the external service using the provided test value (richard@zylker.com).
    https://api.zylker.com/getEmpInfo?email=richard@zylker.com
  3. It is checked if the format of the response received is valid. You will be able to proceed to the next step only if the received response is valid.

    Valid response

3.  Prefill Mapping

The next step is to determine which form fields should be pre-populated with the information from the fetched data.
To map the form fields that you wish to prefill with data from the external service, 
  1. Add a form field and click the field corresponding to it.

    Map form fields
    A popup with the JSON response will open. 
    Identify the keys in the JSON response that contain the data you need and select it for the mapping.

    Identify the JSON key to map

    Repeat this for all the form fields that you wish to prefill.

    Mapped form fields and subform fields

  2. If you have any Subform field in your form, and wish to prefill them, map those Subform fields with the corresponding external service data fields in the same way.
Notes
Note: You can have a maximum of 50 field mappings, including fields mapped within the subform.

Response Formats for the Field Types

Check out the Response formats corresponding to the form fields.

Field TypeExampleResponse Format
Single Line, Multi Line, Address, Name, Dropdown, RadioRichard
Number, Rating, Slider100
Currency, Decimal100.5
Emailrichard@zylker.com
Websitewww.zylker.com
Phone2436673893
Date2024-08-23yyyy-MM-dd
Time14:30HH:mm
Date-Time2024-12-30T10:05:59.564600+08:00yyyy-MM-dd'T'HH:mm:ss.SSSXXX
Checkbox, Multiple Choice, Image Choices[100.50, 101.50]JSON Array
Decision BoxTRUE
Subform
[
{
<SUBFORM_ROW_1>
},
{
<SUBFORM_ROW_2>
}
]
JSON Array

Pricing

Each time a search is performed, 1 wallet credit will be deducted. This means that even if the same respondent performs multiple searches, each individual search will consume one wallet credit. Essentially, every new search action triggers a deduction, regardless of how many times the same respondent repeats the process.
The total number of search operations available to you varies depending on the subscription plan you choose as follows:

   Plan   Limit
Trial
100
   Basic10000  
   Standard25000  
   Professional75000  
   Premium/Express150000  
   Zoho One150000  

Notes
Note
  1. This is the total limit for your organization's account, including all users and forms.
  2. You can view your usage details under Account Usage.
  3. Once the limit is reached, the access to the form will be blocked.
  4. The Dynamic Prefill - Webhook feature is not available in the Free plan.
  5. The limit will be reset automatically every month based on your billing cycle. 

    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

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

                                                                                                              • Field Alias - Prefill URL

                                                                                                                Table of contents What is prefilling form fields? Why is prefilling forms important? What is Field Alias? Set Field Alias Generate a prefilled form URL Manually create the URL of a prefilled form Prefill a Multiple Choice Field Prefill a Dropdown ...
                                                                                                              • Configuring a Webhook

                                                                                                                In simple terms, a webhook is a way for one system or application to send real-time data to another system or application as soon as an event occurs. A webhook is basically a notification that is sent to a destination (URL) when an event occurs. With ...
                                                                                                              • Why does the Razorpay payment status read as "Processing" (when the payment is completed) even after configuring a webhook?

                                                                                                                When a payment is made through a mobile payment app via Razorpay, there is a possibility that users are not redirected to the browser automatically after the payment. To capture the payment status in such cases (delayed authorized payment, failed ...
                                                                                                              • Field Properties

                                                                                                                Table of Contents Overview Dynamic Field Labels Rename Uploaded Files Assign Values to Choices Group Choices Overview You can set the properties to customize each field added to your form. To do so, click the field on your form builder. Under ...
                                                                                                              • Overview

                                                                                                                General Display: To set up the basic attributes of your form. Here, you can choose to display the form header and set the direction of text in your form. Thank You Page & Redirection: Configure what happens after form submission (e.g., redirecting ...
                                                                                                                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