Zoho: Create Blueprint transitions
Zoho blueprintTransitions.createBlueprintTransitions: arguments, response, policy and SDK examples.
← Blueprint transitions operations · Get started
Operation zoho.createblueprinttransitions
Provider route: POST /crm/v8/settings/blueprints/transitions. 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["blueprintTransitions"]["createBlueprintTransitions"]>[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.blueprintTransitions.createBlueprintTransitions(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.blueprint_transitions.create_blueprint_transitions(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
body | Model | Optional | Expand Create Blueprint transitions — request body — body |
Referenced models: Create Blueprint transitions — request body — body
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 |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | Model | Alternative | Expand Create Blueprint transitions — response body — transitions — Blueprint Transitions Create Response |
$ (anyOf 2) | Model | Alternative | Expand Create Blueprint transitions — response body — transitions — Post Transitions Multi Status Response |
Referenced models: Create Blueprint transitions — response body — transitions — Blueprint Transitions Create Response, Create Blueprint transitions — response body — transitions — Post Transitions Multi Status Response
Schemas
Section titled “Schemas”85 more schemas are linked from the tables above, on the schema pages.
Create Blueprint transitions — response body — transitions — Blueprint Transitions Create Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the response returned upon successful creation of transitions, containing the per-transition operation results. Additional keys: not allowed |
transitions | array | Optional | Contains the creation result of each blueprint transition submitted in the bulk create request. Maximum items: 100 |
transitions[] | Model | Each item | Expand Create Blueprint transitions — response body — transitions transitions item |
Referenced models: Create Blueprint transitions — response body — transitions transitions item
Create Blueprint transitions — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the request body for creating one or more blueprint transitions, where each entry carries the full transition definition. Additional keys: not allowed |
transitions | array | Required within parent | Contains the list of transitions to be created, where each object in the array represents a single transition. Maximum items: 1 |
transitions[] | Model | Each item | Expand Create Blueprint transitions — request body — body transitions item |
Referenced models: Create Blueprint transitions — request body — body transitions item
Create Blueprint transitions — response body — transitions transitions item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the outcome of processing an individual transition, including the status, code, message, and optional details. Additional keys: not allowed |
code | string | Optional | Represents the result code returned for the transition operation. Maximum length: 255 |
details | Model | Optional | Expand Create Blueprint transitions — response body — transitions transitions item details |
message | string | Optional | Represents the message returned for the transition operation, describing its outcome. Maximum length: 255 |
status | string | Optional | Indicates the response status of the transition operation. Maximum length: 255 |
Referenced models: Create Blueprint transitions — response body — transitions transitions item details
Create Blueprint transitions — response body — transitions / transitions / item / code: INVALID DATA, message: Action Limit Exceeds, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the validation error returned when the configured action count exceeds the permitted limit for the action type (code: INVALID_DATA). Additional keys: not allowed |
code | string | Required within parent | Represents the error code returned when the action limit is exceeded. Possible values: **INVALID_DATA**. Known values: INVALID_DATA |
details | object | Required within parent | Contains the error details with information about the exceeded action limit, such as the action type, its API name, the configured count, and the allowed limit. Additional keys: not allowed |
details.action_type | string | Required within parent | Indicates the type of the action that exceeded the configured limit. Maximum length: 255 |
details.api_name | string | Required within parent | Represents the API name of the action that exceeded the configured limit. Maximum length: 255 |
details.configured_count | JSON | Required within parent | |
details.configured_count (anyOf 1) | integer | Alternative | Indicates the number of actions currently configured for the transition. Format: int32 |
details.configured_count (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
details.json_path | string | Required within parent | Represents the JSON path to the action in the request that caused the error. Maximum length: 1000 |
details.limit | JSON | Required within parent | |
details.limit (anyOf 1) | integer | Alternative | Indicates the maximum number of actions allowed for the transition. Format: int32 |
details.limit (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
message | string | Required within parent | Represents the error message returned when the action limit is exceeded. Possible values: **Action Limit Exceeds**. Known values: Action Limit Exceeds |
status | string | Required within parent | Indicates the response status of the API call. Possible values: **error**. Known values: error |
Create Blueprint transitions — response body — transitions / transitions / item / code: INVALID DATA, message: The action does not belong to the current module of the transition, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the error returned when the specified action does not belong to the current module of the transition (code: INVALID_DATA). Additional keys: not allowed |
code | string | Required within parent | Represents the error code returned when the action does not belong to the module. Possible values: **INVALID_DATA**. Known values: INVALID_DATA |
details | Model | Required within parent | Expand Create Blueprint transitions — response body — transitions / transitions / item / code: INVALID DATA, message: The action does not belong to the current module of the transition, status: error details |
message | string | Required within parent | Represents the error message returned when the action does not belong to the current module of the transition. Possible values: **The action does not belong to the current module of the transition**. Known values: The action does not belong to the current module of the transition |
status | string | Required within parent | Indicates the response status of the API call. Possible values: **error**. Known values: error |
Create Blueprint transitions — response body — transitions / transitions / item / code: INVALID DATA, message: Action Not Supported For Module, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the validation error returned when the specified action type is not supported for the given module (code: INVALID_DATA). Additional keys: not allowed |
code | string | Required within parent | Represents the error code returned when the action is not supported for the module of the transition. Possible values: **INVALID_DATA**. Known values: INVALID_DATA |
details | object | Required within parent | Contains the error details with field-level information about the action that is not supported for the module of the transition. Additional keys: not allowed |
details.api_name | string | Required within parent | Represents the API name of the field that caused the error. Maximum length: 255 |
details.json_path | string | Required within parent | Represents the JSON path of the field that caused the error. Maximum length: 1000 |
message | string | Required within parent | Represents the error message returned when the action is not supported for the module of the transition. Possible values: **Action Not Supported For Module**. Known values: Action Not Supported For Module |
status | string | Required within parent | Indicates the response status of the API call. Possible values: **error**. Known values: error |
Create Blueprint transitions — response body — transitions / transitions / item / code: NOT ALLOWED, message: Blueprint transition owners cannot be added to automatic transition, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the error returned when owners are added to an automatic transition, which is not allowed. Possible values: **NOT_ALLOWED**. Additional keys: not allowed |
code | string | Required within parent | Represents the error code returned when owners cannot be added to an automatic transition. Possible values: **NOT_ALLOWED**. Known values: NOT_ALLOWED |
details | object | Required within parent | Contains the error details identifying the field that caused the error. Additional keys: not allowed |
details.api_name | string | Required within parent | Represents the API name of the field that caused the error. Maximum length: 255 |
details.json_path | string | Required within parent | Represents the JSON path of the field that caused the error. Maximum length: 1000 |
message | string | Required within parent | Represents the error message returned when owners cannot be added to an automatic transition. Possible values: **Blueprint transition owners cannot be added to automatic transition**. Known values: Blueprint transition owners cannot be added to automatic transition |
status | string | Required within parent | Indicates the response status of the API call. Possible values: **error**. Known values: error |
Create Blueprint transitions — response body — transitions / transitions / item / code: INVALID DATA, message: The given value seems to be invalid, status: error
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the standardized 400 error payload returned by the Blueprint Transitions API when a transition configuration contains invalid input, such as an invalid sequence number in during inputs. Includes the error status, a stable error code (INVALID_DATA), an error message, and validation details describing the offending fields. Additional keys: not allowed |
code | string | Required within parent | Represents the error code returned when the blueprint transition data fails validation. Possible values: **INVALID_DATA**. Known values: INVALID_DATA |
details | object | Required within parent | Contains the error details object with field-level validation information. Additional keys: not allowed |
details.api_name | string | Required within parent | Represents the API name of the field that failed validation. Maximum length: 255 |
details.json_path | string | Required within parent | Represents the JSON path of the field that caused the validation error. Maximum length: 1000 |
message | string | Required within parent | Represents the error message returned when the request data for a blueprint transition is invalid. Possible values: **The given value seems to be invalid**. Known values: The given value seems to be invalid |
status | string | Required within parent | Indicates the response status of the API call. Possible values: **error**. Known values: error |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.createblueprinttransitions. Catalog operation: createBlueprintTransitions. 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.