Zoho CRM’s workflow rules and blueprints handle the majority of automation requirements. Deluge handles the rest — the automation that requires logic, not just conditions.
| Requirement | Standard Config Handles It? | Deluge Required? |
|---|---|---|
| Send an email when a field changes | Yes — workflow rule | No |
| Update a field on the same record when conditions are met | Yes — field update action | No |
| Update a field on a RELATED record when the parent changes | No | Yes |
| Create multiple child records from a single parent record event | No | Yes |
| Call an external API and write the response to a CRM field | No | Yes |
| Perform a calculation across multiple related records | No | Yes |
| Run a batch operation on all records matching a criteria (nightly) | No | Yes — Scheduled Function |
| Conditional routing logic with more than 10 branches | Difficult | Yes — cleaner in Deluge |
Custom functions in Zoho CRM are Deluge scripts triggered by workflow rules, blueprint transitions, button clicks on records or scheduled timers. They have full read and write access to the CRM data model — all standard and custom modules, all fields, all relationships. Custom functions are the most common Deluge use case for CRM administrators. See the Zoho CRM custom functions with Deluge guide for examples and implementation instructions.
In Zoho Creator applications, Deluge runs as form submission logic (what happens when a user submits a form), on-load functions (what data is loaded when a view opens), scheduled functions and action buttons. Creator Deluge has access to the Creator app’s own data and to Zoho CRM and other Zoho One data through built-in connector functions.
Scheduled functions run Deluge scripts on a clock — daily, weekly, at a defined time, or at a custom cron interval. They are the right tool for batch operations that need to run on a schedule rather than in response to a user event: nightly data cleanup, weekly rollup calculations, monthly report generation and territory rebalancing. See the scheduled Deluge functions guide.
Deluge functions can be exposed as REST API endpoints via Zoho Creator or Zoho CRM. An external system sends an API request to the Deluge function, the function processes the request and returns a response. This pattern bridges external systems and Zoho logic — the external system handles its own processing, and Deluge handles everything that happens inside Zoho as a result. See the API integrations hub for the full API context.
Zoho Flow — Zoho’s no-code workflow builder — supports Deluge as a custom function step. When a no-code flow needs to perform logic that the standard action blocks cannot express, a Deluge function handles that step while the rest of the flow remains visual. This is a common pattern for teams who maintain Flows independently but need a developer to handle the complex logic steps.
The following example reads a related account record and updates a field on a deal. This is one of the most common Deluge patterns — accessing data from a related module and using it in a calculation or update on the current record.
This function demonstrates the core Deluge pattern: get a record, read a field, use the value to update another record. The syntax is readable without prior programming experience, and the structure is consistent across all Deluge contexts. See the Deluge introduction guide for a complete beginner walkthrough, or the 5 Deluge scripts every CRM admin should know for more practical examples.
| // Custom function: update deal “Account Industry” from linked account // Trigger: Workflow rule when deal is created or account is changed // 1. Get the deal record that triggered this function deal = zoho.crm.getRecordById(“Deals”, dealId); // 2. Get the linked account ID from the deal accountId = deal.get(“Account_Name”).get(“id”); // 3. Fetch the account record account = zoho.crm.getRecordById(“Accounts”, accountId); // 4. Read the industry field from the account industry = account.get(“Industry”); // 5. Update the deal record with the account’s industry updateMap = Map(); updateMap.put(“Account_Industry”, industry); zoho.crm.updateRecord(“Deals”, dealId, updateMap); |
|---|
Deluge has a deliberately gentle learning curve for people with no prior coding experience. The syntax reads like structured English, the built-in functions follow predictable naming conventions and the Zoho documentation covers the core functions well. The challenge for most learners is not the language itself — it is knowing which patterns solve which problems and how to structure logic for real business requirements.
ABR offers structured Deluge training for Zoho CRM administrators and business owners who want to build and maintain their own functions. See the Zoho Deluge training programme for curriculum, format and how to enrol.
Introduction to Zoho Deluge: A Guide for Non-Developers — what Deluge is, when to use it and a first working example.
Zoho Deluge Training Programme — structured learning from beginner to advanced.
Zoho CRM Custom Functions with Deluge — three complete, copy-paste-ready examples for common CRM automation tasks.
5 Deluge Scripts Every Zoho CRM Admin Should Know — practical scripts with full code and plain-English explanations.
Automating Zoho CRM with Scheduled Deluge Functions — how to run batch operations on a timer.
Making API Calls from Zoho Deluge — how to call external REST APIs from a Deluge function.
Zoho Deluge Cheat Sheet: Functions and Syntax Reference — the reference guide bookmarked by every Zoho developer.
Zoho Deluge vs Python: Choosing the Right Scripting Language — for developers evaluating Deluge against alternatives.
Do I need programming experience to use Zoho Deluge?
What is the difference between Zoho workflow rules and Deluge custom functions?
Can ABR write Zoho Deluge scripts for our Zoho CRM?
Where can I learn Zoho Deluge?