Skip to content

Zoho: List Workflow Rules in your Zoho CRM Organization

Zoho workflowRules.getWorkflowRules: arguments, response, policy and SDK examples.

← Workflow rules operations · Get started

Operation zoho.getworkflowrules

Provider route: GET /crm/v8/settings/automation/workflow_rules. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["workflowRules"]["getWorkflowRules"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.workflowRules.getWorkflowRules(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_zoho import ZohoIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.workflow_rules.get_workflow_rules(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectOptionalAdditional keys: not allowed
query.pageintegerOptionalFormat: int32
Minimum: 1
query.per_pageintegerOptionalFormat: int32
Maximum: 200
Minimum: 1
query.modulestringOptionalFormat: string
query.status_activebooleanOptional
query.execute_onstringOptionalMaximum length: 25
query.sort_orderstringOptionalOne of: asc, desc
query.sort_bystringOptionalOne of: modified_time
query.include_inner_detailsbooleanOptional
query.filterstringOptionalMaximum length: 1000

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand List Workflow Rules in your Zoho CRM Organization — response body

Referenced models: List Workflow Rules in your Zoho CRM Organization — response body

101 more schemas are linked from the tables above, on the schema pages.

List Workflow Rules in your Zoho CRM Organization — response body
FieldTypePresenceDescription and constraints
$objectRootRepresents the paginated list response for workflow rules, containing an array of workflow rule objects and pagination metadata.
Additional keys: not allowed
infoModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — info
workflow_rulesarrayRequired within parentRepresents the array of workflow rule objects returned in the list response.
Maximum items: 200
workflow_rules[]ModelEach itemExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item

Referenced models: List Workflow Rules in your Zoho CRM Organization — response body — info, List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item

List Workflow Rules in your Zoho CRM Organization — response body — info
FieldTypePresenceDescription and constraints
$objectRootRepresents the pagination metadata included in list response payloads, including the current page, records per page, total count, and whether more records exist.
Additional keys: not allowed
countJSONRequired within parent
count (anyOf 1)integerAlternativeRepresents the total number of records matching the query.
Format: int32
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
more_recordsbooleanRequired within parentIndicates whether more records exist beyond the current page.
pageJSONRequired within parent
page (anyOf 1)integerAlternativeRepresents the current page number in the paginated response.
Format: int32
page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
per_pageJSONRequired within parent
per_page (anyOf 1)integerAlternativeRepresents the number of records returned per page.
Format: int32
per_page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item
FieldTypePresenceDescription and constraints
$objectRootRepresents the full configuration and metadata of a single workflow rule, including its trigger, conditions, actions, lock status, and audit timestamps.
Additional keys: not allowed
categorystringOptionalRepresents the classification category of the workflow rule.
Maximum length: 255
conditionsarrayOptionalRepresents the array of condition objects that define the criteria for executing the actions of the workflow rule.
Maximum items: 10
conditions[]ModelEach itemExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item conditions item
created_byModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item created by
created_timestringRequired within parentRepresents the ISO 8601 timestamp indicating when the system created this workflow rule.
Format: date-time
Maximum length: 255
deletablebooleanRequired within parentIndicates whether the requesting user has permission to delete this workflow rule.
deprecatedbooleanOptionalIndicates whether this workflow rule is deprecated and should be migrated to a newer configuration.
descriptionJSONRequired within parent
description (anyOf 1)stringAlternativeRepresents the user-defined description of the workflow rule. Null if not set.
Maximum length: 255
description (anyOf 2)nullAlternativeRepresents the user-defined description of the workflow rule. Null if not set.
Maximum length: 255
editablebooleanRequired within parentIndicates whether the requesting user has permission to edit this workflow rule.
execute_whenModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item execute when
idstringRequired within parentRepresents the unique ID of the workflow rule.
Maximum length: 20
last_executed_timeJSONRequired within parent
last_executed_time (anyOf 1)stringAlternativeRepresents the ISO 8601 timestamp of the last time this workflow rule was triggered. Null if the rule has never been triggered.
Format: date-time
last_executed_time (anyOf 2)nullAlternativeRepresents the ISO 8601 timestamp of the last time this workflow rule was triggered. Null if the rule has never been triggered.
Format: date-time
lockModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item lock
modified_byModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item created by
modified_timeModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item modified time
moduleModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item module
namestringRequired within parentRepresents the name of the workflow rule.
Maximum length: 255
sourcestringRequired within parentRepresents the origin of the workflow rule. For example, **crm** for rules created through the CRM UI, or **API** for rules created through the API.
Maximum length: 255
statusModelRequired within parentExpand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item status

Referenced models: List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item status, List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item created by, List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item module, List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item conditions item, List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item execute when, List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item lock, List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item modified time

List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item status
FieldTypePresenceDescription and constraints
$objectRootRepresents the activation state of a workflow rule, indicating whether the rule is currently active.
Additional keys: not allowed
activebooleanOptionalIndicates whether the workflow rule is currently active.

Possible values:
true - The workflow rule is active and executes its configured actions when trigger conditions are met.
false - The workflow rule is inactive and does not execute, even when trigger conditions are met.
List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item created by
FieldTypePresenceDescription and constraints
$objectRootRepresents the identity details of the CRM user who created or last modified the workflow rule.
Additional keys: not allowed
idstringOptionalRepresents the unique ID of the CRM user.
Format: string
namestringOptionalRepresents the name of the CRM user who created or last modified the workflow rule.
Format: string
List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item module
FieldTypePresenceDescription and constraints
$objectRootRepresents a CRM module or field reference using its API name and unique numeric ID.
Minimum fields: 1
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the module or field, such as **Leads**, **Contacts**, or a custom field API name.
Maximum length: 100
idstringRequired within parentRepresents the unique numeric ID of the module or field.
Maximum length: 20
List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item modified time
FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)stringAlternativeRepresents a time offset specification combining a period label and a numeric magnitude, used in time-based workflow trigger configurations.
Format: date-time
Maximum length: 255
$ (anyOf 2)nullAlternativeRepresents a time offset specification combining a period label and a numeric magnitude, used in time-based workflow trigger configurations.
Format: date-time
Maximum length: 255
List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item lock locked by id, name
FieldTypePresenceDescription and constraints
$objectRootRepresents the identity of the CRM user who locked the workflow rule, including their display name and unique ID.
Additional keys: not allowed
idstringOptionalRepresents the unique ID of the CRM user who locked the workflow rule.
Format: string
namestringOptionalRepresents the name of the CRM user who locked the workflow rule.
Format: string

SDK function policy ID: zoho.getworkflowrules. Catalog operation: getWorkflowRules. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.