Zoho: Wizards
Zoho wizards.createWizard: arguments, response, policy and SDK examples.
← Wizards operations · Get started
Operation zoho.createwizard
Provider route: POST /crm/v8/settings/wizards. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”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["wizards"]["createWizard"]>[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.wizards.createWizard(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom 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.wizards.create_wizard(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
body | object | Required within parent | The request body to create a wizard. Additional keys: not allowed |
body.wizards | array | Required within parent | The definition of the wizard structure. Maximum items: 1 |
body.wizards[] | object | Each item | The request body of each wizard. Additional keys: not allowed |
body.wizards[].active | boolean | Required within parent | Indicates whether the wizard is currently enabled. |
body.wizards[].containers | array | Required within parent | Containers that define the layout and flow of the wizard. Maximum items: 7 |
body.wizards[].containers[] | object | Each item | Container that groups layout, screens and chart data. Additional keys: not allowed |
body.wizards[].containers[].chart_data | object | Required within parent | Visual flow configuration of the wizard screens. Additional keys: not allowed |
body.wizards[].containers[].chart_data.color_palette | object | Optional | Color palette used by the wizard UI. Additional keys: not allowed |
body.wizards[].containers[].chart_data.color_palette.button_background | array | Optional | Palette of colors used for wizard buttons. Maximum items: 5 |
body.wizards[].containers[].chart_data.color_palette.button_background[] | string | Each item | Hex color code (for example, #FFFFFF). Maximum length: 7 |
body.wizards[].containers[].chart_data.connections | array | Optional | Connections between buttons and target screens in the wizard flow. Maximum items: 750 |
body.wizards[].containers[].chart_data.connections[] | object | Each item | A connection from a source button to a target screen. Additional keys: not allowed |
body.wizards[].containers[].chart_data.connections[].source_button | object | Required within parent | Button that initiates the transition. Additional keys: not allowed |
body.wizards[].containers[].chart_data.connections[].source_button.display_label | string | Optional | Display label of the button. Maximum length: 255 |
body.wizards[].containers[].chart_data.connections[].source_button.id | string | Optional | Numeric unique identifier of the button. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].chart_data.connections[].source_button.reference_id | string | Optional | Temporary identifier used to reference a button within the same wizard request payload. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].chart_data.connections[].source_button (anyOf 1) | object | Alternative | Button referenced using numeric digit ID. Additional keys: allowed |
body.wizards[].containers[].chart_data.connections[].source_button (anyOf 2) | object | Alternative | Button referenced using temporary reference ID within the same payload. Additional keys: allowed |
body.wizards[].containers[].chart_data.connections[].target_screen | object | Required within parent | Screen that is reached when the source_button is clicked. Additional keys: not allowed |
body.wizards[].containers[].chart_data.connections[].target_screen.display_label | string | Optional | Display label of the screen. Maximum length: 255 |
body.wizards[].containers[].chart_data.connections[].target_screen.id | string | Optional | Numeric unique identifier of the screen. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].chart_data.connections[].target_screen.reference_id | string | Optional | Temporary identifier used to reference a screen within the same wizard request payload. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].chart_data.connections[].target_screen (anyOf 1) | object | Alternative | Screen referenced by system-generated ID. Additional keys: allowed |
body.wizards[].containers[].chart_data.connections[].target_screen (anyOf 2) | object | Alternative | Screen referenced by temporary reference_id. Additional keys: allowed |
body.wizards[].containers[].chart_data.nodes | array | Required within parent | Nodes representing screens in the wizard flow diagram. Maximum items: 75 |
body.wizards[].containers[].chart_data.nodes[] | object | Each item | A single node in the wizard flow. Additional keys: not allowed |
body.wizards[].containers[].chart_data.nodes[].pos_x | integer | Required within parent | Horizontal position of the node in pixels. Format: int32 |
body.wizards[].containers[].chart_data.nodes[].pos_y | integer | Required within parent | Vertical position of the node in pixels. Format: int32 |
body.wizards[].containers[].chart_data.nodes[].screen | object | Required within parent | Screen associated with this node. Must contain either an id or a reference_id. Additional keys: not allowed |
body.wizards[].containers[].chart_data.nodes[].screen.display_label | string | Optional | Display label of the screen. Maximum length: 255 |
body.wizards[].containers[].chart_data.nodes[].screen.id | string | Optional | Numeric unique identifier of the screen. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].chart_data.nodes[].screen.reference_id | string | Optional | Temporary identifier used to reference a screen within the same wizard request payload. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].chart_data.nodes[].screen (anyOf 1) | object | Alternative | Screen referenced using 18–19 digit ID. Additional keys: allowed |
body.wizards[].containers[].chart_data.nodes[].screen (anyOf 2) | object | Alternative | Screen referenced using temporary reference ID within the same payload. Additional keys: allowed |
body.wizards[].containers[].chart_data.nodes[].start_node | boolean | Required within parent | Indicates whether this node is the starting point of the wizard. |
body.wizards[].containers[].layout | object | Required within parent | Layout associated with the container. Additional keys: not allowed |
body.wizards[].containers[].layout.id | string | Required within parent | Numeric unique identifier of the layout. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
body.wizards[].containers[].layout.name | string | Optional | Name of the layout. Used for display only, not for resolution. Maximum length: 50 |
body.wizards[].containers[].screens | array | Required within parent | Screens that make up the wizard flow within this container. Maximum items: 75 |
body.wizards[].containers[].screens[] | object | Each item | Individual screen definition. Additional keys: not allowed |
body.wizards[].containers[].screens[].conditional_rules | array | Optional | Conditional rules evaluated on this screen. Maximum items: 50 |
body.wizards[].containers[].screens[].conditional_rules[] | object | Each item | Conditional rule configuration for the screen. Additional keys: not allowed |
body.wizards[].containers[].screens[].conditional_rules[].actions | array | Optional | List of actions executed when the criteria is satisfied. Maximum items: 50 |
body.wizards[].containers[].screens[].conditional_rules[].actions[] | Model | Each item | Expand Wizards — request body — body wizards item containers item screens item conditional rules item actions item |
body.wizards[].containers[].screens[].conditional_rules[].criteria | Model | Optional | Expand Wizards — request body — body wizards item containers item screens item conditional rules item criteria |
body.wizards[].containers[].screens[].conditional_rules[].execute_on | string | Optional | Event on which the rule executes, for example ‘create_edit’. Maximum length: 50 |
body.wizards[].containers[].screens[].conditional_rules[].query_id | string | Optional | Specify the unique numeric identifier of an existing conditional rule to update in place. Omit this to add a new conditional rule. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].display_label | string | Required within parent | Display label of the screen. Maximum length: 50 |
body.wizards[].containers[].screens[].reference_id | string | Required within parent | Internal reference identifier used to link this screen in chart_data and buttons. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments | array | Required within parent | Segments that group fields, text, and buttons on the screen. Maximum items: 75 |
body.wizards[].containers[].screens[].segments[] | object | Each item | Segment inside a screen. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons | array | Optional | Buttons displayed inside this segment. Maximum items: 10 |
body.wizards[].containers[].screens[].segments[].buttons[] | object | Each item | Button configuration inside the segment. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].background_color | string | Required within parent | Background color of the button (hex code). Maximum length: 7 |
body.wizards[].containers[].screens[].segments[].buttons[].category | string | Optional | Category of the button. One of: wizard_button, custom_button |
body.wizards[].containers[].screens[].segments[].buttons[].color | string | Optional | Text color of the button (hex code). Maximum length: 7 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria | object | Optional | Criteria controlling the visibility or execution of this button. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1) | object | Alternative | Grouped criteria with a logical operator. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group | array | Required within parent | Specify the list of individual criteria combined by `group_operator`. Maximum items: 50 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[] | object | Each item | Specify a single criterion in the group. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].comparator | string | Required within parent | Specify the comparator used to evaluate the criterion. Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].field | object | Required within parent | Specify the field to evaluate. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].field.api_name | string | Optional | API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].field.id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].value | string | Required within parent | Specify the value used in the comparison. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group_operator | string | Required within parent | Specify the logical operator used to combine the grouped criteria. One of: and, or |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2) | object | Alternative | A single criterion without grouping. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).comparator | string | Required within parent | Specify the comparator used to evaluate the criterion. Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).field | object | Required within parent | Specify the field to evaluate. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).field.api_name | string | Optional | API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).field.id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).value | string | Required within parent | Specify the value used in the comparison. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].display_label | string | Optional | Display label of the button. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].message | object | Optional | Optional message shown when the button action is executed. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].message.content | string | Optional | Content of the text message in the text component Maximum length: 2000 |
body.wizards[].containers[].screens[].segments[].buttons[].message.title | string | Optional | Title of the text message in the text component Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].name | string | Optional | Internal name of the button. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].profiles | array | Optional | Profiles for which this button is available. Maximum items: 40 |
body.wizards[].containers[].screens[].segments[].buttons[].profiles[] | object | Each item | Profile allowed to use this button. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].profiles[].display_label | string | Optional | Translated (if available) display label of the profile. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].profiles[].id | string | Required within parent | Numeric unique identifier of the profile. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
body.wizards[].containers[].screens[].segments[].buttons[].profiles[].name | string | Optional | Internal name of the profile. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].reference_id | string | Required within parent | Internal reference identifier used to map this button within the same request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments[].buttons[].resource | object or null | Optional | Additional resource associated with the button, if any. Can be null when no resource is linked. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].resource.id | string | Required within parent | Numeric unique identifier of the resource. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].resource.name | string | Optional | Name of the resource. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].sequence_number | integer | Required within parent | Sequence of the button within the segment. Format: int32 |
body.wizards[].containers[].screens[].segments[].buttons[].shape | string | Required within parent | Shape of the button. One of: square, capsule, round |
body.wizards[].containers[].screens[].segments[].buttons[].show_summary_on | string or null | Optional | Indicates when a summary screen should be shown after this button action, if configured. One of: create, edit, create_and_edit |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen | object | Optional | Target screen navigated to when this button is clicked. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.display_label | string | Optional | Display label of the target screen. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.id | string | Optional | Numeric unique identifier of the screen. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.reference_id | string | Optional | Temporary identifier used to reference a screen within the same wizard request payload. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen (anyOf 1) | object | Alternative | Screen referenced by system-generated ID. Additional keys: allowed |
body.wizards[].containers[].screens[].segments[].buttons[].target_screen (anyOf 2) | object | Alternative | Screen referenced by temporary reference_id. Additional keys: allowed |
body.wizards[].containers[].screens[].segments[].buttons[].transition | object | Optional | Optional transition configuration for the button. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].buttons[].transition.id | string | Required within parent | Specify the unique numeric identifier of the automation transition wired to this button. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].buttons[].type | string | Optional | Type of button action. One of: save, transition |
body.wizards[].containers[].screens[].segments[].buttons[].visibility | string | Required within parent | Visibility behavior of the button. One of: hide, disable, show |
body.wizards[].containers[].screens[].segments[].content | string | Optional | Static content, used for text_label segments. Maximum length: 2000 |
body.wizards[].containers[].screens[].segments[].display_label | string | Optional | Display label of the segment. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].elements | array | Optional | List of field or other resources contained in this segment. Maximum items: 75 |
body.wizards[].containers[].screens[].segments[].elements[] | object | Each item | Element inside a segment. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].elements[].resource | object | Optional | Resource referenced by this element. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].elements[].resource.id | string | Required within parent | Numeric unique identifier of the resource. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].elements[].resource.name | string | Optional | Name of the resource. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].elements[].sequence_number | integer | Required within parent | Sequence in which the element appears within the segment. Format: int32 |
body.wizards[].containers[].screens[].segments[].elements[].type | string | Required within parent | Type of the element, for example ‘field’. One of: field, query_component, segment Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].fields | array | Optional | List of fields assigned to this segment. Used for ‘fields’ and ‘subforms’ type segments. Maximum items: 75 |
body.wizards[].containers[].screens[].segments[].fields[] | object | Each item | Field inside a segment. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1) | object | Alternative | Represents a field reference for a `fields`-type segment. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).resource | object | Required within parent | Specify the field referenced by this item. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).resource.api_name | string | Optional | API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).resource.id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).sequence_number | integer | Optional | Specify the sequence number that determines the position of this field within the segment. Format: int32 |
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 2) | Model | Alternative | Expand Wizards — request body — body wizards item containers item screens item segments item fields item api name, id, sequence number |
body.wizards[].containers[].screens[].segments[].name | string | Optional | Name of the segment. Maximum length: 255 |
body.wizards[].containers[].screens[].segments[].reference_id | string | Optional | Internal reference identifier used to map this segment within the same request. Maximum length: 50 Pattern: {{[a-zA-Z0-9]+}} |
body.wizards[].containers[].screens[].segments[].sequence_number | integer | Required within parent | Sequence in which the segment appears within the screen. Format: int32 |
body.wizards[].containers[].screens[].segments[].tab_traversal | string | Optional | Specify the tab traversal direction for keyboard navigation within this segment (legacy layout only). Possible values: - `left_to_right` - Tab moves through elements from left to right. - `top_to_bottom` - Tab moves through elements from top to bottom. One of: left_to_right, top_to_bottom |
body.wizards[].containers[].screens[].segments[].type | string | Required within parent | Type of segment, for example composite, text_label, or buttons. One of: composite, fields, subforms, text_label, widget, buttons Maximum length: 50 |
body.wizards[].containers[].screens[].segments[].widget | object | Optional | Widget resource linked to this segment. Required when type is ‘widget’. Additional keys: not allowed |
body.wizards[].containers[].screens[].segments[].widget.id | string | Required within parent | Numeric unique identifier of the widget. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].containers[].screens[].segments[].widget.name | string | Optional | Name of the widget. Maximum length: 255 |
body.wizards[].module | Model | Required within parent | Expand Wizards — request body — body wizards item module |
body.wizards[].name | string | Required within parent | Unique name of the wizard used in the API. Maximum length: 30 |
body.wizards[].portal_user_types | array | Optional | Specify the list of client portal user types allowed to access this wizard. Either `profiles` or `portal_user_types` must be provided. Maximum items: 50 |
body.wizards[].portal_user_types[] | object | Each item | Specify a client portal user type. Additional keys: not allowed |
body.wizards[].portal_user_types[].display_label | string | Optional | Specify the translated display label of the client portal user type. Maximum length: 255 |
body.wizards[].portal_user_types[].id | string | Required within parent | Specify the unique numeric identifier of the client portal user type. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
body.wizards[].portal_user_types[].name | string | Optional | Specify the internal name of the client portal user type. Maximum length: 255 |
body.wizards[].profiles | array | Optional | Profiles that are allowed to access this wizard. Maximum items: 50 |
body.wizards[].profiles[] | object | Each item | Profile associated with the wizard. Additional keys: not allowed |
body.wizards[].profiles[].id | string | Required within parent | Numeric unique identifier of the profile. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
body.wizards[].profiles[].name | string | Optional | Name of the profile. Maximum length: 50 |
body.wizards[] (anyOf 1) | object | Alternative | Represents the variant where the wizard is made available via CRM profiles. Additional keys: allowed |
body.wizards[] (anyOf 2) | object | Alternative | Represents the variant where the wizard is made available via client portal user types. Additional keys: allowed |
Referenced models: Wizards — request body — body wizards item containers item screens item conditional rules item actions item, Wizards — request body — body wizards item containers item screens item conditional rules item criteria, Wizards — request body — body wizards item containers item screens item segments item fields item api name, id, sequence number, Wizards — request body — body wizards item module
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | The definition of the response body structure after a successful wizard creation. Additional keys: not allowed |
wizards | array | Required within parent | The wizards that have been created. Maximum items: 1 |
wizards[] | object | Each item | Each wizard created using the API. Additional keys: not allowed |
wizards[].code | string | Required within parent | This represents the success or error codes of the request. Known values: SUCCESS |
wizards[].details | object | Required within parent | Additional information about the request payload after successful execution. Additional keys: not allowed |
wizards[].details.id | string | Required within parent | Numeric unique identifier of the wizard. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
wizards[].message | string | Required within parent | This describes the message returned from the server after wizard a successful wizard creation. Maximum length: 255 |
wizards[].status | string | Required within parent | This describes whether the wizard creation was successful or not. Known values: success |
Schemas
Section titled “Schemas”Wizards — request body — body wizards item containers item screens item conditional rules item actions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Action configuration executed when the conditional rule criteria is met. Additional keys: not allowed |
exempted_portal_user_types | array | Optional | Portal user types for which this action should not be applied when using lock-type actions. Maximum items: 500 |
exempted_portal_user_types[] | object | Each item | Portal user type exempted from this action. Additional keys: not allowed |
exempted_portal_user_types[].id | string | Optional | Numeric unique identifier of the portal user type. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
exempted_portal_user_types[].name | string | Optional | Name of the portal user type. Maximum length: 255 |
exempted_profiles | array | Optional | Profiles for which this action should not be applied when using lock-type actions. Maximum items: 500 |
exempted_profiles[] | object | Each item | Profile exempted from this action. Additional keys: not allowed |
exempted_profiles[].id | string | Optional | Numeric unique identifier of the profile. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]{1,19}$ |
exempted_profiles[].name | string | Optional | Name of the profile. Maximum length: 255 |
field | object | Optional | Field that this action targets. Either field or segment must be provided. Additional keys: not allowed |
field.api_name | string | Optional | API name of the target field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
field.id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
segment | Model | Optional | Expand Wizards — request body — body wizards item containers item screens item conditional rules item actions item segment |
type | string | Required within parent | Type of action to perform on the field or segment. One of: show_fields, show_subforms, set_mandatory, show_text_component, set_value, set_lock Maximum length: 50 |
value | string | Optional | Value to set on the field when using the 'set_value' action type; ignored for other action types. Maximum length: 2000 |
$ (anyOf 1) | object | Alternative | Shape for actions that target a field. Additional keys: allowed |
$ (anyOf 2) | object | Alternative | Shape for actions that target a segment. Additional keys: allowed |
$ (anyOf 3) | object | Alternative | Shape for lock-type actions that target a field with exemptions. Additional keys: allowed |
Referenced models: Wizards — request body — body wizards item containers item screens item conditional rules item actions item segment
Wizards — request body — body wizards item containers item screens item conditional rules item criteria
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Criteria expression evaluated for this rule. Additional keys: not allowed |
comparator | string | Required within parent | Comparator used in the criteria, for example 'not_equal'. Maximum length: 50 |
field | object | Required within parent | Field against which the criteria is evaluated. Additional keys: not allowed |
field.api_name | string | Optional | API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
field.id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
type | string | Required within parent | Type of criteria, for example 'value'. Maximum length: 50 |
value | string | Required within parent | Value used in the comparison (for example ${EMPTY}). Maximum length: 255 |
Wizards — request body — body wizards item containers item screens item segments item fields item api name, id, sequence number
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a field reference for a `subforms`-type segment. Additional keys: not allowed |
api_name | string | Optional | API name of the field. Maximum length: 50 Pattern: ^[A-Za-z][A-Za-z0-9_]*$ |
id | string | Required within parent | Numeric unique identifier of the field. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
sequence_number | integer | Optional | Specify the sequence number that determines the position of this field within the segment. Format: int32 |
Wizards — request body — body wizards item module
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Module information for which the wizard is configured. Either api_name or id must be provided. Additional keys: not allowed |
api_name | string | Optional | API name of the module. Any valid module API name is allowed. Maximum length: 50 |
id | string | Optional | Numeric unique identifier of the module. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
$ (anyOf 1) | object | Alternative | Module is specified using its API name. Additional keys: allowed |
$ (anyOf 2) | object | Alternative | Module is specified using its unique identifier. Additional keys: allowed |
Wizards — request body — body wizards item containers item screens item conditional rules item actions item segment
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Segment that this action targets. Either an existing segment ID or a reference_id must be provided. Additional keys: not allowed |
id | string | Optional | Numeric unique identifier of the segment. Format: int64 Maximum length: 19 Minimum length: 1 Pattern: ^[0-9]+$ |
reference_id | string | Optional | Client-generated temporary reference used to target a segment within the same wizard request payload. Maximum length: 50 Pattern: \{\{[a-zA-Z0-9]+\}\} |
$ (anyOf 1) | object | Alternative | Use this shape when targeting an already existing segment by its persistent ID. Additional keys: allowed |
$ (anyOf 2) | object | Alternative | Use this shape when targeting a segment that is referenced only within this payload using reference_id. Additional keys: allowed |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.createwizard. Catalog operation: createWizard. 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.