Zoho CRM's built-in tools, such as Workflow Rules, cover a lot of ground: sending emails, updating fields, creating tasks. But sometimes a process needs logic those visual tools simply can't express, such as calculating a value across related records, calling an external system, or making a decision based on several conditions at once. This is where custom functions come in.
A custom function is a small script that runs when triggered by a Workflow Rule, a Blueprint transition, a scheduled timer, or a button click, and can manipulate CRM data, update related records, run calculations, or communicate with third-party applications. Traditionally, custom functions were written exclusively in Deluge, Zoho's own scripting language, though newer parts of the Functions platform have expanded to also support Java, Node.js, and Python, so it's worth checking what's available in your account.
Deluge, short for Data Enriched Language for the Universal Grid Environment, is an online scripting language built into Zoho CRM and integrated across more than forty other Zoho products. It's designed to be readable even without much programming background, with an English-like, indentation-based syntax similar in feel to Python. The database layer is abstracted away, so most of your work is mapping arguments to fields rather than writing low-level data access code yourself.
Common examples include copying a value from one module to a related one automatically, such as mapping a sector from an Account down to a new Contact, running calculations across records that a simple field can't express, calling an external API to pull in or push out data, and applying conditional logic that spans more than one module.