Skip to content

Zoho: Create a Blueprint

Zoho blueprints.postBlueprint: arguments, response, policy and SDK examples.

← Blueprints operations · Get started

Operation zoho.postblueprint

Provider route: POST /crm/v8/settings/blueprints. 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["blueprints"]["postBlueprint"]>[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.blueprints.postBlueprint(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.blueprints.post_blueprint(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
headersobjectOptionalAdditional keys: not allowed
headers.X-ZOHO-SERVICEstringOptionalOne of: automation
bodyModelOptionalExpand Create a Blueprint — request body — body

Referenced models: Create a 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
$ModelRootExpand Create a Blueprint — response body

Referenced models: Create a Blueprint — response body

64 more schemas are linked from the tables above, on the schema pages.

Create a Blueprint — request body — body
FieldTypePresenceDescription and constraints
$objectRootRepresents the request body used to create a Blueprint.
Additional keys: not allowed
blueprintsarrayRequired within parentRepresents the root element that contains the details required to create the Blueprint.
Maximum items: 1
blueprints[]ModelEach itemExpand Create a Blueprint — request body — body blueprints item

Referenced models: Create a Blueprint — request body — body blueprints item

Create a Blueprint — response body
FieldTypePresenceDescription and constraints
$objectRootRepresents the response returned when the Blueprint is successfully created.
Additional keys: not allowed
blueprintsarrayOptionalRepresents the list containing the Blueprint created in the response.
Maximum items: 1
blueprints[]ModelEach itemExpand Blueprint — response body — blueprints item

Referenced models: Blueprint — response body — blueprints item

Create a Blueprint — request body — body blueprints item
FieldTypePresenceDescription and constraints
$objectRootRepresents the root element containing all the details required to create a Blueprint.
Additional keys: not allowed
api_namestring or nullOptionalRepresents the API name of the Blueprint.
Maximum length: 9
chart_dataModelOptionalExpand Create a Blueprint — request body — body blueprints item chart data
Contains chart data of the blueprint configured
connectionsarray or nullOptionalRepresents the list of connections made between two states and mapped with transitions.
Maximum items: 1
connections[]ModelEach itemExpand Create a Blueprint — request body — body blueprints item connections item
continuousbooleanRequired within parentIndicates whether the Blueprint is configured as continuous.
criteriaModelOptionalExpand Create a Blueprint — request body — body blueprints item criteria
Contains details of blueprint entry criteria
descriptionstring or nullOptionalRepresents the description of the Blueprint.
Maximum length: 1000
fieldModelRequired within parentExpand Create a Blueprint — request body — body blueprints item field
Contains details of the field for which blueprint is configured (Required)
layoutModelRequired within parentExpand Create a Blueprint — request body — body blueprints item layout
Details of the layout for which blueprint is configured (Required)
moduleModelRequired within parentExpand Create a Blueprint — request body — body blueprints item module
Contains the details of the module for which blueprint is configured (Required)
namestringRequired within parentRepresents the name of the Blueprint.
Maximum length: 50
ownersarray or nullOptionalRepresents the list of owners configured for the Blueprint.
Maximum items: 2
owners[]ModelEach itemExpand Create a Blueprint — request body — body blueprints item owners item
pipelineModelOptionalExpand Create a Blueprint — request body — body blueprints item pipeline
Contains details of the pipeline for which blueprint is configured
statesarray or nullOptionalRepresents the list of states associated with the Blueprint.
Maximum items: 301
states[]ModelEach itemExpand Create a Blueprint — request body — body blueprints item states item
transitionsarray or nullOptionalRepresents the list of transitions associated with the Blueprint.
Maximum items: 1
transitions[]ModelEach itemExpand Create a Blueprint — request body — body blueprints item transitions item

Referenced models: Create a Blueprint — request body — body blueprints item criteria, Create a Blueprint — request body — body blueprints item layout, Create a Blueprint — request body — body blueprints item owners item, Create a Blueprint — request body — body blueprints item pipeline, Create a Blueprint — request body — body blueprints item states item, Create a Blueprint — request body — body blueprints item transitions item, Create a Blueprint — request body — body blueprints item chart data, Create a Blueprint — request body — body blueprints item connections item, Create a Blueprint — request body — body blueprints item field, Create a Blueprint — request body — body blueprints item module

Blueprint — response body — blueprints item
FieldTypePresenceDescription and constraints
$objectRootRepresents an individual Blueprint's deletion status.
Additional keys: not allowed
codestringRequired within parentRepresents the status code indicating the outcome of the Blueprint deletion.

Possible values:
SUCCESS - Indicates that the Blueprint deletion completed successfully.
Known values: SUCCESS
detailsModelRequired within parentExpand Blueprint — response body — blueprints item details
messagestringRequired within parentRepresents the message describing the outcome of the Blueprint deletion.
Maximum length: 255
statusstringRequired within parentRepresents the status of the Blueprint deletion operation.
Maximum length: 255

Referenced models: Blueprint — response body — blueprints item details

Create a Blueprint — request body — body blueprints item criteria
FieldTypePresenceDescription and constraints
$objectRootRepresents the entry criteria configured for the Blueprint.
Additional keys: not allowed
comparatorstring or nullOptionalRepresents the comparator used to evaluate the criteria field against its configured value.
Maximum length: 12
fieldModelOptionalExpand Create a Blueprint — request body — body blueprints item field
Contains field details of criteria
typestring or nullOptionalRepresents the type of criteria used to determine whether a record satisfies the Blueprint entry conditions.
Maximum length: 100
valuestring or nullOptionalRepresents the value configured for the criteria field used to evaluate the Blueprint entry condition.
Maximum length: 3

Referenced models: Create a Blueprint — request body — body blueprints item field

Create a Blueprint — request body — body blueprints item layout
FieldTypePresenceDescription and constraints
$objectRootRepresents the details of the layout for which the Blueprint is configured.
Additional keys: not allowed
api_namestring or nullOptionalRepresents the API name of the layout for which the Blueprint is configured.
Maximum length: 100
Minimum length: 1
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
idstringRequired within parentRepresents the unique ID of the layout for which the Blueprint is configured.
Format: int64
Maximum length: 25
Minimum length: 1
Pattern: [0-9]+
namestring or nullOptionalRepresents the name of the layout for which the Blueprint is configured.
Maximum length: 100
Create a Blueprint — request body — body blueprints item pipeline
FieldTypePresenceDescription and constraints
$objectRootRepresents the details of the pipeline for which the Blueprint is configured.
Additional keys: not allowed
api_namestring or nullOptionalRepresents the API name of the pipeline for which the Blueprint is configured.
Maximum length: 100
display_valuestring or nullOptionalRepresents the display value of the pipeline for which the Blueprint is configured.
Maximum length: 100
idstringRequired within parentRepresents the unique ID of the pipeline for which the Blueprint is configured.
Format: int64
Maximum length: 25
Minimum length: 1
Pattern: [0-9]+
namestring or nullOptionalRepresents the name of the pipeline for which the Blueprint is configured.
Maximum length: 255
Create a Blueprint — request body — body blueprints item field
FieldTypePresenceDescription and constraints
$objectRootRepresents the field details of the criteria.
Additional keys: not allowed
api_namestring or nullOptionalRepresents the API name of the field for which the Blueprint is configured.
Maximum length: 100
Pattern: ^[A-Za-z][A-Za-z0-9_]*$
field_labelstring or nullOptionalRepresents the label of the field for which the Blueprint is configured.
Maximum length: 100
idstringRequired within parentRepresents the unique ID of the field for which the Blueprint is configured.
Format: int64
Maximum length: 25
Minimum length: 1
Pattern: [0-9]+

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