Home Glossary Zoho Flow Custom Function (Flow)
Zoho Flow

Custom Function (Flow)

A Deluge script embedded in a Zoho Flow automation to handle complex transformation, conditional logic, or API operations that cannot be achieved with the built-in step types.

What Is a Custom Function in Zoho Flow?

A Custom Function in Zoho Flow is a block of Deluge code executed as a step within a flow automation. It enables logic that is too complex for the visual step builder: multi-step calculations, string manipulation beyond the Data Formatter’s capabilities, conditional API calls, or building complex request payloads for HTTP actions.

Writing Custom Functions

Custom Functions are written in Zoho’s Deluge scripting language. They can access trigger and previous step data via input parameters, perform any Deluge operation (including calling Zoho app APIs via built-in Deluge functions), and return output values for use in subsequent flow steps.

When to Use Custom Functions

Reach for Custom Functions when visual step configuration cannot express the required logic. Common use cases include: building a complex JSON payload for an HTTP action, parsing a nested API response, implementing business rules involving multiple conditions and calculations, or batching records before sending them to an external API.

Need help implementing this in Zoho?

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