Home Glossary Zoho CRM Custom Function (Workflow Action)
Zoho CRM

Custom Function (Workflow Action)

A Custom Function in Zoho CRM is a Workflow Action that executes a snippet of Deluge code when a Workflow Rule fires.…

A Custom Function in Zoho CRM is a Workflow Action that executes a snippet of Deluge code when a Workflow Rule fires. Unlike basic actions such as Field Update or Email Notification, Custom Functions can perform complex logic – calling external APIs, updating multiple related records, parsing responses, and making decisions based on field values.

What Custom Functions Can Do

Custom Functions run Deluge Scripting code in the context of the triggered record. They can: read and update any field on the CRM record or related records, call external HTTP APIs and process JSON responses, create child records in related modules, query CRM data using COQL, and send notifications or invoke other Zoho services via Deluge’s built-in invokeurl and zoho.crm API calls.

Custom Functions vs Webhooks

A Webhook sends data to an external endpoint but does not process the response. A Custom Function can call the same external endpoint and then use the response to update CRM fields, create records, or trigger further actions. Custom Functions are also able to interact with other Zoho products (Books, Desk, Projects) without needing a separate Webhook or Flow setup.

Industry Example

Manufacturing: When a Deal moves to “Won”, a Custom Function runs to: (1) create a new Project in Zoho Projects, (2) create an Invoice in Zoho Books using the line items from the Quote, and (3) update the Account’s “Active Projects” count. All three actions happen in one automated step at deal closure.

Frequently Asked Questions

What is a Custom Function in Zoho CRM?

A Custom Function is a workflow action that runs Deluge code when a workflow rule fires. It can update CRM records, call external APIs, process responses, and interact with other Zoho products – making it the most powerful and flexible workflow action type.

Do I need coding experience to use Custom Functions in Zoho CRM?

Basic Deluge scripting experience is recommended. Deluge is a simple, JavaScript-like language designed specifically for Zoho. For complex integrations – such as syncing data with an ERP or performing multi-step logic – working with a Zoho implementation partner is advisable.

Need help implementing this in Zoho?

Aaxonix is a certified Zoho implementation partner based in Pune. Architecture-first, no surprises.