Skip to content

Zoho: Zia Data Enrichment Configuration

Zoho ziaEnrichment.createZiaEnrichmentConfigurations: arguments, response, policy and SDK examples.

← Zia enrichment operations · Get started

Operation zoho.createziaenrichmentconfigurations

Provider route: POST /crm/v8/settings/zia/data_enrichment. 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["ziaEnrichment"]["createZiaEnrichmentConfigurations"]>[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.ziaEnrichment.createZiaEnrichmentConfigurations(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.zia_enrichment.create_zia_enrichment_configurations(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
bodyobjectRequired within parentRequest body schema for creating Zia Enrichment configurations.
Additional keys: not allowed
body.data_enrichmentarrayRequired within parentArray of data enrichment configurations.
Maximum items: 50
body.data_enrichment[]objectEach itemConfiguration item for a single module’s enrichment settings.
Additional keys: not allowed
body.data_enrichment[].input_data_field_mappingModelRequired within parentExpand Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
body.data_enrichment[].moduleModelRequired within parentExpand Zia Data Enrichment Configuration — request body — body data enrichment item module
body.data_enrichment[].output_data_field_mappingModelRequired within parentExpand Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
body.data_enrichment[].typestringRequired within parentType of enrichment — either ‘personal’ or ‘organization’.
Maximum length: 255

Referenced models: Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping, Zia Data Enrichment Configuration — request body — body data enrichment item module

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

FieldTypePresenceDescription and constraints
$objectRootEnrichment created successfully.
Additional keys: not allowed
data_enrichmentarrayRequired within parentArray of creation results for each configuration.
Maximum items: 50
data_enrichment[]objectEach itemResult item for a single enrichment configuration creation.
Additional keys: not allowed
data_enrichment[].codestringRequired within parentResult code indicating the operation status.
Maximum length: 255
data_enrichment[].detailsobjectRequired within parentDetails of the created enrichment configuration.
Additional keys: not allowed
data_enrichment[].details.created_byobjectRequired within parentUser who created the enrichment configuration.
Additional keys: not allowed
data_enrichment[].details.created_by.idstringRequired within parentUnique identifier of the user who created the configuration.
Maximum length: 19
data_enrichment[].details.created_by.namestringRequired within parentName of the user who created the configuration.
Maximum length: 255
data_enrichment[].details.created_timestringRequired within parentTimestamp when the enrichment configuration was created.
Maximum length: 255
data_enrichment[].details.idstringRequired within parentUnique identifier of the created enrichment configuration.
Maximum length: 19
data_enrichment[].messagestringRequired within parentHuman-readable message describing the operation result.
Maximum length: 255
data_enrichment[].statusstringRequired within parentOverall status of the operation — ‘success’ or ‘error’.
Maximum length: 255
Zia Data Enrichment Configuration — request body — body data enrichment item input data field mapping
FieldTypePresenceDescription and constraints
$arrayRootArray of field mappings for write operations.
Maximum items: 50
$[]objectEach itemField mapping item for write operations.
Additional keys: not allowed
$[].crm_fieldJSONRequired within parentCRM field object. Provide both ID and API name. Use the [Get Fields Metadata API](fields.yaml#$.paths./settings/fields.get) to get CRM field IDs and API names.
$[].crm_field (anyOf 1)objectAlternativeCRM field object with ID and API name.
Additional keys: not allowed
$[].crm_field (anyOf 1).api_namestringRequired within parentAPI name of the CRM field.
Maximum length: 255
$[].crm_field (anyOf 1).idstringRequired within parentUnique identifier of the CRM field.
Maximum length: 19
$[].crm_field (anyOf 2)nullAlternativeNull value for CRM field (no mapping).
$[].enrich_fieldobjectRequired within parentZia enrichment field metadata.
Additional keys: not allowed
$[].enrich_field.namestringRequired within parentName of the Zia enrichment field.
Maximum length: 255
Zia Data Enrichment Configuration — request body — body data enrichment item module
FieldTypePresenceDescription and constraints
$objectRootCRM module metadata with ID and API name.
Additional keys: not allowed
api_namestringRequired within parentAPI name of the CRM module (e.g., Leads, Contacts, Accounts). Use the [Get Modules API](modules.yaml#$.paths./settings/modules.get) to get module API names.
Maximum length: 255
idstringRequired within parentUnique identifier of the CRM module. Use the [Get Modules API](modules.yaml#$.paths./settings/modules.get) to get module IDs.
Maximum length: 19

SDK function policy ID: zoho.createziaenrichmentconfigurations. Catalog operation: createZiaEnrichmentConfigurations. 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 which product and documentation features are useful.

Performance diagnostics

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

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