Complete Deluge Function Reference Guide for Zoho Creator Development

Complete Deluge Function Reference Guide - Zoho Creator Development Resource

Creator Scripts

Zoho Trusted Partner in Digital Transformation

Complete Deluge Function Reference Guide - Zoho Creator Development Resource

COMPREHENSIVE DELUGE FUNCTION CATALOG

Total Functions Available: 200+ built-in functions across 10+ categories

STRING FUNCTIONS (25+ Functions)

Core Functions:

  • length(string) - Returns string length
  • substring(string, start, end) - Extract substring
  • replace(string, old, new) - Replace text
  • toLowerCase(string) - Convert to lowercase
  • toUpperCase(string) - Convert to uppercase
  • trim(string) - Remove whitespace
  • contains(string, substring) - Check if contains text
  • startsWith(string, prefix) - Check prefix
  • endsWith(string, suffix) - Check suffix
  • split(string, delimiter) - Split into list

Example: name = toUpperCase(substring(input.Full_Name, 0, 10));

DATE/TIME FUNCTIONS (30+ Functions)

Essential Functions:

  • today() - Current date
  • now() - Current datetime
  • addDays(date, days) - Add days to date
  • addMonths(date, months) - Add months
  • daysBetween(date1, date2) - Calculate difference
  • format(date, "dd-MMM-yyyy") - Format date
  • hour(datetime) - Extract hour
  • minute(datetime) - Extract minute
  • year(date) - Extract year
  • month(date) - Extract month

Example: due_date = addDays(today(), 30);

COLLECTION FUNCTIONS (20+ Functions)

List/Map Operations:

  • size(collection) - Get collection size
  • sort(list, field) - Sort collection
  • distinct(list, field) - Remove duplicates
  • sum(list, field) - Calculate sum
  • max(list, field) - Find maximum
  • min(list, field) - Find minimum
  • average(list, field) - Calculate average
  • contains(list, value) - Check if contains
  • add(list, value) - Add to list
  • remove(list, index) - Remove from list

Example: total = sum(order_items, "Amount");

️ DATABASE FUNCTIONS (25+ Functions)

CRUD Operations:

  • insert into Form_Name values {field1: value1};
  • update Form_Name set field1 = value1 where condition;
  • delete from Form_Name where condition;
  • fetch records from Form_Name where condition;
  • count from Form_Name where condition;
  • sum field from Form_Name where condition;
  • max field from Form_Name where condition;
  • min field from Form_Name where condition;

Example: records = fetch records from Customers where Status == "Active";

INTEGRATION FUNCTIONS (15+ Functions)

API & Communication:

  • invokeURL(url, method, headers, data) - API calls
  • sendmail(to, subject, message) - Send email
  • sendSMS(mobile, message) - Send SMS
  • getUrl(record_id, form_name) - Get record URL
  • openUrl(url, target) - Open URL
  • downloadFile(url) - Download file

Example: response = invokeURL("https://api.example.com/data", "GET", headers, "");

MATHEMATICAL FUNCTIONS (15+ Functions)

Calculations:

  • round(number, decimals) - Round number
  • ceil(number) - Round up
  • floor(number) - Round down
  • abs(number) - Absolute value
  • pow(base, exponent) - Power calculation
  • sqrt(number) - Square root
  • random() - Random number

Example: total = round(price * quantity * 1.18, 2);

FILE HANDLING FUNCTIONS (10+ Functions)

File Operations:

  • getFile(file_field) - Get file details
  • uploadFile(file_content, filename) - Upload file
  • deleteFile(file_id) - Delete file
  • getFileContent(file_id) - Read file content

⚙️ WORKFLOW & UTILITY FUNCTIONS (20+ Functions)

System Functions:

  • zoho.currentuser - Current user info
  • zoho.currenttime - Current timestamp
  • zoho.appuri - Application URI
  • input.field_name - Form input values
  • info message; - Display info message
  • alert message; - Display alert
  • success message; - Display success message

PERFORMANCE OPTIMIZATION TIPS

✅ Best Practices:

  • Batch Operations: Use bulk insert/update instead of loops
  • Efficient Queries: Use specific WHERE conditions to limit records
  • Index Fields: Index frequently queried fields
  • Minimize API Calls: Batch API requests when possible
  • Cache Results: Store frequently accessed data
  • Avoid Nested Loops: Use collection functions instead

⚠️ Performance Considerations:

  • Large Datasets: Use pagination for large record sets
  • Complex Calculations: Consider pre-calculating values
  • File Operations: Handle large files asynchronously
  • API Limits: Respect rate limits and implement retry logic

QUICK ACCESS RESOURCES

Get Started with Zoho Creator:

Ready to implement these functions in your applications? Start your free Zoho Creator trial and begin building powerful business applications with Deluge scripting.

Advanced Development Support:

Need help implementing complex Deluge solutions? Our expert developers can assist with custom script development, performance optimization, and advanced integrations.

ADDITIONAL LEARNING RESOURCES

Connect With Creator Scripts

⭐ Proud Winner of Zoho Creator's Tech Star in Healthcare ⭐

Trusted by Businesses Worldwide

This email was sent automatically with Creator Scripts

© 2025 Creator Scripts - Zoho Trusted Partner in Digital Transformation

    • Related Articles

    • Zoho Flow Selective Updates - Complete Implementation Guide

      Creator Scripts Zoho Trusted Partner in Digital Transformation Zoho Flow Selective Updates - Complete Implementation Guide Executive Summary Challenge: Preventing Zoho Flow from overwriting existing Creator record data with blank values during ...
    • Zoho CRM Implementation - Complete Strategic Guide & Roadmap

      Creator Scripts Zoho Trusted Partner in Digital Transformation Zoho CRM Implementation - Complete Strategic Guide STRATEGIC IMPLEMENTATION FRAMEWORK Phase 1: Discovery & Planning (2-4 weeks) Business process mapping and requirements gathering Data ...
    • Complete Zoho Creator String Functions Guide

      Creator Scripts Zoho Trusted Partner in Digital Transformation Complete Zoho Creator String Functions Guide Essential String Functions 1. len() - String Length text_variable = "Hello World"; string_length = len(text_variable); // Returns: 11 2. ...
    • Complete Service Engagement Guide - Zoho Solutions Portfolio

      Creator Scripts Zoho Trusted Partner in Digital Transformation Complete Service Engagement Guide - Zoho Solutions Portfolio Our Core Service Portfolio Custom Zoho Development Deluge script optimization and custom function development Multi-app ...
    • How to resolve slow response times from Zoho sales team during onboarding process?

      Overcoming Zoho Sales Team Response Delays Overcoming Zoho Sales Team Response Delays: A Complete Guide to Faster Support and Successful Onboarding Understanding the Challenge: Why Response Delays Happen Zoho serves millions of users globally, which ...