Skip to content

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.

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 os
from alter_sdk import App
from alter_sdk_zoho import ZohoIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.wizards.create_wizard(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
bodyobjectRequired within parentThe request body to create a wizard.
Additional keys: not allowed
body.wizardsarrayRequired within parentThe definition of the wizard structure.
Maximum items: 1
body.wizards[]objectEach itemThe request body of each wizard.
Additional keys: not allowed
body.wizards[].activebooleanRequired within parentIndicates whether the wizard is currently enabled.
body.wizards[].containersarrayRequired within parentContainers that define the layout and flow of the wizard.
Maximum items: 7
body.wizards[].containers[]objectEach itemContainer that groups layout, screens and chart data.
Additional keys: not allowed
body.wizards[].containers[].chart_dataobjectRequired within parentVisual flow configuration of the wizard screens.
Additional keys: not allowed
body.wizards[].containers[].chart_data.color_paletteobjectOptionalColor palette used by the wizard UI.
Additional keys: not allowed
body.wizards[].containers[].chart_data.color_palette.button_backgroundarrayOptionalPalette of colors used for wizard buttons.
Maximum items: 5
body.wizards[].containers[].chart_data.color_palette.button_background[]stringEach itemHex color code (for example, #FFFFFF).
Maximum length: 7
body.wizards[].containers[].chart_data.connectionsarrayOptionalConnections between buttons and target screens in the wizard flow.
Maximum items: 750
body.wizards[].containers[].chart_data.connections[]objectEach itemA connection from a source button to a target screen.
Additional keys: not allowed
body.wizards[].containers[].chart_data.connections[].source_buttonobjectRequired within parentButton that initiates the transition.
Additional keys: not allowed
body.wizards[].containers[].chart_data.connections[].source_button.display_labelstringOptionalDisplay label of the button.
Maximum length: 255
body.wizards[].containers[].chart_data.connections[].source_button.idstringOptionalNumeric 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_idstringOptionalTemporary identifier used to reference a button within the same wizard request payload.
Maximum length: 50
Pattern: &#123;&#123;[a-zA-Z0-9]+&#125;&#125;
body.wizards[].containers[].chart_data.connections[].source_button (anyOf 1)objectAlternativeButton referenced using numeric digit ID.
Additional keys: allowed
body.wizards[].containers[].chart_data.connections[].source_button (anyOf 2)objectAlternativeButton referenced using temporary reference ID within the same payload.
Additional keys: allowed
body.wizards[].containers[].chart_data.connections[].target_screenobjectRequired within parentScreen that is reached when the source_button is clicked.
Additional keys: not allowed
body.wizards[].containers[].chart_data.connections[].target_screen.display_labelstringOptionalDisplay label of the screen.
Maximum length: 255
body.wizards[].containers[].chart_data.connections[].target_screen.idstringOptionalNumeric 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_idstringOptionalTemporary identifier used to reference a screen within the same wizard request payload.
Maximum length: 50
Pattern: &#123;&#123;[a-zA-Z0-9]+&#125;&#125;
body.wizards[].containers[].chart_data.connections[].target_screen (anyOf 1)objectAlternativeScreen referenced by system-generated ID.
Additional keys: allowed
body.wizards[].containers[].chart_data.connections[].target_screen (anyOf 2)objectAlternativeScreen referenced by temporary reference_id.
Additional keys: allowed
body.wizards[].containers[].chart_data.nodesarrayRequired within parentNodes representing screens in the wizard flow diagram.
Maximum items: 75
body.wizards[].containers[].chart_data.nodes[]objectEach itemA single node in the wizard flow.
Additional keys: not allowed
body.wizards[].containers[].chart_data.nodes[].pos_xintegerRequired within parentHorizontal position of the node in pixels.
Format: int32
body.wizards[].containers[].chart_data.nodes[].pos_yintegerRequired within parentVertical position of the node in pixels.
Format: int32
body.wizards[].containers[].chart_data.nodes[].screenobjectRequired within parentScreen 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_labelstringOptionalDisplay label of the screen.
Maximum length: 255
body.wizards[].containers[].chart_data.nodes[].screen.idstringOptionalNumeric unique identifier of the screen.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
body.wizards[].containers[].chart_data.nodes[].screen.reference_idstringOptionalTemporary identifier used to reference a screen within the same wizard request payload.
Maximum length: 50
Pattern: &#123;&#123;[a-zA-Z0-9]+&#125;&#125;
body.wizards[].containers[].chart_data.nodes[].screen (anyOf 1)objectAlternativeScreen referenced using 18–19 digit ID.
Additional keys: allowed
body.wizards[].containers[].chart_data.nodes[].screen (anyOf 2)objectAlternativeScreen referenced using temporary reference ID within the same payload.
Additional keys: allowed
body.wizards[].containers[].chart_data.nodes[].start_nodebooleanRequired within parentIndicates whether this node is the starting point of the wizard.
body.wizards[].containers[].layoutobjectRequired within parentLayout associated with the container.
Additional keys: not allowed
body.wizards[].containers[].layout.idstringRequired within parentNumeric unique identifier of the layout.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]{1,19}$
body.wizards[].containers[].layout.namestringOptionalName of the layout. Used for display only, not for resolution.
Maximum length: 50
body.wizards[].containers[].screensarrayRequired within parentScreens that make up the wizard flow within this container.
Maximum items: 75
body.wizards[].containers[].screens[]objectEach itemIndividual screen definition.
Additional keys: not allowed
body.wizards[].containers[].screens[].conditional_rulesarrayOptionalConditional rules evaluated on this screen.
Maximum items: 50
body.wizards[].containers[].screens[].conditional_rules[]objectEach itemConditional rule configuration for the screen.
Additional keys: not allowed
body.wizards[].containers[].screens[].conditional_rules[].actionsarrayOptionalList of actions executed when the criteria is satisfied.
Maximum items: 50
body.wizards[].containers[].screens[].conditional_rules[].actions[]ModelEach itemExpand Wizards — request body — body wizards item containers item screens item conditional rules item actions item
body.wizards[].containers[].screens[].conditional_rules[].criteriaModelOptionalExpand Wizards — request body — body wizards item containers item screens item conditional rules item criteria
body.wizards[].containers[].screens[].conditional_rules[].execute_onstringOptionalEvent on which the rule executes, for example ‘create_edit’.
Maximum length: 50
body.wizards[].containers[].screens[].conditional_rules[].query_idstringOptionalSpecify 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_labelstringRequired within parentDisplay label of the screen.
Maximum length: 50
body.wizards[].containers[].screens[].reference_idstringRequired within parentInternal reference identifier used to link this screen in chart_data and buttons.
Maximum length: 50
Pattern: &#123;&#123;[a-zA-Z0-9]+&#125;&#125;
body.wizards[].containers[].screens[].segmentsarrayRequired within parentSegments that group fields, text, and buttons on the screen.
Maximum items: 75
body.wizards[].containers[].screens[].segments[]objectEach itemSegment inside a screen.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttonsarrayOptionalButtons displayed inside this segment.
Maximum items: 10
body.wizards[].containers[].screens[].segments[].buttons[]objectEach itemButton configuration inside the segment.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].background_colorstringRequired within parentBackground color of the button (hex code).
Maximum length: 7
body.wizards[].containers[].screens[].segments[].buttons[].categorystringOptionalCategory of the button.
One of: wizard_button, custom_button
body.wizards[].containers[].screens[].segments[].buttons[].colorstringOptionalText color of the button (hex code).
Maximum length: 7
body.wizards[].containers[].screens[].segments[].buttons[].criteriaobjectOptionalCriteria controlling the visibility or execution of this button.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1)objectAlternativeGrouped criteria with a logical operator.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).grouparrayRequired within parentSpecify the list of individual criteria combined by `group_operator`.
Maximum items: 50
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[]objectEach itemSpecify a single criterion in the group.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].comparatorstringRequired within parentSpecify the comparator used to evaluate the criterion.
Maximum length: 50
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].fieldobjectRequired within parentSpecify the field to evaluate.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group[].field.api_namestringOptionalAPI 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.idstringRequired within parentNumeric 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[].valuestringRequired within parentSpecify the value used in the comparison.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 1).group_operatorstringRequired within parentSpecify the logical operator used to combine the grouped criteria.
One of: and, or
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2)objectAlternativeA single criterion without grouping.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).comparatorstringRequired within parentSpecify the comparator used to evaluate the criterion.
Maximum length: 50
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).fieldobjectRequired within parentSpecify the field to evaluate.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].criteria (anyOf 2).field.api_namestringOptionalAPI 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.idstringRequired within parentNumeric 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).valuestringRequired within parentSpecify the value used in the comparison.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].display_labelstringOptionalDisplay label of the button.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].messageobjectOptionalOptional message shown when the button action is executed.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].message.contentstringOptionalContent of the text message in the text component
Maximum length: 2000
body.wizards[].containers[].screens[].segments[].buttons[].message.titlestringOptionalTitle of the text message in the text component
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].namestringOptionalInternal name of the button.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].profilesarrayOptionalProfiles for which this button is available.
Maximum items: 40
body.wizards[].containers[].screens[].segments[].buttons[].profiles[]objectEach itemProfile allowed to use this button.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].profiles[].display_labelstringOptionalTranslated (if available) display label of the profile.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].profiles[].idstringRequired within parentNumeric 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[].namestringOptionalInternal name of the profile.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].reference_idstringRequired within parentInternal reference identifier used to map this button within the same request.
Maximum length: 50
Pattern: &#123;&#123;[a-zA-Z0-9]+&#125;&#125;
body.wizards[].containers[].screens[].segments[].buttons[].resourceobject or nullOptionalAdditional 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.idstringRequired within parentNumeric unique identifier of the resource.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
body.wizards[].containers[].screens[].segments[].buttons[].resource.namestringOptionalName of the resource.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].sequence_numberintegerRequired within parentSequence of the button within the segment.
Format: int32
body.wizards[].containers[].screens[].segments[].buttons[].shapestringRequired within parentShape of the button.
One of: square, capsule, round
body.wizards[].containers[].screens[].segments[].buttons[].show_summary_onstring or nullOptionalIndicates 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_screenobjectOptionalTarget screen navigated to when this button is clicked.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.display_labelstringOptionalDisplay label of the target screen.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].buttons[].target_screen.idstringOptionalNumeric 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_idstringOptionalTemporary identifier used to reference a screen within the same wizard request payload.
Maximum length: 50
Pattern: &#123;&#123;[a-zA-Z0-9]+&#125;&#125;
body.wizards[].containers[].screens[].segments[].buttons[].target_screen (anyOf 1)objectAlternativeScreen referenced by system-generated ID.
Additional keys: allowed
body.wizards[].containers[].screens[].segments[].buttons[].target_screen (anyOf 2)objectAlternativeScreen referenced by temporary reference_id.
Additional keys: allowed
body.wizards[].containers[].screens[].segments[].buttons[].transitionobjectOptionalOptional transition configuration for the button.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].buttons[].transition.idstringRequired within parentSpecify 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[].typestringOptionalType of button action.
One of: save, transition
body.wizards[].containers[].screens[].segments[].buttons[].visibilitystringRequired within parentVisibility behavior of the button.
One of: hide, disable, show
body.wizards[].containers[].screens[].segments[].contentstringOptionalStatic content, used for text_label segments.
Maximum length: 2000
body.wizards[].containers[].screens[].segments[].display_labelstringOptionalDisplay label of the segment.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].elementsarrayOptionalList of field or other resources contained in this segment.
Maximum items: 75
body.wizards[].containers[].screens[].segments[].elements[]objectEach itemElement inside a segment.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].elements[].resourceobjectOptionalResource referenced by this element.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].elements[].resource.idstringRequired within parentNumeric unique identifier of the resource.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
body.wizards[].containers[].screens[].segments[].elements[].resource.namestringOptionalName of the resource.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].elements[].sequence_numberintegerRequired within parentSequence in which the element appears within the segment.
Format: int32
body.wizards[].containers[].screens[].segments[].elements[].typestringRequired within parentType of the element, for example ‘field’.
One of: field, query_component, segment
Maximum length: 50
body.wizards[].containers[].screens[].segments[].fieldsarrayOptionalList of fields assigned to this segment. Used for ‘fields’ and ‘subforms’ type segments.
Maximum items: 75
body.wizards[].containers[].screens[].segments[].fields[]objectEach itemField inside a segment.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1)objectAlternativeRepresents a field reference for a `fields`-type segment.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).resourceobjectRequired within parentSpecify the field referenced by this item.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).resource.api_namestringOptionalAPI name of the field.
Maximum length: 50
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 1).resource.idstringRequired within parentNumeric 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_numberintegerOptionalSpecify the sequence number that determines the position of this field within the segment.
Format: int32
body.wizards[].containers[].screens[].segments[].fields[] (anyOf 2)ModelAlternativeExpand Wizards — request body — body wizards item containers item screens item segments item fields item api name, id, sequence number
body.wizards[].containers[].screens[].segments[].namestringOptionalName of the segment.
Maximum length: 255
body.wizards[].containers[].screens[].segments[].reference_idstringOptionalInternal reference identifier used to map this segment within the same request.
Maximum length: 50
Pattern: &#123;&#123;[a-zA-Z0-9]+&#125;&#125;
body.wizards[].containers[].screens[].segments[].sequence_numberintegerRequired within parentSequence in which the segment appears within the screen.
Format: int32
body.wizards[].containers[].screens[].segments[].tab_traversalstringOptionalSpecify 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[].typestringRequired within parentType 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[].widgetobjectOptionalWidget resource linked to this segment. Required when type is ‘widget’.
Additional keys: not allowed
body.wizards[].containers[].screens[].segments[].widget.idstringRequired within parentNumeric unique identifier of the widget.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
body.wizards[].containers[].screens[].segments[].widget.namestringOptionalName of the widget.
Maximum length: 255
body.wizards[].moduleModelRequired within parentExpand Wizards — request body — body wizards item module
body.wizards[].namestringRequired within parentUnique name of the wizard used in the API.
Maximum length: 30
body.wizards[].portal_user_typesarrayOptionalSpecify 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[]objectEach itemSpecify a client portal user type.
Additional keys: not allowed
body.wizards[].portal_user_types[].display_labelstringOptionalSpecify the translated display label of the client portal user type.
Maximum length: 255
body.wizards[].portal_user_types[].idstringRequired within parentSpecify 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[].namestringOptionalSpecify the internal name of the client portal user type.
Maximum length: 255
body.wizards[].profilesarrayOptionalProfiles that are allowed to access this wizard.
Maximum items: 50
body.wizards[].profiles[]objectEach itemProfile associated with the wizard.
Additional keys: not allowed
body.wizards[].profiles[].idstringRequired within parentNumeric unique identifier of the profile.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]{1,19}$
body.wizards[].profiles[].namestringOptionalName of the profile.
Maximum length: 50
body.wizards[] (anyOf 1)objectAlternativeRepresents the variant where the wizard is made available via CRM profiles.
Additional keys: allowed
body.wizards[] (anyOf 2)objectAlternativeRepresents 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 media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$objectRootThe definition of the response body structure after a successful wizard creation.
Additional keys: not allowed
wizardsarrayRequired within parentThe wizards that have been created.
Maximum items: 1
wizards[]objectEach itemEach wizard created using the API.
Additional keys: not allowed
wizards[].codestringRequired within parentThis represents the success or error codes of the request.
Known values: SUCCESS
wizards[].detailsobjectRequired within parentAdditional information about the request payload after successful execution.
Additional keys: not allowed
wizards[].details.idstringRequired within parentNumeric unique identifier of the wizard.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
wizards[].messagestringRequired within parentThis describes the message returned from the server after wizard a successful wizard creation.
Maximum length: 255
wizards[].statusstringRequired within parentThis describes whether the wizard creation was successful or not.
Known values: success
Wizards — request body — body wizards item containers item screens item conditional rules item actions item
FieldTypePresenceDescription and constraints
$objectRootAction configuration executed when the conditional rule criteria is met.
Additional keys: not allowed
exempted_portal_user_typesarrayOptionalPortal user types for which this action should not be applied when using lock-type actions.
Maximum items: 500
exempted_portal_user_types[]objectEach itemPortal user type exempted from this action.
Additional keys: not allowed
exempted_portal_user_types[].idstringOptionalNumeric unique identifier of the portal user type.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
exempted_portal_user_types[].namestringOptionalName of the portal user type.
Maximum length: 255
exempted_profilesarrayOptionalProfiles for which this action should not be applied when using lock-type actions.
Maximum items: 500
exempted_profiles[]objectEach itemProfile exempted from this action.
Additional keys: not allowed
exempted_profiles[].idstringOptionalNumeric unique identifier of the profile.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]{1,19}$
exempted_profiles[].namestringOptionalName of the profile.
Maximum length: 255
fieldobjectOptionalField that this action targets. Either field or segment must be provided.
Additional keys: not allowed
field.api_namestringOptionalAPI name of the target field.
Maximum length: 50
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
field.idstringRequired within parentNumeric unique identifier of the field.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
segmentModelOptionalExpand Wizards — request body — body wizards item containers item screens item conditional rules item actions item segment
typestringRequired within parentType 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
valuestringOptionalValue to set on the field when using the 'set_value' action type; ignored for other action types.
Maximum length: 2000
$ (anyOf 1)objectAlternativeShape for actions that target a field.
Additional keys: allowed
$ (anyOf 2)objectAlternativeShape for actions that target a segment.
Additional keys: allowed
$ (anyOf 3)objectAlternativeShape 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
FieldTypePresenceDescription and constraints
$objectRootCriteria expression evaluated for this rule.
Additional keys: not allowed
comparatorstringRequired within parentComparator used in the criteria, for example 'not_equal'.
Maximum length: 50
fieldobjectRequired within parentField against which the criteria is evaluated.
Additional keys: not allowed
field.api_namestringOptionalAPI name of the field.
Maximum length: 50
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
field.idstringRequired within parentNumeric unique identifier of the field.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
typestringRequired within parentType of criteria, for example 'value'.
Maximum length: 50
valuestringRequired within parentValue 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
FieldTypePresenceDescription and constraints
$objectRootRepresents a field reference for a `subforms`-type segment.
Additional keys: not allowed
api_namestringOptionalAPI name of the field.
Maximum length: 50
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
idstringRequired within parentNumeric unique identifier of the field.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
sequence_numberintegerOptionalSpecify the sequence number that determines the position of this field within the segment.
Format: int32
Wizards — request body — body wizards item module
FieldTypePresenceDescription and constraints
$objectRootModule information for which the wizard is configured. Either api_name or id must be provided.
Additional keys: not allowed
api_namestringOptionalAPI name of the module. Any valid module API name is allowed.
Maximum length: 50
idstringOptionalNumeric unique identifier of the module.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
$ (anyOf 1)objectAlternativeModule is specified using its API name.
Additional keys: allowed
$ (anyOf 2)objectAlternativeModule 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
FieldTypePresenceDescription and constraints
$objectRootSegment that this action targets. Either an existing segment ID or a reference_id must be provided.
Additional keys: not allowed
idstringOptionalNumeric unique identifier of the segment.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
reference_idstringOptionalClient-generated temporary reference used to target a segment within the same wizard request payload.
Maximum length: 50
Pattern: \{\{[a-zA-Z0-9]+\}\}
$ (anyOf 1)objectAlternativeUse this shape when targeting an already existing segment by its persistent ID.
Additional keys: allowed
$ (anyOf 2)objectAlternativeUse this shape when targeting a segment that is referenced only within this payload using reference_id.
Additional keys: allowed

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.

Official provider source

Report an issue with this page

Necessary

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

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

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

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

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