Zoho Books: How to trigger workflow in Deluge script
💡 How to Force Execute Workflow in Zoho Books Using Deluge
Hello Team,
If you're looking to forcefully execute a custom function or workflow in Zoho Books, you can do so by using the special header node X-ZOHO-Execute-CustomFunction in your API call.
Set the header value to "true" and it will trigger the associated custom function or workflow during the API execution.
✅ Sample Deluge Script:
- headermap = Map();
- headermap .put("X-ZOHO-Execute-CustomFunction", "true");
- result = invokeurl
- [
- url: "Zoho Books URL"
- type: POST
- parameters: <expression>
- headers: headermap
- connection: "zbooks"
- ];
Replace "Zoho Books URL" with your actual endpoint, and <expression> with your required parameters.
This is especially useful when you want to ensure a custom workflow runs during an API-based record creation or update.
Thanks & Regards
Piyush Goyal
Zoho Developer | Certified in CRM and Creator
+91-8619164837