Skip to content

Zoho: Activate Blueprint

Zoho blueprintConfigActivate.activateBlueprint: arguments, response, policy and SDK examples.

← Blueprint config activate operations · Get started

Operation zoho.activateblueprint

Provider route: POST /crm/v8/settings/blueprints/{blueprintId}/actions/activate. 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["blueprintConfigActivate"]["activateBlueprint"]>[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.blueprintConfigActivate.activateBlueprint(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.blueprint_config_activate.activate_blueprint(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.blueprintIdstringRequired within parentFormat: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+
headersobjectRequired within parentAdditional keys: not allowed
headers.X-ZOHO-SERVICEstringRequired within parentOne of: automation
bodyModelOptionalExpand Activate Blueprint — request body — body

Referenced models: Activate Blueprint — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Activate Blueprint — response body — blueprints
$ (anyOf 2)nullAlternative

Referenced models: Activate Blueprint — response body — blueprints

Activate Blueprint — request body — body
FieldTypePresenceDescription and constraints
$objectRootRequest body wrapper that provides a list of blueprints with their activation settings and required state mappings for transitioning from draft to active.
Additional keys: not allowed
blueprintsarrayRequired within parentThis is the root key of the request body (Required)
Maximum items: 1
blueprints[]ModelEach itemExpand Activate Blueprint — request body — body blueprints item

Referenced models: Activate Blueprint — request body — body blueprints item

Activate Blueprint — response body — blueprints
FieldTypePresenceDescription and constraints
$objectRootResponse returned upon successful activation of a blueprint. Includes a blueprints array with per-blueprint result details.
Additional keys: not allowed
blueprintsarrayOptionalField: blueprints
Maximum items: 1
blueprints[]ModelEach itemExpand Activate Blueprint — response body — blueprints blueprints item

Referenced models: Activate Blueprint — response body — blueprints blueprints item

Activate Blueprint — request body — body blueprints item
FieldTypePresenceDescription and constraints
$objectRootActivation settings for a blueprint, including an array of state remaps (map_states) and a flag indicating whether to move existing records (move_records).
Additional keys: not allowed
map_statesarray or nullOptionalThe current version will have active records associated with it, so when the draft is set to be activated, remap data is required, which contains the mapping of the picklist ID of the existing state and the replacing state.
Maximum items: 1
map_states[]ModelEach itemExpand Activate Blueprint — request body — body blueprints item map states item
move_recordsbooleanRequired within parentThe current version will have active records associated with it, so when the draft is set to be activated, remap data is required (Required).

Referenced models: Activate Blueprint — request body — body blueprints item map states item

Activate Blueprint — response body — blueprints blueprints item
FieldTypePresenceDescription and constraints
$objectRootNested schema for blueprints
Additional keys: not allowed
codestringOptionalField: code
Maximum length: 255
detailsModelOptionalExpand Activate Blueprint — response body — blueprints blueprints item details
messagestringOptionalField: message
Maximum length: 255
statusstringOptionalField: status
Maximum length: 255

Referenced models: Activate Blueprint — response body — blueprints blueprints item details

Activate Blueprint — request body — body blueprints item map states item
FieldTypePresenceDescription and constraints
$objectRootAssociates an existing (current) state with a replacing (target) state by their picklist IDs. Each pair directs how active records should be moved during activation.
Additional keys: not allowed
existing_stateModelOptionalExpand Activate Blueprint — request body — body blueprints item map states item existing state
Contains data about the existing state
replacing_stateModelOptionalExpand Activate Blueprint — request body — body blueprints item map states item replacing state
Contains data about the replacing state

Referenced models: Activate Blueprint — request body — body blueprints item map states item existing state, Activate Blueprint — request body — body blueprints item map states item replacing state

Activate Blueprint — response body — blueprints blueprints item details
FieldTypePresenceDescription and constraints
$objectRootNested schema for details
Additional keys: allowed
idstringOptionalField: id
Maximum length: 255
nameJSONOptional
name (anyOf 1)stringAlternativeAction name
Maximum length: 50
name (anyOf 2)nullAlternativeAction name
Maximum length: 50
Activate Blueprint — request body — body blueprints item map states item existing state
FieldTypePresenceDescription and constraints
$objectRootReference object for the existing blueprint state, identified by picklist ID. Used as the source state in remapping during activation.
Additional keys: not allowed
idstring or nullOptionalContains data about the existing state picklist ID
Maximum length: 50
Activate Blueprint — request body — body blueprints item map states item replacing state
FieldTypePresenceDescription and constraints
$objectRootReference object for the replacing blueprint state, identified by picklist ID. Used as the target state in remapping during activation.
Additional keys: not allowed
idstring or nullOptionalContains data about the replacing state picklist ID
Format: int64
Maximum length: 50
Minimum length: 1
Pattern: ^[0-9]+$

SDK function policy ID: zoho.activateblueprint. Catalog operation: activateBlueprint. 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.

No-content response statuses: [204]

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.