Automate your project workflow using Custom Functions. A custom function is a software code that can be used to automate
a process. In Deluge, you can write your own function and call it from
one or more Workflow rules. It is similar to Javascript's built-in functions such as
DATE, CONCAT, REPLACE, and so on. Custom functions allow you to automate
a notification, call a webhook, or perform logic immediately after a
workflow rule is triggered.
Feature Availability: Latest Enterprise planAdd a Custom Function
- Click
in the top navigation bar.
- Navigate to Marketplace and click Custom Functions under Developer Space.
- Select Projects from the drop-down.
- Click Create Custom Function.
- Enter a Function Name and a Description.
- Select a Layout and set the Arguments.
- Type in your code in the Deluge script
editor or drag and drop the parameters available in the left panel of
the editor and customize them.
- Click Save.
- Click Save and Execute to execute the custom function immediately.
![](https://help.zoho.com/galleryDocuments/edbsn709c15cb184148ab6a101b6d7b73194ca54f11e80c953017dcfee8a3a631d01a374d40c5471dea56d96c260112e2d872?inline=true)
Associate a Custom Function to a Workflow Rule
- Click
in the top navigation bar.
- Navigate to Project Automation and click Workflow Rules.
- Select a rule.
- Under Add Actions, click Associate Custom Function.
- You can associate an existing Custom Function or create a new one.
- Click Save Rule.
![](https://help.zoho.com/galleryDocuments/edbsnb29d9dc93f65f60ed0491a4a8c210247a3d3ad825a6ae261bf268104ae40bdb38a69c0ff6eda5cf970f633707371f223?inline=true)
![](https://img.zohostatic.com/zde/static/images/file.png)
- You can add upto 25 custom functions per layout.
- A maximum of 25 parameters are allowed per custom function.
- The maximum number of custom function
failure per day is 20. If a custom function's failure count is reached,
it will be disabled automatically, and the user who created the custom
function will be notified via email.
- In a portal, a maximum of 5000 custom functions can be executed per day by Workflow Rule.
Gallery Functions
Supported Gallery Functions
Add Note to Linked CRM Account
Add a Note to Linked CRM Contact
Add Note to Linked CRM Deal
Sync Status Timeline to Analytics
Sync Due Date Changes to Analytics
Create Task
Create an Issue
Create a Milestone
Merge and Sign Documents Using a Zoho Writer
Merge and Store Documents Using a Zoho Writer
Send Message to a Slack Channel
Send Message to a Cliq Channel
Create an estimate in Zoho Invoice
Other Actions
Users can edit, delete, clone, or enable REST APIs for a custom function.
Hover over a custom function and then click
![](https://help.zoho.com/galleryDocuments/edbsnc4c7d51d19e82c762d0d5c8adb0248d86356e07e3303ec670080438812d6527c19aa6e67c6c8a4105ee493bb037b7244?inline=true)
icon.
Select the required option and make the necessary changes.
Edit: Modify the existing custom function
Delete: Deleted the existing custom function
Clone: Create a copy of the custom function
Rest API: Enable the REST API url for the custom function.
![](https://help.zoho.com/galleryDocuments/edbsne8207fa269b277bbfc79a719b120ecd279db577f80c0dba151df8ae3b21a96902100901ae79e8d88b9664a334484c2c1?inline=true)
See Also