Set up a webhook so contract status changes reach Salesforce within seconds. A webhook lets Zoho Sign tell @Sign about a status change the moment it happens, instead of @Sign asking every 15 minutes. You first prepare a public Salesforce site that Zoho Sign calls, then add the webhook in Zoho Sign.
Before you start: @Sign is connected to Zoho Sign (see Connect @Sign to Zoho Sign), and you have a public Salesforce Site or Experience Cloud site.
Step 1 of 11
1Open Sites#
In Setup, open Sites (use Quick Find).
Zoho reaches Salesforce through a public site, so open Sites in Setup.
Key concepts
Webhook: A message that Zoho Sign sends to a web address you choose when something happens. With it, a status change arrives within seconds.
What @Sign does with it: @Sign updates the contract, and for a completed contract writes back the Sign Mapping results. Events other than the five below are ignored, and only contracts that already exist in Salesforce are updated.
The scheduled sync stays on: The webhook does not replace polling. If a message is missed, the next 15-minute sync catches up.
Public site and guest user: Zoho Sign is not a Salesforce user, so it reaches Salesforce through a public site and acts as that site's guest user. The guest user needs access to the @Sign webhook class, otherwise Salesforce rejects the message.
Webhook address: Your Site URL followed by a fixed path, given below.
How do I set up a Zoho Sign webhook for @Sign?
Enable adser.AdSignWebhookController for a public Salesforce site, then add the site's webhook address in Zoho Sign.
Step 2 of 11
2Find your Site URL#
The Site URL is the start of the address Zoho Sign will call. Any public site works, including an Experience Cloud site.
The Site URL is the start of your webhook address. Any public site works.
How quickly does the status update?
Every 15 minutes, or within seconds with a webhook. See Set up a Zoho Sign webhook for real-time status updates.
Can I use an Experience Cloud site?
Yes. Any public site in your org works.
Step 3 of 11
3Open the guest user's Apex class access#
Give the site's guest user access to the webhook class. The guest user only gets access to the @Sign webhook class, which receives the status messages from Zoho Sign.
Click the site you want to use.
Click Public Access Settings.
Click Apex Class Access, then Edit.
Click Apex Class Access.
Step 4 of 11
4Enable the webhook class#
Without this class, Salesforce rejects the webhook call. Make sure adser.AdSignWebhookController is under Enabled Apex Classes. If not, select it and click the Add arrow.
Make sure AdSignWebhookController is enabled for the guest user. Without it, Salesforce rejects the webhook.
Why does Salesforce reject the webhook?
The class adser.AdSignWebhookController is not enabled for the site's guest user. Add it under Apex Class Access.
Step 5 of 11
5Save#
Click Save. If the class was already enabled, click Close.
Click Save. If the class was already enabled, click Close instead.
Add the webhook in Zoho Sign
Step 6 of 11
6Create webhook in Zoho Sign#
Salesforce is ready; now tell Zoho Sign where to send its messages.
In Zoho Sign, open Settings, then Developer settings, and add a webhook.
Now open Zoho Sign. Go to Settings, then Developer settings, and create a webhook.
Step 7 of 11
7Enter the webhook address#
In the webhook settings of Zoho Sign, enter your Site URL followed by:
/services/apexrest/adser/adsign/webhook
Callback URL is the address Zoho calls on every event: your Site URL followed by the webhook path from this guide.
Step 8 of 11
8Name the webhook#
Give the webhook a name, for example @Sign Connection.
Give the webhook a name, for example @Sign Connection.
Step 9 of 11
9Select the events#
Select these five events:
Signed by a recipient
Completed by all
Declined
Recalled
Expires
Select Completed by all, Expires, Recalled, Signed by a recipient and Declined.
Step 11 of 11
11Next step#
Set up your Sign Templates. See Manage Sign Templates.
Next, set up your Sign Templates.
What is the webhook address?
Your Site URL followed by /services/apexrest/adser/adsign/webhook.
Which events do I select in Zoho Sign?
Signed, completed, rejected, recalled and expired.
You're all set!
Set up a Zoho Sign webhook for real-time status updates