Get started now
Zoho One | Development & Automation

Zoho Deluge: The Scripting Language Behind Zoho Automation

Zoho Deluge
Ten lines of Deluge do what hours of clicking cannot.

At a glance

What it is
Informational
Best for
Informational
Pricing
See the pricing section below
Zoho One
Included
✓2,000+Zoho projects delivered
13+13+ yearsbuilding Zoho systems
●US · Canada · EuropePremium Partner
Deluge is Zoho’s built-in scripting language for automation across more than 25 Zoho apps. It is included free with the apps that support it, reads close to plain English, and powers custom functions, Creator app logic and Flow custom functions. Start with our Deluge introduction, keep the cheat sheet open while you write, and learn by automating one small, real task.

Deluge, short for Data Enriched Language for the Universal Grid Environment, is Zoho’s own scripting language. It is the layer under nearly every advanced Zoho automation: custom functions in Zoho CRM, all the logic in Zoho Creator apps, custom functions in Zoho Flow, and automation in Books, Desk, People and more. Where workflow rules click together the common cases, Deluge handles the rest. This page gathers our Deluge guides, including the cheat sheet thousands of admins use every month.

Where Deluge Runs

Zoho appWhat Deluge does there
Zoho CRMCustom functions on workflow rules, buttons and blueprints
Zoho CreatorAll app logic: validations, calculations, integrations
Zoho FlowCustom functions inside flows for formatting and logic
Zoho Books and InventoryCustom functions for finance automation
Zoho Desk, People, RecruitWorkflow custom functions and validations

What You Can Do With Deluge

  • Calculate and update fields across related records.
  • Create, fetch and update records in other Zoho apps with built-in integration tasks.
  • Call external APIs and process their responses.
  • Send formatted emails and Cliq messages from automations.
  • Validate data on entry and enforce business rules.
  • Schedule scripts to run on a timer.

What Deluge Looks Like

// When a deal closes, post the details to a Cliq channel
deal = zoho.crm.getRecordById("Deals", dealId);
msg = "Deal won: " + deal.get("Deal_Name") + " (" + deal.get("Amount") + ")";
zoho.cliq.postToChannel("sales-wins", msg);

Three lines replace a copy-paste ritual. The syntax reads close to plain English, with no setup, servers or compilers: scripts live inside the Zoho app that runs them. Our Deluge introduction walks through the fundamentals.

Why Deluge Exists at All

Zoho could have exposed a general-purpose language, and instead built one tuned to its own platform. The payoff is the integration tasks: creating a CRM record, posting to Cliq, sending mail or fetching a Books invoice is a single built-in statement, with authentication handled by the platform, where the same job in JavaScript against the public APIs would mean tokens, endpoints and error handling. The trade-off is portability, since Deluge runs only inside Zoho, which is exactly why it stays simple enough for admins to learn.

  • Integration tasks: one-line access to CRM, Books, Cliq, Mail and more.
  • Platform-managed auth: no tokens or keys to store and rotate.
  • Guardrails: execution limits that contain mistakes instead of spreading them.

Learning Deluge: A Practical Path

  1. Read the Deluge introduction for variables, maps, lists and conditions.
  2. Keep the Deluge cheat sheet open while you write; it covers the syntax used most.
  3. Write your first CRM custom function from our CRM custom functions guide.
  4. Automate one small, real task, such as a field calculation, before anything ambitious.
  5. Learn when NOT to script: workflow vs Blueprint shows what no-code already covers.

A Second Example: Stopping Bad Data at the Door

// Creator form validation: require a PO number for orders over 5000
if(input.Order_Value > 5000 && input.PO_Number == "")
{
alert "Orders over 5,000 need a PO number before submission.";
cancel submit;
}

Validation scripts like this are often the highest-value Deluge a business writes: five lines that stop a data-quality problem at entry instead of cleaning it up in reports for years.

Common First Scripts

TaskLines of Deluge, roughly
Calculate a total from related records5 to 10
Copy deal fields to a project on Closed Won10 to 15
Validate a field combination before save5 to 10
Post a formatted summary to a Cliq channel3 to 8
Call an external API and store the response10 to 20

Keeping Scripts Maintainable

  • One function, one job: split long scripts rather than growing them.
  • Comment the why, never only the what.
  • Name variables after the business, such as dealOwnerEmail, not x1.
  • Log failures somewhere a person looks, such as a Cliq channel.
  • Keep a simple register of functions: app, trigger, owner, last change.

How Much Deluge Costs

Nothing extra. Deluge is built into the Zoho apps that support it; what varies by plan is how many custom functions you can run and how often. Zoho CRM’s paid editions, Creator’s plans and Flow’s plans each set their own function limits.

Deluge and AI Assistance

Zia can now draft Deluge for you: Zoho CRM’s Zia Formula Expression Generator turns a plain-language description into a working formula, and AI-assisted function writing is spreading across the platform. Treat generated scripts the way you would a junior developer’s work: read them, test them on real records and keep the readable version. The cheat sheet makes reviewing generated code much faster.

Getting Help With Deluge

Zoho’s own documentation covers every task and integration, and the community forums answer most one-off questions. For functions that touch money, customer data or cross-app automation, having a partner write or review the script costs little against what a silent failure costs. We also run Deluge training for admins who want to own their automations.

When to Write Deluge, and When Not To

SituationBest tool
Send an email when a field changesWorkflow rule, no code
Guide a record through stagesBlueprint, no code
Update related records with calculationsDeluge custom function
Connect two apps with simple mappingZoho Flow, no code
Format data or call an API inside a flowDeluge custom function in Flow

Limits Worth Knowing

Deluge runs inside Zoho’s platform with sensible guardrails: scripts have execution-time limits, apps cap how many custom functions run per day by plan, and long loops over thousands of records need batching or scheduling. These limits rarely bite well-written functions, and they are the reason a misfiring script slows one automation instead of taking down your CRM. When a job genuinely exceeds them, the answer is usually a scheduled script, a Flow, or restructuring the data rather than fighting the platform.

Deluge in Hiring and Outsourcing

When hiring or outsourcing Zoho work, Deluge fluency separates administrators from developers. Ask candidates how they would update related records, call an external API and handle its failure, and when they would refuse to script because a workflow rule already does the job. Clean, commented, documented Deluge is what keeps your automation maintainable after the person who wrote it moves on.

Deluge Guides

Questions People Ask About Zoho Deluge

Short answers, drawn from the guide above.

What is Deluge in Zoho?

Deluge is Zoho’s own scripting language for automation. It powers custom functions in Zoho CRM, all logic in Zoho Creator apps, custom functions in Zoho Flow and automation across many other Zoho apps.

Is Deluge free?

Yes. Deluge is included with the Zoho apps that support it. Plans differ only in how many custom functions you can run.

Is Deluge hard to learn?

No. It reads close to plain English and hides most programming complexity. Admins comfortable with formulas usually write useful scripts within days.

Is Deluge the same as JavaScript?

No. Deluge is Zoho-specific, with built-in tasks for Zoho apps, such as creating CRM records or sending Cliq messages, that would take far more code elsewhere.

Can ABR write Deluge functions for us?

Yes. We write, document and maintain custom functions across CRM, Creator, Flow and Books, and we train admins to handle small changes themselves.

Where do I write Deluge scripts?

Inside each Zoho app: in Zoho CRM under workflow rules and buttons as custom functions, in Zoho Creator inside form and workflow events, and in Zoho Flow as custom functions within a flow.

Can Deluge call external APIs?

Yes. The invokeurl task calls any REST API, so scripts can push and pull data from systems outside Zoho.

Can Zia write Deluge for me?

Increasingly, yes. Zia’s Formula Expression Generator in Zoho CRM turns plain-language descriptions into formulas, and AI assistance for functions is expanding. Always read and test generated scripts before relying on them.

How many custom functions can I run?

Each app sets its own limits by plan, counted as executions per day or per month. Well-scoped functions rarely hit them; batch or schedule heavy jobs that process thousands of records.

Watch: video guides for this section

Demos and tutorials picked for this section. Subscribe to the ABR channel for more.

Subscribe to the channel

Guides in this section

Every article filed under this category, newest first.

Smiling software developer standing in a bright office
Zoho Deluge

Deluge For Each Loop

Quick answer: what is “deluge for each” and when should you use it? The deluge for each statement

Read ›
A note on pricing. Prices and plan limits on this page are Zoho's published rates at the time of writing and change over time, vary by region and currency, and can differ inside Zoho One. Always confirm current figures on Zoho's official pricing page or ask us before you buy.

Want this set up properly?

We configure Zoho apps around how your business actually runs, connect them to the rest of your stack and train your team. ABR is a Zoho Premium Partner with 2,000+ completed projects since 2013.

  • A Zoho Premium Partner team
  • Configured around your process
  • Connected to CRM, Books and Cliq
  • Your team trained