Get started now

Zoho Deluge Explained: A Plain-English Guide for CRM Admins

Deluge is the scripting language built into Zoho. The name stands for Data Enriched Language for the Universal Grid Environment — a name you will never need to remember. What matters is what it does: Deluge lets you add custom logic to Zoho CRM, Zoho Creator and Zoho One that the visual configuration tools cannot express. If you have used Zoho CRM’s workflow rules, you have already used the boundary of what Zoho can do without scripting. Workflow rules send emails, update fields and create tasks. Deluge extends those capabilities: it can update fields on related records, query other modules for data, call external systems and make decisions based on complex conditions across multiple data sources. This guide explains Deluge from first principles — no prior programming experience assumed. For the hub page with the full Deluge overview, see the Zoho Deluge scripting hub.

What Deluge Looks Like

Deluge scripts read like structured English. Each statement ends with a semicolon. Variables do not need to be declared before use — you just assign them a value. Logic blocks use curly braces. Here is a complete Deluge function that reads a deal record and sends an email if the deal value is above a threshold:

Read through the code line by line. Line 5 gets the deal record and stores it in a variable called “deal”. Line 8 reads the Amount field from that record. Line 11 reads the Owner’s email address. Lines 14–22 send an email if the amount exceeds $50,000. Every line is readable without programming experience — it is close to how you would describe the logic in English.

// Simple Deluge function: alert manager on high-value deal // Input parameter: dealId (passed from workflow rule) // Step 1: Get the deal record deal = zoho.crm.getRecordById(“Deals”, dealId); // Step 2: Read the deal amount dealAmount = deal.get(“Amount”); // Step 3: Read the deal owner’s email ownerEmail = deal.get(“Owner”).get(“email”); // Step 4: Send alert if deal is above threshold if(dealAmount 50000) { sendmail [ from: zoho.adminuserid to: “manager@yourdomain.com” subject: “High-value deal: ” + deal.get(“Deal_Name”) message: “Deal value: $” + dealAmount + “. Owner: ” + ownerEmail ]; }

The Four Things Every Deluge Script Does

Almost every Deluge function in a CRM context involves some combination of four operations:

  • Get data — read a record or a set of records from a Zoho module. “Get the deal record with this ID” or “get all contacts linked to this account”.
  • Evaluate conditions — test whether values meet certain criteria. “If the deal amount is above $50,000” or “if the close date is in the past”.
  • Transform data — calculate new values from existing ones. “Multiply quantity by unit price to get total value” or “concatenate first and last name to get full name”.
  • Write data — update a field on a record, create a new record or send a notification. “Update the Account’s last order date” or “create a follow-up task due in three days”.

Every script in the 5 Deluge scripts CRM admins should know guide uses these four operations in various combinations. Understanding these four building blocks makes any Deluge script readable, even before you learn the syntax details.

The Difference Between a Workflow Rule and a Deluge Function

Workflow rules in Zoho CRM can: update a field on the same record that triggered the rule, send an email, create a task and call a webhook. They are appropriate for most straightforward automation requirements.

Deluge functions handle the requirements that workflow rules cannot. The clearest examples:

  • Updating a field on a related record — a workflow rule on the Deals module can only update fields on the deal record that triggered it. Updating a field on the linked Account requires Deluge.
  • Creating multiple records at once — a workflow rule can create one task. A Deluge function can loop through a list of contacts linked to a deal and create a task for each one.
  • Calling an external API — workflow rules can call a webhook (send data out). A Deluge function can call an external API, read the response and write values from the response back into a CRM record.
  • Complex conditional branching — a workflow rule condition handles if/and/or logic. A Deluge function handles if/else if/else chains with nested conditions and calculations at each branch.

Where Deluge Functions Live in Zoho CRM

Deluge functions in Zoho CRM are found under Setup → Developer Space → Functions. Each function is a named block of Deluge code that can be triggered by a workflow rule, a blueprint transition, a button click on a record, a scheduled timer or an incoming API request.

Writing a function in the Developer Space editor gives you a code editor with syntax highlighting, a test execution panel where you can run the function with sample inputs and an execution log that shows what happened when the function ran — including any errors. The test panel is where most Deluge learning happens: write a function, run it with test data, read the log, adjust, repeat.

Starting Points for CRM Admins

The three Deluge patterns that are most immediately useful for a Zoho CRM administrator with no prior coding experience:

  • Updating a related record — read a field from a parent record (Account) and write a value to a child record (Deal), or vice versa. The most common Deluge use case.
  • Scheduled batch operations — run a function every night that identifies records meeting certain criteria and takes an automated action on each one. Requires a timer trigger, a search query and a loop.
  • Calling an external API — send data to an external system and read the response. The pattern that connects Zoho to the rest of your business software stack.

For structured learning from beginner to advanced, see the Zoho Deluge training programme.

Frequently Asked Questions

Zoho Deluge (Data Enriched Language for the Universal Grid Environment) is the scripting language built into Zoho applications. It is used to write custom functions in Zoho CRM, build app logic in Zoho Creator, and automate workflows that standard configuration cannot handle.
Deluge shares structural similarities with Python — indentation-based syntax, similar data types, readable English-like commands. Developers familiar with Python, JavaScript or similar languages typically pick up Deluge quickly. See the detailed comparison at Zoho Deluge vs Python →
Mathematical calculations across multiple records, conditional field updates involving complex logic, API calls to external systems, data transformations before storing in the CRM, and scheduled bulk operations across large data sets.
Deluge scripts are written in the Zoho CRM function editor (Settings → Developer Space → Functions) or within Zoho Creator’s workflow builder. Scripts execute on Zoho’s servers — no local installation is required.
Yes — Deluge scripting is a core ABR development service. Book a free consultation →