A webhook is an automated HTTP request that Zoho CRM sends to an external URL whenever a defined event occurs, such as a Deal being created or a field being updated. Rather than another system having to repeatedly check Zoho CRM for changes, Zoho CRM pushes the relevant data out the moment it happens.
How webhooks fit into Zoho CRM
Webhooks in Zoho CRM are configured as an action inside a Workflow Rule, rather than as a standalone subscription to a feed of events. You define the trigger and criteria on the Workflow Rule as usual, such as "Deal Created" or "Deal Amount greater than 10,000", and add the webhook as one of the actions that fires when those conditions are met.
How to set up a webhook
- Create a Workflow Rule. Go to Setup, then Automation, then Workflow Rules, then Create Rule, and set your module, trigger, and criteria as normal.
- Add a webhook action. Under Instant Actions, choose Webhooks, then either select an existing webhook or configure a new one.
- Set the endpoint and method. Specify the URL the webhook should call, the HTTP method (typically POST), and any authentication, headers, or URL parameters the receiving system needs.
- Define the payload. Build the JSON or form data to send, using Zoho CRM's merge field syntax, such as ${Deals.Deal Name}, to pull in the actual record values.
- Save and test. Save the workflow rule, then create or update a test record matching your criteria, and check that your receiving system gets the data correctly. Adjust the webhook configuration if anything is missing or malformed.
Note: You can associate up to six webhooks with a single Workflow Rule, made up of one Instant Action and up to five Time-Based Actions. Zoho CRM also enforces a daily limit on how many webhooks can fire, which varies by edition, so high-volume triggers may need consolidating or supplementing with API polling if you hit that limit. Field values are unavailable for deleted records beyond the record ID itself, since the record no longer exists to look up further detail from by the time the webhook fires.
Webhooks versus custom functions
A webhook only sends data out, in one direction, to an external URL. If you need to read from or write back to Zoho CRM itself, call an external API and then act on the response, or chain several operations together, a custom function gives you that additional flexibility, since it runs code rather than just posting a fixed payload.
Need help? 1 Cloud Consultants can help you configure webhooks or custom functions to connect Zoho CRM with your other business systems in real time.
Book a discovery call with 1 Cloud Consultants.