Skip to content

Zoho: Workflow tasks schemas

32 Zoho schemas with complete fields and constraints.

← Workflow tasks operations · All schemas

Automation Task — workflow Tasks delete Task By Id — response body

FieldTypePresenceDescription and constraints
$objectRootSingle-task delete success response.
Additional keys: not allowed
tasksarrayRequired within parentContains one success result object for the deleted task.
Maximum items: 1
Minimum items: 1
tasks[]ModelEach itemExpand Create an Automation Task — response body — tasks item

Referenced models: Create an Automation Task — response body — tasks item

Automation Task — workflow Tasks get Task By Id — response body — tasks

FieldTypePresenceDescription and constraints
$objectRootSuccess response for retrieving a single automation task by ID. Contains the full task configuration including field_mappings, module, lock_status, and metadata.
Additional keys: not allowed
tasksarrayRequired within parentArray containing exactly one task object matching the requested ID.
Maximum items: 1
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

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

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 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 field mappings item type execution time

FieldTypePresenceDescription and constraints
$objectRootRepresents an execution_time-type field mapping that computes a date, datetime, or ALARM value at runtime by applying a signed offset to a trigger field or the current time. The value carries an ExecutionTimeValue object specifying the period, unit, trigger_field, and optional time or notify_type properties. A plus sign places the result after the trigger; a minus sign places it before. ALARM fields always require minus. Workflow task actions support only days and business_days as period values.
Additional keys: not allowed
display_valuestringOptionalThe server-computed representation of the mapped value, included in GET responses. Omitted from create and update requests.
Maximum length: 500
fieldModelRequired within parentExpand Create an Automation Task — request body — body tasks item field mappings item type static field
Target field to populate when the automation executes. api_name is required. If id is also provided, both must refer to the same field; otherwise the API returns AMBIGUITY_DURING_PROCESSING.
typestringRequired within parentIdentifies the mapping variant as an execution-time offset. The value is always "execution_time" for this schema and acts as the polymorphic discriminator across the AutomationFieldMappings union.
Must equal: execution_time
valueModelRequired within parentExpand Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item field mappings item type execution time value
Execution-time object specifying how to compute the date/datetime offset from a reference field.

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

Automation Task — workflow Tasks get Task By Id — response body — tasks tasks item field mappings item type execution time value

FieldTypePresenceDescription and constraints
$objectRootRepresents the offset configuration used by an execution_time mapping to compute a final date, datetime, or ALARM value at runtime. Contains period (the time unit granularity), unit (the numeric magnitude expressed as a string integer), and trigger_field (a merge token or ${CURRENTTIME}). Date fields use period, unit, and trigger_field with an implied positive direction. Datetime fields additionally accept sign to control direction. ALARM fields additionally accept time and notify_type, and always require a minus sign. Workflow task actions restrict period to days or business_days.
Additional keys: not allowed
notify_typestringOptionalThe notification channel used to deliver the reminder. Applies exclusively when the target field carries data type ALARM (i.e., Remind_At); date and datetime fields do not use this property. Possible values:
**popup** — triggers an in-app notification.
**email** — sends a message to the task owner.
**emailandpopup** — delivers both simultaneously.
Known values: popup, email, emailandpopup
periodstringRequired within parentThe calendar or time unit applied to the offset. Possible values:
**days** — counts all calendar days including weekends and holidays; supported by every action type.
**business_days** — excludes weekends and requires the organisation's business-day setting to be enabled; supported by all action types.
**hours** — available only for create_record, add_meeting, and schedule_call.
**minutes** — available only for create_record, add_meeting, and schedule_call.
workflow_tasks accept only **days** or **business_days**.
Known values: days, business_days, hours, minutes
signstringOptionalThe direction of the offset relative to the trigger date. Possible values:
**plus** — places the computed value after the trigger (for example, a due date two days after record creation).
**minus** — places the computed value before the trigger (for example, a reminder one day before the due date).
For datetime fields (data_type=datetime) a value is expected; omitting it returns a DEPENDENT_FIELD_MISSING error. For date-only fields (data_type=date) the value defaults to **plus** when absent. When targeting Remind_At (data_type=ALARM), **minus** is the only applicable direction.
Known values: plus, minus
Default: plus
timestringOptionalThe time-of-day component of the computed value, expressed in 24-hour HH:mm format (for example, "13:00", "01:30"). Applies when the target field carries data type datetime or ALARM (as reported by GET /settings/fields). Supplying this property for a date-only field (data_type=date) produces a validation error.
Maximum length: 20
trigger_fieldstringRequired within parentThe reference date or datetime field from which the offset is measured. Accepts a merge-field token that resolves to a Date or DateTime field on the parent module (for example, "${!Leads.Modified_Time}", "${!Tasks.Due_Date}"), or the reserved constant "${CURRENTTIME}" to use the automation execution timestamp. When computing a Remind_At (ALARM) value, "${!Tasks.Due_Date}" is the typical anchor.
Maximum length: 255
unitstringRequired within parentThe number of period units to offset from the trigger date, supplied as a non-negative integer string (for example, "1", "30"). Passing "0" produces a same-day result, such as scheduling a Remind_At on the same day as the due date.
Maximum length: 20
Pattern: ^[0-9]+$

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.

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 module

FieldTypePresenceDescription and constraints
$objectRootContains module metadata, including labels, API name, IDs, and optional module_name for related module contexts.
Additional keys: not allowed
api_namestringRequired within parentAPI name of the module used in API requests (e.g., Leads, Contacts, Deals).
Maximum length: 255
idstringOptionalUnique Zoho CRM module ID.
Maximum length: 255
moduleNamestringOptionalModule display name (camelCase). Present on parent module objects only.
Maximum length: 255
module_namestringOptionalModule system name (snake_case). Present on related_module objects only.
Maximum length: 255
plural_labelstringOptionalPlural display label of the module (e.g., Leads, Contacts).
Maximum length: 255
singular_labelstringOptionalSingular display label of the module (e.g., Lead, Contact).
Maximum length: 255

Automation Task — workflow Tasks update Workflow Task By Id — response body

FieldTypePresenceDescription and constraints
$objectRootSuccess response for updating an automation task. Contains the updated task ID.
Additional keys: not allowed
tasksarrayRequired within parentArray containing exactly one result for the updated task.
Maximum items: 1
tasks[]ModelEach itemExpand Create an Automation Task — response body — tasks item

Referenced models: Create an Automation Task — response body — tasks item

Create an Automation Task — request body — body

FieldTypePresenceDescription and constraints
$objectRootPURPOSE: Request body wrapper for creating or updating an automation task definition. MUST contain a tasks array with exactly 1 task object.
Additional keys: not allowed
tasksarrayRequired within parentREQUIRED. Array containing exactly 1 automation task object. Multiple tasks per request are not supported.
Maximum items: 1
Minimum items: 1
tasks[]ModelEach itemExpand Create an Automation Task — request body — body tasks item

Referenced models: Create an Automation Task — request body — body tasks item

Create an Automation Task — request body — body tasks item

FieldTypePresenceDescription and constraints
$objectRootPURPOSE: Writable task fields for create or update. PREREQUISITES: (1) Call GET /settings/layouts?module=Tasks - fields with required: true in the field info are mandatory in field_mappings. (2) Call GET /settings/modules to discover valid module api_names. Read-only fields (id, created_time, modified_time, created_by, modified_by, lock_status, associated, deletable) are excluded.
Additional keys: not allowed
feature_typestringOptionalThe automation feature this task definition belongs to. Defaults to "workflow" if omitted. A task can only be associated with the feature it was created for - a task with feature_type="workflow" can only be attached to workflow rules, not to blueprints or kiosks. Supported values are defined in the enum.
Default: workflow
One of: 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 parentREQUIRED. Field mappings for task fields. Mandatory mappings: Subject (static or merge_field), Due_Date (execution_time), Status (static: Not Started, Deferred, In Progress, Completed, Waiting on someone else), Priority (static: Highest, High, Normal, Low, Lowest). Optional: Description, Owner, Remind_At (execution_time). Each entry requires field ({api_name, id}), type, and value. Types: static (literal values), merge_field (${!Module.Field} tokens), execution_time (for Date/DateTime/ALARM - requires period, unit, trigger_field, sign). Workflow tasks support period: days, business_days only. Max 20 entries.
Maximum items: 20
Minimum items: 1
field_mappings[]ModelEach itemExpand Create an Automation Task — request body — body tasks item field mappings item
moduleModelRequired within parentExpand Create an Automation Task — request body — body tasks item module
namestringRequired within parentDisplay name for this task definition. Must be identical to the value provided in the Subject field_mapping entry. If they do not match, the API returns INVALID_DATA. For merge_field type Subject mappings, set name to the same token string (e.g., "${!Leads.Last_Name}").
Maximum length: 255
notifybooleanOptionalWhether notification should be sent to the task owner when this automation task executes.
Default: false

Referenced models: Create an Automation Task — request body — body tasks item field mappings item, Create an Automation Task — request body — body tasks item module

Create an Automation Task — request body — body 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 Create an Automation Task — request body — body 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 execution time, Create an Automation Task — request body — body tasks item field mappings item type merge field, Create an Automation Task — request body — body tasks item field mappings item type static

Create an Automation Task — request body — body tasks item field mappings item type composite

FieldTypePresenceDescription and constraints
$objectRootRepresents a composite-type field mapping used exclusively for the Participants field in the Events module via the add_meeting action. The value carries a structured object that encodes participant data and is not applicable to any other field or automation action type.
Additional keys: not allowed
display_valuestringOptionalThe server-computed representation of the mapped value, included in GET responses. Omitted from create and update requests.
Maximum length: 500
fieldModelRequired within parentExpand Create an Automation Task — request body — body tasks item field mappings item type static field
Target field to populate when the automation executes. api_name is required. If id is also provided, both must refer to the same field; otherwise the API returns AMBIGUITY_DURING_PROCESSING.
typestringRequired within parentServes as the polymorphic discriminator that identifies this field mapping as a composite mapping; the value must be set to "composite" to select this schema variant.
Must equal: composite
valueobjectRequired within parentHolds the structured composite object that encodes participant data for the Events module Participants field; the shape of this object varies according to the participant type configuration defined for the automation rule.
Additional keys: allowed

Referenced models: Create an Automation Task — request body — body tasks item field mappings item type static field

Create an Automation Task — request body — body tasks item field mappings item type execution time

FieldTypePresenceDescription and constraints
$objectRootRepresents an execution_time-type field mapping that computes a date, datetime, or ALARM value at runtime by applying a signed offset to a trigger field or the current time. The value carries an ExecutionTimeValue object specifying the period, unit, trigger_field, and optional time or notify_type properties. A plus sign places the result after the trigger; a minus sign places it before. ALARM fields always require minus. Workflow task actions support only days and business_days as period values.
Additional keys: not allowed
display_valuestringOptionalThe server-computed representation of the mapped value, included in GET responses. Omitted from create and update requests.
Maximum length: 500
fieldModelRequired within parentExpand Create an Automation Task — request body — body tasks item field mappings item type static field
Target field to populate when the automation executes. api_name is required. If id is also provided, both must refer to the same field; otherwise the API returns AMBIGUITY_DURING_PROCESSING.
typestringRequired within parentIdentifies the mapping variant as an execution-time offset. The value is always "execution_time" for this schema and acts as the polymorphic discriminator across the AutomationFieldMappings union.
Must equal: execution_time
valueModelRequired within parentExpand Create an Automation Task — request body — body tasks item field mappings item type execution time value
Execution-time object specifying how to compute the date/datetime offset from a reference field.

Referenced models: Create an Automation Task — request body — body tasks item field mappings item type static field, Create an Automation Task — request body — body tasks item field mappings item type execution time value

Create an Automation Task — request body — body tasks item field mappings item type execution time value

FieldTypePresenceDescription and constraints
$objectRootRepresents the offset configuration used by an execution_time mapping to compute a final date, datetime, or ALARM value at runtime. Contains period (the time unit granularity), unit (the numeric magnitude expressed as a string integer), and trigger_field (a merge token or ${CURRENTTIME}). Date fields use period, unit, and trigger_field with an implied positive direction. Datetime fields additionally accept sign to control direction. ALARM fields additionally accept time and notify_type, and always require a minus sign. Workflow task actions restrict period to days or business_days.
Additional keys: not allowed
notify_typestringOptionalThe notification channel used to deliver the reminder. Applies exclusively when the target field carries data type ALARM (i.e., Remind_At); date and datetime fields do not use this property. Possible values:
**popup** — triggers an in-app notification.
**email** — sends a message to the task owner.
**emailandpopup** — delivers both simultaneously.
One of: popup, email, emailandpopup
periodstringRequired within parentThe calendar or time unit applied to the offset. Possible values:
**days** — counts all calendar days including weekends and holidays; supported by every action type.
**business_days** — excludes weekends and requires the organisation's business-day setting to be enabled; supported by all action types.
**hours** — available only for create_record, add_meeting, and schedule_call.
**minutes** — available only for create_record, add_meeting, and schedule_call.
workflow_tasks accept only **days** or **business_days**.
One of: days, business_days, hours, minutes
signstringOptionalThe direction of the offset relative to the trigger date. Possible values:
**plus** — places the computed value after the trigger (for example, a due date two days after record creation).
**minus** — places the computed value before the trigger (for example, a reminder one day before the due date).
For datetime fields (data_type=datetime) a value is expected; omitting it returns a DEPENDENT_FIELD_MISSING error. For date-only fields (data_type=date) the value defaults to **plus** when absent. When targeting Remind_At (data_type=ALARM), **minus** is the only applicable direction.
Default: plus
One of: plus, minus
timestringOptionalThe time-of-day component of the computed value, expressed in 24-hour HH:mm format (for example, "13:00", "01:30"). Applies when the target field carries data type datetime or ALARM (as reported by GET /settings/fields). Supplying this property for a date-only field (data_type=date) produces a validation error.
Maximum length: 20
trigger_fieldstringRequired within parentThe reference date or datetime field from which the offset is measured. Accepts a merge-field token that resolves to a Date or DateTime field on the parent module (for example, "${!Leads.Modified_Time}", "${!Tasks.Due_Date}"), or the reserved constant "${CURRENTTIME}" to use the automation execution timestamp. When computing a Remind_At (ALARM) value, "${!Tasks.Due_Date}" is the typical anchor.
Maximum length: 255
unitstringRequired within parentThe number of period units to offset from the trigger date, supplied as a non-negative integer string (for example, "1", "30"). Passing "0" produces a same-day result, such as scheduling a Remind_At on the same day as the due date.
Maximum length: 20
Pattern: ^[0-9]+$

Create an Automation Task — request body — body tasks item field mappings item type merge field

FieldTypePresenceDescription and constraints
$objectRootRepresents a merge_field-type mapping whose value is resolved at execution time by substituting token references with live field data. Supports direct field tokens (${!Module.Field}), traversal tokens (${!Module.Lookup.Field}), and system tokens (${CURRENTTIME}, ${CURRENTUSER}). Applies to text-based fields such as Subject, Description, and custom text fields. Targeting owner or lookup fields with this type produces a DEPENDENT_MISMATCH error; those fields require a static mapping using an object with a numeric identifier and an optional name. Multiple tokens may be chained with surrounding text for multi-line fields, while single-value fields such as email or URL accept exactly one token.
Additional keys: not allowed
allow_agent_userbooleanOptionalControls whether agent users are eligible for record assignment. Possible values:
**true** — agent users are included in the assignment pool alongside standard users.
**false** — agent users are excluded from assignment.
Applies to mapping types role, group, profile, merge_field, and criteria. Does not apply to user or assignment_rule types.
Default: false
display_valuestringOptionalThe server-computed representation of the mapped value, included in GET responses. Omitted from create and update requests.
Maximum length: 500
fieldModelRequired within parentExpand Create an Automation Task — request body — body tasks item field mappings item type static field
Target field to populate when the automation executes. api_name is required. If id is also provided, both must refer to the same field; otherwise the API returns AMBIGUITY_DURING_PROCESSING.
typestringRequired within parentIdentifies the mapping strategy for this field assignment. The value must be `merge_field`, which instructs the automation engine to resolve the field value dynamically from a merge field token at execution time rather than from a static literal.
Must equal: merge_field
valuestringRequired within parentRepresents the string value carried by a merge_field mapping, containing one or more runtime-resolved token references. Supports direct field tokens (${!Module.Field}), lookup traversal tokens (${!Module.Lookup.Field}), and system tokens (${CURRENTTIME}, ${CURRENTUSER}). Tokens may be combined with surrounding text for multi-line field targets. Fields that hold a single typed value such as email or URL accept exactly one token.
A string containing one or more ${!...} merge-field tokens resolved at runtime.
Maximum length: 1000

Referenced models: Create an Automation Task — request body — body tasks item field mappings item type static field

Create an Automation Task — request body — body tasks item field mappings item type static

FieldTypePresenceDescription and constraints
$objectRootRepresents a static-type mapping that assigns a literal value directly to the target field at execution time. The value shape varies by field data type: a plain string for text, picklist, phone, email, URL, number, decimal, currency, and percentage fields (numeric values expressed as strings); an array of strings for multiselectpicklist fields; and an object containing ID and name for ownerlookup fields. Date, datetime, and ALARM fields do not support this type — use execution_time instead, as static on those fields produces a DEPENDENT_MISMATCH error. Fields marked unique in the module settings also require merge_field rather than static for create_record actions.
Additional keys: not allowed
display_valuestringOptionalThe server-computed representation of the mapped value, included in GET responses. Omitted from create and update requests.
Maximum length: 500
fieldModelRequired within parentExpand Create an Automation Task — request body — body tasks item field mappings item type static field
Target field to populate when the automation executes. api_name is required. If id is also provided, both must refer to the same field; otherwise the API returns AMBIGUITY_DURING_PROCESSING.
typestringRequired within parentIdentifies the mapping strategy for this field assignment. The value must be `static`, which instructs the automation engine to assign a fixed, literal value to the target field at execution time rather than resolving it dynamically.
Must equal: static
valueJSONRequired within parentThe literal value assigned to the target field at automation execution time. The expected shape is determined by the target field data_type, discoverable via GET /settings/fields?module={module}. For most field types, supply a string (for example, "High", "Not Started", "1234"). For multi-select picklist fields (data_type: multiselectpicklist), supply an array of option strings. For fields that reference an entity such as an owner or layout (data_type: ownerlookup), supply an object with at minimum the entity ID.
value (anyOf 1)stringAlternativeRepresents a plain string value used as the static value for text, picklist, phone, email, URL, number, decimal, currency, and percentage fields. Numeric values are expressed as strings rather than numeric literals. Picklist values must exactly match one of the options defined for the field.
Maximum length: 1000
value (anyOf 2)ModelAlternativeExpand Create an Automation Task — request body — body tasks item field mappings item type static value array
value (anyOf 3)ModelAlternativeExpand Create an Automation Task — request body — body tasks item field mappings item type static value id, name

Referenced models: Create an Automation Task — request body — body tasks item field mappings item type static field, Create an Automation Task — request body — body tasks item field mappings item type static value array, Create an Automation Task — request body — body tasks item field mappings item type static value id, name

Create an Automation Task — request body — body tasks item field mappings item type static field

FieldTypePresenceDescription and constraints
$objectRootIdentifies the target CRM field to which a mapping value is applied within an automation rule. The api_name and ID properties must both be supplied and must refer to the same field; a mismatch between the two causes an AMBIGUITY_DURING_PROCESSING error. Available fields for a given module can be discovered via GET /settings/fields?module={api_name}.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the target field in the destination module — for example, Subject, Due_Date, or Owner — used to identify the field receiving the mapped value within automation actions such as workflow tasks, create_record, and convert.
Maximum length: 255
idstringRequired within parentRepresents the numeric identifier of the target CRM field. Used in conjunction with the field's API name, both of which must resolve to the same field for a mapping to be valid.
Maximum length: 255

Create an Automation Task — request body — body tasks item field mappings item type static value array

FieldTypePresenceDescription and constraints
$arrayRootRepresents an array of string values used as the static value for multiselectpicklist fields, where each element corresponds to an available picklist option. Valid option labels are retrievable from the GET /settings/fields endpoint filtered by data_type=multiselectpicklist.
Maximum items: 50
Minimum items: 1
$[]stringEach itemA single picklist option string to include in the multi-select field value. Each entry corresponds to one selectable option as defined for the target field in Zoho CRM.
Maximum length: 255

Create an Automation Task — request body — body tasks item field mappings item type static value id, name

FieldTypePresenceDescription and constraints
$objectRootRepresents an object value used as the static value for ownerlookup and layout fields, containing an ID that identifies the target user or layout and an optional name that the server resolves from the ID when not supplied. Typically used to assign record ownership by providing the user ID.
Additional keys: allowed
idstringRequired within parentThe system identifier of the referenced entity, such as a user or layout record. This value drives entity resolution by the automation engine and must be provided when the target field references an entity.
Maximum length: 255
namestringOptionalThe display name of the referenced entity, such as a user full name or a layout label. When omitted from a request payload, the server resolves and populates this property from the supplied ID. The property is present in all GET responses.
Maximum length: 255

Create an Automation Task — request body — body tasks item module

FieldTypePresenceDescription and constraints
$objectRootPURPOSE: The CRM module this task definition belongs to. Specifies which module's records will trigger task creation - not the Tasks module itself. PREREQUISITES: Call GET /settings/modules to discover available module api_names and IDs. api_name is required, id is optional.
Additional keys: not allowed
api_namestringRequired within parentREQUIRED. API name of the CRM module whose records trigger this task creation (e.g., Leads, Contacts, Deals). Use GET /settings/modules to discover available modules.
Maximum length: 255
idstringOptionalOptional module ID. If provided alongside api_name, both must refer to the same module.
Maximum length: 255

Create an Automation Task — response body

FieldTypePresenceDescription and constraints
$objectRootSuccessful response after creating an automation task definition.
Additional keys: not allowed
tasksarrayRequired within parentArray containing the created task result.
Maximum items: 1
tasks[]ModelEach itemExpand Create an Automation Task — response body — tasks item

Referenced models: Create an Automation Task — response body — tasks item

Create an Automation Task — response body — tasks item

FieldTypePresenceDescription and constraints
$objectRootResult of a task create, update, or delete operation.
Additional keys: not allowed
codestringRequired within parentOperation result code (e.g., SUCCESS).
Maximum length: 255
detailsModelRequired within parentExpand Create an Automation Task — response body — tasks item details
messagestringRequired within parentResult message describing the outcome of the task action.
Maximum length: 255
statusstringRequired within parentOperation result status (e.g., success).
Maximum length: 255

Referenced models: Create an Automation Task — response body — tasks item details

Create an Automation Task — response body — tasks item details

FieldTypePresenceDescription and constraints
$objectRootDetails returned with a task action result, including the created or affected resource ID.
Additional keys: not allowed
idstringRequired within parentUnique ID of the created or affected automation task.
Maximum length: 20
resource_path_indexstringOptionalIndex of the resource in the request payload array.
Maximum length: 255

Delete automation task definitions by I Ds (bulk) — response body — tasks tasks item

FieldTypePresenceDescription and constraints
$objectRootResult item for a task ID that was deleted successfully in a bulk delete operation.
Additional keys: not allowed
codestringRequired within parentResult code.
Known values: SUCCESS
detailsobjectRequired within parentContains the deleted task ID.
Additional keys: not allowed
details.idstringRequired within parentUnique ID of the deleted task.
Maximum length: 20
messagestringRequired within parentSuccess message.
Maximum length: 255
statusstringRequired within parentOperation status.
Known values: success

Delete automation task definitions by I Ds (bulk) — response body — tasks — Bulk Delete Tasks Mixed Response

FieldTypePresenceDescription and constraints
$objectRootBulk delete partial-success response. Contains mixed success and failure items for the requested task IDs.
Additional keys: not allowed
tasksarrayRequired within parentPer-ID deletion results for the bulk request.
Maximum items: 10
tasks[]JSONEach itemRepresents a single per-ID outcome entry returned in a bulk DELETE request, indicating either a successful delete or a per-ID failure reason.
tasks[] (anyOf 1)ModelAlternativeExpand Delete automation task definitions by I Ds (bulk) — response body — tasks tasks item
tasks[] (anyOf 2)ModelAlternativeExpand Delete automation task definitions by IDs (bulk) — response body — tasks / tasks / item / code: INVALID DATA, NOT ALLOWED, status: error

Referenced models: Delete automation task definitions by IDs (bulk) — response body — tasks / tasks / item / code: INVALID DATA, NOT ALLOWED, status: error, Delete automation task definitions by I Ds (bulk) — response body — tasks tasks item

Delete automation task definitions by I Ds (bulk) — response body — tasks — Bulk Delete Tasks Success Response

FieldTypePresenceDescription and constraints
$objectRootBulk delete success response. All requested task IDs were deleted successfully.
Additional keys: not allowed
tasksarrayRequired within parentDeletion result entries for each requested task ID.
Maximum items: 10
tasks[]ModelEach itemExpand Delete automation task definitions by I Ds (bulk) — response body — tasks tasks item

Referenced models: Delete automation task definitions by I Ds (bulk) — response body — tasks tasks item

Delete automation task definitions by IDs (bulk) — response body — tasks / tasks / item / code: INVALID DATA, NOT ALLOWED, status: error

FieldTypePresenceDescription and constraints
$objectRootResult item for a task ID that failed during bulk delete. Code is INVALID_DATA when the ID does not exist, or NOT_ALLOWED when the task is associated with a rule/blueprint or is read-only.
Additional keys: not allowed
codestringRequired within parentFailure code.
Known values: INVALID_DATA, NOT_ALLOWED
detailsobjectRequired within parentContains the failed task ID.
Additional keys: not allowed
details.idstringRequired within parentID of the task that could not be deleted.
Maximum length: 20
messagestringRequired within parentFailure message.
Maximum length: 255
statusstringRequired within parentOperation status.
Known values: error

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

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]+)?$

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.