Zoho: Workflow rules schemas (part 4)
6 Zoho schemas with complete fields and constraints.
← Workflow rules operations · All schemas
Update Workflow Rule by ID — request body — body workflow rules item execute when
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | JSON | Root | Represents the trigger configuration that defines when the workflow rule fires, including the trigger type and its associated details. discriminator: {"mapping": {"activate": "#/components/schemas/ExecuteWhenT1Simple", "anyaction": "#/components/schemas/ExecuteWhenT1Simple", "cancel": "#/components/schemas/ExecuteWhenT1Simple", "create": "#/components/schemas/ExecuteWhenT1Simple", "create_or_edit": "#/components/schemas/ExecuteWhenT1Simple", "date_or_datetime": "#/components/schemas/ExecuteWhenT4DateBased", "deactivate": "#/components/schemas/ExecuteWhenT1Simple", "delete": "#/components/schemas/ExecuteWhenT1Simple", "edit": "#/components/schemas/ExecuteWhenT1Simple", "email_received": "#/components/schemas/ExecuteWhenT1Simple", "email_received_notreplied": "#/components/schemas/ExecuteWhenT5TimeOffset", "email_received_opened_notreplied": "#/components/schemas/ExecuteWhenT5TimeOffset", "fb_comment_on_page": "#/components/schemas/ExecuteWhenT1Simple", "fb_like_on_post": "#/components/schemas/ExecuteWhenT1Simple", "fb_post_on_page": "#/components/schemas/ExecuteWhenT1Simple", "fb_send_message": "#/components/schemas/ExecuteWhenT1Simple", "field_update": "#/components/schemas/ExecuteWhenT2FieldUpdate", "incoming_call_createedit": "#/components/schemas/ExecuteWhenT1Simple", "incoming_call_edit": "#/components/schemas/ExecuteWhenT1Simple", "incoming_call_field_update": "#/components/schemas/ExecuteWhenT2FieldUpdate", "incoming_call_ring": "#/components/schemas/ExecuteWhenT1Simple", "incoming_call_section_update": "#/components/schemas/ExecuteWhenT3SectionUpdate", "incoming_call_start": "#/components/schemas/ExecuteWhenT1Simple", "mail_sent": "#/components/schemas/ExecuteWhenT1Simple", "mail_sent_bounced": "#/components/schemas/ExecuteWhenT1Simple", "mail_sent_clicked": "#/components/schemas/ExecuteWhenT1Simple", "mail_sent_notopened": "#/components/schemas/ExecuteWhenT5TimeOffset", "mail_sent_notreplied": "#/components/schemas/ExecuteWhenT5TimeOffset", "mail_sent_opened": "#/components/schemas/ExecuteWhenT1Simple", "mail_sent_opened_notreplied": "#/components/schemas/ExecuteWhenT5TimeOffset", "mail_sent_replied": "#/components/schemas/ExecuteWhenT1Simple", "mail_sent_replied_within": "#/components/schemas/ExecuteWhenT7EmailRepliedWithin", "marked_as_complete": "#/components/schemas/ExecuteWhenT1Simple", "missed_call": "#/components/schemas/ExecuteWhenT1Simple", "outgoing_call_createedit": "#/components/schemas/ExecuteWhenT1Simple", "outgoing_call_edit": "#/components/schemas/ExecuteWhenT1Simple", "outgoing_call_field_update": "#/components/schemas/ExecuteWhenT2FieldUpdate", "outgoing_call_ring": "#/components/schemas/ExecuteWhenT1Simple", "outgoing_call_section_update": "#/components/schemas/ExecuteWhenT3SectionUpdate", "outgoing_call_start": "#/components/schemas/ExecuteWhenT1Simple", "overdue": "#/components/schemas/ExecuteWhenT5TimeOffset", "reassign": "#/components/schemas/ExecuteWhenT1Simple", "recommendation_rebuy": "#/components/schemas/ExecuteWhenT5TimeOffset", "reschedule": "#/components/schemas/ExecuteWhenT1Simple", "rollup_summary_update": "#/components/schemas/ExecuteWhenT2FieldUpdate", "scheduled_call_createedit": "#/components/schemas/ExecuteWhenT1Simple", "scheduled_call_edit": "#/components/schemas/ExecuteWhenT1Simple", "scheduled_call_field_update": "#/components/schemas/ExecuteWhenT2FieldUpdate", "scheduled_call_section_update": "#/components/schemas/ExecuteWhenT3SectionUpdate", "score_decrease": "#/components/schemas/ExecuteWhenT6ScoreUpdate", "score_increase": "#/components/schemas/ExecuteWhenT6ScoreUpdate", "score_update": "#/components/schemas/ExecuteWhenT6ScoreUpdate", "section_update": "#/components/schemas/ExecuteWhenT3SectionUpdate", "stage_automation_field_update": "#/components/schemas/ExecuteWhenT2FieldUpdate", "tw_comment_on_tweet": "#/components/schemas/ExecuteWhenT1Simple", "tw_mention_on": "#/components/schemas/ExecuteWhenT1Simple", "tw_retweet_on_tweet": "#/components/schemas/ExecuteWhenT1Simple", "tw_send_message": "#/components/schemas/ExecuteWhenT1Simple", "voc_incoming_signal": "#/components/schemas/ExecuteWhenT1Simple", "zia_scoring_rule": "#/components/schemas/ExecuteWhenT6ScoreUpdate"}, "propertyName": "type"} |
$ (anyOf 1) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T1 Simple |
$ (anyOf 2) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T2 Field Update |
$ (anyOf 3) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T3 Section Update |
$ (anyOf 4) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / type: date or datetime |
$ (anyOf 5) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T5 Time Offset |
$ (anyOf 6) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / type: score increase, score decrease, score update, zia scoring rule |
$ (anyOf 7) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / type: mail sent replied within |
Referenced models: Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T1 Simple, Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T2 Field Update, Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T3 Section Update, Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / type: date or datetime, Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T5 Time Offset, Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / type: score increase, score decrease, score update, zia scoring rule, Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / type: mail sent replied within
Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T1 Simple
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a simple trigger type (T1) that fires on record creation, editing, deletion, or when specific CRM events occur, with optional repeat and cross-module support. Additional keys: not allowed |
details | Model | Optional | Expand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item execute when details, type details — shared_details_819c866740fd |
type | string | Required within parent | Represents the trigger API name that activates the workflow rule. Supported values vary by module; use the getWorkflowConfigurations endpoint to retrieve supported triggers for the target module. One of: create, edit, create_or_edit, delete, cancel, reschedule, reassign, anyaction, deactivate, activate, marked_as_complete, incoming_call_ring, incoming_call_start, incoming_call_createedit, incoming_call_edit, outgoing_call_ring, outgoing_call_start, outgoing_call_edit, outgoing_call_createedit, missed_call, scheduled_call_createedit, scheduled_call_edit, email_received, mail_sent, mail_sent_clicked, mail_sent_replied, mail_sent_opened, mail_sent_bounced, fb_post_on_page, fb_comment_on_page, fb_like_on_post, fb_send_message, tw_mention_on, tw_retweet_on_tweet, tw_comment_on_tweet, tw_send_message, voc_incoming_signal |
Referenced models: List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item execute when details, type details — shared_details_819c866740fd
Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T2 Field Update
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a field update trigger type that fires when a specified field value on a record changes according to defined criteria. Additional keys: not allowed |
details | object | Required within parent | Represents the field update trigger details, including the criteria that define which field value change activates the rule. Additional keys: not allowed |
details.criteria | JSON | Required within parent | Represents the field value change criteria that activate the trigger. Defines which field is monitored and what change condition fires the rule. |
details.criteria (anyOf 1) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / details, type / details / criteria / type: merge field, pre defined, value, field |
details.criteria (anyOf 2) | Model | Alternative | Expand Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / details, type / details / criteria / group_operator: AND, OR |
details.match_all | boolean | Optional | Controls the logic applied across criteria groups. Possible values: true - All criteria groups must match (AND logic). false - Any one criteria group is sufficient (OR logic). |
details.repeat | boolean | Optional | Indicates whether the rule fires every time the field update condition is met. When false, the rule fires only on the first occurrence. |
details.trigger_module | Model | Optional | Expand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item module The module that actually triggers the rule. Defaults to the rule's top-level module if omitted. Must be explicitly set when the trigger targets a different module - e.g., a rule on Leads triggered by 'note created' requires trigger_module = {api_name: 'Notes', id: '...'}. Use `getModules` to discover module api_name and id values. |
type | string | Required within parent | Represents the trigger type for field update rules. Availability varies by the target module. One of: field_update, incoming_call_field_update, outgoing_call_field_update, scheduled_call_field_update, stage_automation_field_update, rollup_summary_update |
Referenced models: List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item module, Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / details, type / details / criteria / group_operator: AND, OR, Update Workflow Rule by ID — request body — body / workflow_rules / item / execute_when / details, type / details / criteria / type: merge field, pre defined, value, field
Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T3 Section Update
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the trigger type for section update rules. Availability varies by the target module Additional keys: not allowed |
details | Model | Required within parent | Expand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item execute when details, type details — shared_details_328f9448b093 |
type | string | Required within parent | Represents the trigger type for section update rules. Use getWorkflowConfigurations to verify the trigger is available for the target module. One of: section_update, incoming_call_section_update, outgoing_call_section_update, scheduled_call_section_update |
Referenced models: List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item execute when details, type details — shared_details_328f9448b093
Update Workflow Rule by ID — request body — body workflow rules item execute when details, type — Execute When T5 Time Offset
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the trigger type for time-offset rules. Availability varies by the target module. Additional keys: not allowed |
details | object | Required within parent | Represents the time offset trigger details, including the time unit and magnitude for the offset. Additional keys: not allowed |
details.field | object | Optional | Represents the field reference returned in GET responses for time-offset triggers, including the trigger field details. Additional keys: not allowed |
details.field.id | string | Optional | Represents the field identifier for the time-offset trigger. Returns **-1** when the field is system-determined. Maximum length: 20 |
details.period | string | Required within parent | Represents the time unit for the offset. Possible values: days - Offset in days. hours - Offset in hours. One of: days, hours |
details.trigger_module | Model | Optional | Expand List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item module The module that actually triggers the rule. Defaults to the rule's top-level module if omitted. Must be explicitly set when the trigger targets a different module - e.g., a rule on Leads triggered by 'note created' requires trigger_module = {api_name: 'Notes', id: '...'}. Use `getModules` to discover module api_name and id values. |
details.unit | integer | Required within parent | Represents the time offset magnitude. Always a positive integer for time-offset triggers, such as 1 for one day or 3 for three hours. Format: int32 |
type | string | Required within parent | Represents the trigger type for time-offset rules. Use getWorkflowConfigurations to verify the trigger is available for the target module. One of: overdue, email_received_notreplied, email_received_opened_notreplied, mail_sent_opened_notreplied, mail_sent_notreplied, mail_sent_notopened, recommendation_rebuy |
Referenced models: List Workflow Rules in your Zoho CRM Organization — response body — workflow rules item module
Update Workflow Rule by ID — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the success response returned after creating a workflow rule, containing the result details of the created rule. Additional keys: not allowed |
workflow_rules | array | Optional | Represents the array of workflow rule objects returned in the success response. Maximum items: 200 |
workflow_rules[] | Model | Each item | Expand Update Workflow Rule Execution Order for Module — response body — reorder item |
Referenced models: Update Workflow Rule Execution Order for Module — response body — reorder item