Skip to content

Zoho: List automation task definitions with optional filters

Zoho workflowTasks.getWorkflowTasks: arguments, response, policy and SDK examples.

← Workflow tasks operations · Get started

Operation zoho.getworkflowtasks

Provider route: GET /crm/v8/settings/automation/tasks. 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["workflowTasks"]["getWorkflowTasks"]>[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.workflowTasks.getWorkflowTasks(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_tasks.get_workflow_tasks(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectOptionalAdditional keys: not allowed
query.filterstringOptionalMaximum length: 1000
query.feature_typestringOptionalOne of: workflow, approval_process, blueprint, kiosks, scoring_rule, case_escalation_rule, blueprint_transition, blueprint_state, review_process, orchestration, assignment_rules, pathfinder, connected_workflows, commandcenter_service, cadences
query.modulestringOptionalMaximum length: 100
query.per_pageintegerOptionalDefault: 200
Format: int32
Maximum: 200
Minimum: 1
query.pageintegerOptionalDefault: 1
Format: int32
Minimum: 1
query.sort_bystringOptionalOne of: modified_time
query.sort_orderstringOptionalOne of: desc, asc

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

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand List automation task definitions with optional filters — response body — info, tasks
$ (anyOf 2)nullAlternative

Referenced models: List automation task definitions with optional filters — response body — info, tasks

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

List automation task definitions with optional filters — response body — info, tasks
FieldTypePresenceDescription and constraints
$objectRootPaginated response containing automation tasks and pagination metadata.
Additional keys: not allowed
infoModelRequired within parentExpand List automation task definitions with optional filters — response body — info, tasks info
tasksarrayRequired within parentList of automation task definitions for the current query page.
Maximum items: 200
tasks[]ModelEach itemExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item

Referenced models: Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item, List automation task definitions with optional filters — response body — info, tasks info

Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item
FieldTypePresenceDescription and constraints
$objectRootAutomation task details returned by the API, including ownership, module context, and field mappings.
Additional keys: not allowed
associatedbooleanOptionalWhether this task is associated with workflow/Blueprint/approval configuration.
created_byModelOptionalExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item created by
created_timestringRequired within parentTimestamp when the automation task was created.
Maximum length: 255
deletablebooleanOptionalIndicates whether this task can be deleted.
editablebooleanOptionalIndicates whether this task can be edited by the current user/context.
feature_typestringRequired within parentSpecify the automation feature category that uses this task. Values: "workflow" (workflow rule), "approval_process" (Approval Process), "Blueprint" (Blueprint transition), "kiosks" (kiosk/process flow), "scoring_rule" (Scoring Rule), "case_escalation_rule" (case escalation rule).
Known values: workflow, approval_process, blueprint, blueprint_transition, blueprint_state, review_process, orchestration, assignment_rules, kiosks, pathfinder, connected_workflows, commandcenter_service, cadences, scoring_rule, case_escalation_rule
Maximum length: 255
field_mappingsarrayRequired within parentSpecify the field mappings configured for the task. When an automation task is created, the fields should be mapped to tasks modules. Use this JSON array to map the fields of Automation Tasks fields to create tasks automatically when an automation is triggered.
Maximum items: 20
field_mappings[]ModelEach itemExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item field mappings item
idstringRequired within parentUnique ID of the automation task.
Maximum length: 255
lock_statusModelOptionalExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item lock status
modified_byModelOptionalExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item modified by
modified_timestringRequired within parentTimestamp when the task definition was last modified.
Maximum length: 255
moduleModelRequired within parentExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item module
namestringRequired within parentSpecify the name of the automation task.
Maximum length: 255
notifybooleanOptionalWhether owner notification is enabled for this task.
related_moduleJSONOptionalRelated module metadata when the task is tied to a secondary module; otherwise null. Specify the api_name and id of the related module.
related_module (anyOf 1)ModelAlternativeExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item module
related_module (anyOf 2)nullAlternativeNull when no related module is associated with the task.
sourcestringOptionalSource system that created or owns this task (for example: crm).
Maximum length: 255

Referenced models: Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item created by, Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item modified by, Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item field mappings item, Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item lock status, Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item module

List automation task definitions with optional filters — response body — info, tasks info
FieldTypePresenceDescription and constraints
$objectRootDetails about pagination for resource listings, such as count, page number, and if more records are available.
Additional keys: not allowed
countJSONOptional
count (anyOf 1)integerAlternativeNumber of records/actions returned in the current response page.
Format: int32
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
more_recordsbooleanOptionalIndicates whether additional records/actions are available beyond the current page.
pageJSONOptional
page (anyOf 1)integerAlternativeCurrent page number in the paginated result set (typically reflects the requested page value).
Format: int32
page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
per_pageJSONOptional
per_page (anyOf 1)integerAlternativeMaximum number of records/actions requested per page.
Format: int32
per_page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item created by
FieldTypePresenceDescription and constraints
$objectRootProvides details about the creator of an entity, including their name and ID.
Additional keys: not allowed
idstringOptionalUnique Zoho CRM user ID of the creator.
Maximum length: 255
namestringOptionalDisplay name of the user who created this resource.
Maximum length: 255
Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item modified by
FieldTypePresenceDescription and constraints
$objectRootProvides details about the individual who modified an entity, including their name and ID.
Additional keys: not allowed
idstringOptionalUnique Zoho CRM user ID of the modifier.
Maximum length: 255
namestringOptionalDisplay name of the user who last modified this resource.
Maximum length: 255
Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item field mappings item
FieldTypePresenceDescription and constraints
$JSONRootRepresents a single field-to-value mapping used within automation actions such as workflow tasks, create_record, add_meeting, and schedule_call. Each mapping identifies a target field via api_name or ID, declares a type discriminator that determines value interpretation, and supplies a value whose shape varies by type: static supplies a literal value, merge_field supplies a runtime-resolved token string, execution_time supplies a date or datetime offset object, and composite supplies structured participant data for the Events Participants field. The field_mappings array must include all fields the target module requires; omitting any produces a REQUIRED_DATA_NOT_FOUND error.
discriminator: {"mapping": {"composite": "#/components/schemas/CompositeFieldMapping", "execution_time": "#/components/schemas/ExecutionTimeFieldMapping", "merge_field": "#/components/schemas/MergeFieldMapping", "static": "#/components/schemas/StaticFieldMapping"}, "propertyName": "type"}
$ (anyOf 1)ModelAlternativeExpand Create an Automation Task — request body — body tasks item field mappings item type static
$ (anyOf 2)ModelAlternativeExpand Create an Automation Task — request body — body tasks item field mappings item type merge field
$ (anyOf 3)ModelAlternativeExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item field mappings item type execution time
$ (anyOf 4)ModelAlternativeExpand Create an Automation Task — request body — body tasks item field mappings item type composite

Referenced models: Create an Automation Task — request body — body tasks item field mappings item type composite, Create an Automation Task — request body — body tasks item field mappings item type merge field, Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item field mappings item type execution time, Create an Automation Task — request body — body tasks item field mappings item type static

Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item lock status
FieldTypePresenceDescription and constraints
$objectRootRepresents the lock status of a resource, indicating whether it is currently locked or not.
Additional keys: not allowed
lockedbooleanOptionalWhether this automation task is locked from editing.

SDK function policy ID: zoho.getworkflowtasks. Catalog operation: getWorkflowTasks. 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.

No-content response statuses: [204]

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.