Webhooks | Zoho LandingPage User Guide

Webhooks

A webhook is a method of automating communication between different applications or services in real-time. It allows one application to send data or trigger actions in another application whenever a specific event occurs. Essentially, a webhook is a way for one application to notify another application or service about a particular event, enabling seamless integration and automation between different systems, allowing them to work together more efficiently.

Using webhooks enables you to promptly transmit form responses to any external web service immediately after a form submission occurs on your landing page. For example, you could employ webhooks to effortlessly relay form responses to your personalized CRM tool. Alternatively, you could generate new entries within your mailing list software whenever a fresh lead is acquired through a lead generation landing page form.

Webhooks - Use Cases

Zoho LandingPage effortlessly connects with numerous Zoho applications and third-party services, offering seamless integration. Moreover, users have ingeniously crafted their own custom applications that seamlessly integrate through webhooks. Here are some exciting possibilities you can explore using webhooks!
  1. Automatically sending form responses to your CRM tool.
  2. Creating new entries in your mailing list software when a lead is captured.
  3. Integrating form submissions with your project management tools for task creation.
  4. Notifying in your team chat application about new form submissions for team collaboration.
  5. Triggering automated email responses based on form submissions.
  6. Updating your database software with form data for analytics and reporting.
  7. Integrating form submissions with customer support systems for ticket creation.
  8. Adding form submissions to a spreadsheet or document for record-keeping.
  9. Sending SMS notifications to designated recipients for urgent form submissions.
  10. Syncing form data with a calendar application for scheduling purposes.

Configuring Webhooks

  1. In your landing page workspace, click on the Settings icon positioned in the top right corner.
  2. Select Integrations from the options available in the left-side menu, then locate Webhooks within the list of integrations.
  3. Click on the Create Webhook option.
  4. Provide a name and description for the newly created webhook.
  5. Determine the method by which you wish to transfer information from your landing page form to your custom application. Zoho LandingPage supports GET, POST, and PUT methods in webhooks. The webhok types are discussed in the section below. 
  6. Enter the URL to which you want the data to be sent.
  7. Choose the authentication method you prefer for your webhook.

No Authentication
Header Authentication
Query Parameter Authentication
No authentication mechanism, less secure
Generally considered more secure, as sensitive information is not visible in the URL or request body
May be less secure as authentication information is included in the URL, which could be logged or shared publicly
N/A (No authentication)
Requires parsing and validation of headers
Simple to implement, as credentials are included directly in the URL
Suitable for scenarios where security is not a concern
Commonly used for securing API endpoints and webhooks
Suitable for simpler integrations where security requirements are less stringent

Webhook Types

GET Webhooks

GET requests are utilized to retrieve data from a server. This type of webhook is commonly employed for fetching information or querying data. GET requests allow applications to access data stored on a server without modifying it. They are ideal for scenarios where retrieving information without altering server data is the primary objective, such as fetching user profiles or querying database records.

POST Webhooks

POST requests are used to send data to a server to create or update a resource. This type of webhook is frequently utilized for creating or updating data on the server. POST requests are commonly employed in scenarios where new data needs to be added to a server or existing data needs to be modified. They are considered more secure for passing sensitive information as the data is sent in the request body rather than being visible in the URL.

PUT Webhooks

PUT requests are specifically designed to update or replace an existing resource on the server. This type of webhook is used when a client needs to update an existing resource with new data. PUT requests require the client to send the entire updated resource to the server, not just the changes. They are considered idempotent, meaning that multiple identical requests will produce the same result, making them suitable for scenarios where ensuring data consistency and accuracy is crucial, such as updating user profiles or modifying database entries.