Home Glossary Zoho Desk Custom Function (Desk)
Zoho Desk

Custom Function (Desk)

Custom functions in Zoho Desk are Deluge scripts triggered by workflows or Blueprints, extending automation with API calls and complex multi-step logic.

A custom function in Zoho Desk is a snippet of Deluge script code that executes complex logic when triggered by a workflow action or Blueprint transition. Custom functions extend Zoho Desk’s native automation beyond what built-in actions can achieve.

What Custom Functions Can Do

Custom functions can interact with any Zoho API, perform calculations, fetch data from external systems, update multiple records simultaneously, send formatted messages to communication tools, or execute multi-step logic that built-in workflow actions cannot handle.

Deluge Scripting Language

Custom functions in Zoho Desk are written in Deluge, Zoho’s proprietary scripting language. Deluge provides built-in functions for API calls, date manipulation, string handling, and data formatting. The Zoho Desk custom function editor includes a testing tool to validate code before deployment.

Custom Functions in Blueprints and Workflows

Custom functions are triggered from workflow actions or Blueprint transitions. For example, when a warranty claim ticket transitions to ‘Approved’, a custom function can call the ERP API to create a replacement order, update a custom field in Zoho Desk with the order number, and send a confirmation email.

Example: A manufacturing company’s warranty approval Blueprint transition runs a custom Deluge function that: calls their ERP API to create a replacement order, retrieves the order number from the ERP response, updates the Zoho Desk ticket’s custom ‘Order Number’ field, and sends a confirmation email to the customer.
What is a Custom Function in Zoho Desk?

A custom function is a Deluge script that executes complex logic when triggered by a workflow action or Blueprint transition. It extends Zoho Desk automation by enabling API calls, data calculations, and multi-step processes beyond built-in action types.

What scripting language is used for Zoho Desk custom functions?

Zoho Desk custom functions are written in Deluge, Zoho’s proprietary scripting language. Deluge supports API calls, data manipulation, and conditional logic. The built-in editor includes a testing environment to validate functions before activating them.

Need help implementing this in Zoho?

Aaxonix is a certified Zoho implementation partner based in Pune. Architecture-first, no surprises.