Custom Functions for Tasks

Custom Functions for Tasks

Automate your tasks 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 plan.


  1. Integrate with Zoho Apps or third party apps.
  2. Automate repetitive tasks.

Add a Custom Function

  1. Click  in the top navigation bar.
  2. Navigate to Marketplace and click Custom Functions under Developer Space.
  3. Select Tasks  from the dropdown box.
  4. Click Create Custom Function.
  5. Enter a Function Name and a Description.
  6. Select a Layout and set the Arguments.
  7. 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.
  8. Click Save.
  9. Click Save and Execute to execute the custom function immediately.
  10. Enter a task ID or search and fetch the task ID to execute the custom function.

If an error occurs while mapping or executing a Custom Function to a Blueprint or Workflow Rule, it can be viewed in the Failure Log. Click and select Failure Log.

Associate a Custom Function to a Workflow Rule

  1. Click   in the top navigation bar.
  2. Navigate to Task Automation and click Workflow Rules.
  3. Select a rule.
  4. Under Add Actions, click Associate Custom Function.
  5. You can associate an existing Custom Function or create a new one.
  6. Click Save Rule.

Associate a Custom Function to a Blueprint

  1. Click   in the top navigation bar.
  2. Navigate to Task Automation and click Blueprint.
  3. Select a Blueprint.
  4. Under After, click on Custom Function.
  5. Click Add to associate a custom function or to create a new one.
  6. Click the Publish button.

  1. You can add upto 25 custom functions per layout.
  2. When creating a custom function, a maximum of 25 parameters is allowed.
  3. 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.
  4. In a portal, a maximum of 5000 custom functions can be executed per day by Workflow Rule/Blueprint.
We have few pre-defined functions that are ready to use.
  1. Click  in the top navigation bar.
  2. Navigate to Marketplace and click Custom Functions under Developer Space.
  3. Select Tasks  from the drop-down box.
  4. Click on the drop-down next to the Create Custom Function button.
  5. Click Gallery Function.
  6. Hover over any of the listed functions and click Create.

  7. Change the description and arguments if needed.
    The deluge code is prefilled. The TODO lets users know the edits to the code before it can be executed.

  8. Click Save or Save and Execute to run the custom function.

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now

            Get started with Zoho Sign

            in a few quick steps!

            Download Help Guide

                      Still can't find what you're looking for?

                      Write to us:



                        Zoho Marketing Automation

                          Zoho Sheet Reources


                              Zoho Forms Resources

                                Secure your business
                                communication with Zoho Mail

                                Mail on the move with
                                Zoho Mail mobile application

                                  Stay on top of your schedule
                                  at all times

                                  Carry your calendar with you
                                  Anytime, anywhere

                                        Zoho Sign Resources

                                          Sign, Paperless!

                                          Sign and send business documents on the go!

                                          Get Started Now

                                              Zoho SalesIQ Resources

                                                  Zoho TeamInbox Resources

                                                          Zoho DataPrep Resources

                                                            Zoho DataPrep Demo

                                                            Get a personalized demo or POC

                                                            REGISTER NOW

                                                              Design. Discuss. Deliver.

                                                              Create visually engaging stories with Zoho Show.

                                                              Get Started Now

                                                                                    • Related Articles

                                                                                    • Custom Functions for Issues

                                                                                      Automate your issues workflow using Custom Functions. A custom function is a piece of code that can be used for automating a process. You can write your own function in Deluge and call it from one or more business rules. It is similar to the built-in ...
                                                                                    • Formula Custom Fields

                                                                                      A formula field will automatically calculate and derives its value by referring to the value of the specified fields or the numeric, text, or date values given in the formula. You can customize fields with formulas using functions like numeric, ...
                                                                                    • Portal Home

                                                                                      The Home displays the most sought-after stats across your projects in the form of widgets. You can view a comprehensive list of the status of all the work items across all the projects in your portal. Personal Click the Home tab in the top band of ...
                                                                                    • Webhooks for Tasks

                                                                                      Webhooks facilitate automated HTTP notifications to third party applications from Zoho Projects. Webhooks allow you to send real-time data from one application to another whenever an event occurs. Using Webhooks, you can configure your own HTTP URLs ...
                                                                                    • Assign Tasks to a Team

                                                                                      Zoho Projects allows you to assign teams to the tasks in your project. The Associated Team field helps you to bring together individual tasks of your project with your teams so that you can perform the tasks more efficiently. Benefits Assign tasks to ...
                                                                                    Wherever you are is as good as
                                                                                    your workplace



                                                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.


                                                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.


                                                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.

                                                                                      CRM Tips

                                                                                      Make the most of Zoho CRM with these useful tips.

                                                                                        Zoho Show Resources