Workflow rule webhook per Zoho CRM environment

Workflow rule webhook per Zoho CRM environment

Currently I have a Workflow rule setup to trigger on the creation of a new Lead in my Zoho CRM account.

Once triggered, with Workflow rule will send a webhook to a specified URL e.g.

https://production.example.com/api/v1/zoho/webhook


If I rebuild my Sandbox environment this Workflow rule is duplicated with the same webhook URL.

This isn't ideal as I want the webhook from the Sandbox environment to go to my test environment (a different URL) e.g.

https://test.example.com/api/v1/zoho/webhook

Is there a way to configure a Workflow rule to dynamically set the URL based on whether it's in the Sandbox environment or not?

The only way I can think to make this work is to send the Organisation ID as a parameter in the webhook which appears to be unique per environment .

Then in the webhook request handler have some logic that checks the Organisation ID and switches relative to which one is sent by the Workflow rule.

Is there a better way to do this?

      • Sticky Posts

      • Free Webinar - Digital signatures for digital contract management with Zoho CRM

        Hi, Did you know you can seamlessly send and collect signatures on important business documents like business proposals, vendor agreements, sales contracts, invoices, and other inventory documents with Zoho Sign’s extension for Zoho CRM? Join our upcoming
      • New User Interface for your Email integration in Zoho CRM

        Hello folks,  As most of you may already know, Zoho Mail recently got a new user interface that's a lot better and easier to use. As a result, this change will affect your email integration with your Zoho CRM account**.  If you have your email integration in Zoho CRM set up through POP, your Emails UI in CRM will be moved to the new Zoho Mail UI. We hope that you like the new and improved Emails interface inside Zoho CRM. Feel free to share your feedback by commenting below.  **Please note that,
      • Fetching leads from Zoho CRM into Zoho Creator, automatically

        I'd like to pull new leads from the CRM system, into Creator, on a daily basis. Is this possible?   Yes, it is possible. Zoho Creator and Zoho CRM are integrated with each other, enabling you to synchronize data between them. This is done by fetching records from CRM into a Zoho Creator form. In order to achieve this, you'll have to configure a workflow alert in Zoho CRM.  For instance, you can maintain the lead details in CRM on a separate form in Zoho Creator by fetching the details automatically