Skip to content

Zoho: Get a Cadence

Zoho cadences.getCadence: arguments, response, policy and SDK examples.

← Cadences operations · Get started

Operation zoho.getcadence

Provider route: GET /crm/v8/settings/automation/cadences/{id}. 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["cadences"]["getCadence"]>[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.cadences.getCadence(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.cadences.get_cadence(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.idstringRequired within parentMaximum length: 255

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 Get a Cadence — response body — cadences
$ (anyOf 2)nullAlternative

Referenced models: Get a Cadence — response body — cadences

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

Get a Cadence — response body — cadences
FieldTypePresenceDescription and constraints
$objectRootRepresents the response containing the details of a specific Cadence retrieved by its identifier.
Additional keys: not allowed
cadencesarrayOptionalRepresents the list of Cadences with their full details.
Maximum items: 1
cadences[]objectEach itemRepresents the detailed configuration and metadata for a single Cadence.
Additional keys: not allowed
cadences[].created_byModelOptionalExpand Get Cadence analytics — response body — cadences item created by
cadences[].created_timestringOptionalRepresents the creation date and time of the Cadence, in ISO 8601 format.
Format: date-time
cadences[].custom_viewModelOptionalExpand Get a Cadence — response body — cadences cadences item custom view
cadences[].descriptionstringOptionalRepresents the description text of a Cadence.
Maximum length: 500
cadences[].draft_cadenceobjectOptionalRepresents the draft version of the Cadence, if one exists.
Additional keys: not allowed
cadences[].draft_cadence.idstringOptionalRepresents the unique identifier of a Cadence.
Maximum length: 255
cadences[].draft_cadence.namestringOptionalRepresents the name of a Cadence.
Maximum length: 100
cadences[].execution_detailsJSONOptional
cadences[].execution_details (anyOf 1)objectAlternativeRepresents the execution frequency and unenrollment configuration for the Cadence.
Additional keys: not allowed
cadences[].execution_details (anyOf 1).execute_everyModelOptionalExpand Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties execute every
cadences[].execution_details (anyOf 1).unenroll_propertiesJSONOptional
cadences[].execution_details (anyOf 1).unenroll_properties (anyOf 1)arrayAlternativeRepresents the list of conditions under which records are automatically unenrolled from the Cadence.
Maximum items: 50
cadences[].execution_details (anyOf 1).unenroll_properties (anyOf 1)[]ModelEach itemExpand Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties unenroll properties null item
cadences[].execution_details (anyOf 1).unenroll_properties (anyOf 2)nullAlternativeRepresents the list of conditions under which records are automatically unenrolled from the Cadence.
Maximum items: 50
cadences[].execution_details (anyOf 1).unenroll_properties (anyOf 2)[]ModelEach itemExpand Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties unenroll properties null item
cadences[].execution_details (anyOf 2)nullAlternativeRepresents the execution frequency and unenrollment configuration for the Cadence.
Additional keys: not allowed
cadences[].execution_details (anyOf 2).execute_everyModelOptionalExpand Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties execute every
cadences[].execution_details (anyOf 2).unenroll_propertiesJSONOptional
cadences[].execution_details (anyOf 2).unenroll_properties (anyOf 1)arrayAlternativeRepresents the list of conditions under which records are automatically unenrolled from the Cadence.
Maximum items: 50
cadences[].execution_details (anyOf 2).unenroll_properties (anyOf 1)[]ModelEach itemExpand Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties unenroll properties null item
cadences[].execution_details (anyOf 2).unenroll_properties (anyOf 2)nullAlternativeRepresents the list of conditions under which records are automatically unenrolled from the Cadence.
Maximum items: 50
cadences[].execution_details (anyOf 2).unenroll_properties (anyOf 2)[]ModelEach itemExpand Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties unenroll properties null item
cadences[].follow_upsarrayOptionalRepresents the list of follow-up steps configured in the Cadence.
Maximum items: 200
cadences[].follow_ups[]objectEach itemRepresents a single follow-up step in the Cadence.
Additional keys: not allowed
cadences[].follow_ups[].actionobjectRequired within parentRepresents the action configured for the follow-up step.
Additional keys: allowed
cadences[].follow_ups[].execute_afterobjectOptionalRepresents the wait period before this follow-up step executes.
Additional keys: not allowed
cadences[].follow_ups[].execute_after.idstringOptionalRepresents the unique identifier for the execute-after configuration.
Maximum length: 255
cadences[].follow_ups[].execute_after.periodstringOptionalRepresents the numeric duration of the wait period.
Maximum length: 255
cadences[].follow_ups[].execute_after.unitJSONOptional
cadences[].follow_ups[].execute_after.unit (anyOf 1)integerAlternativeRepresents the time unit for the wait period.
Format: int32
cadences[].follow_ups[].execute_after.unit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
cadences[].follow_ups[].idstringRequired within parentRepresents the unique identifier of the follow-up step.
Maximum length: 255
cadences[].follow_ups[].parent_follow_upJSONRequired within parent
cadences[].follow_ups[].parent_follow_up (anyOf 1)objectAlternativeRepresents the parent follow-up step that this step branches from.
cadences[].follow_ups[].parent_follow_up (anyOf 1).idstringOptionalRepresents the unique identifier of the parent follow-up step.
Maximum length: 255
cadences[].follow_ups[].parent_follow_up (anyOf 1).typestringOptionalRepresents the branch type of the parent follow-up connection.
Maximum length: 255
cadences[].follow_ups[].parent_follow_up (anyOf 2)nullAlternativeRepresents the parent follow-up step that this step branches from.
cadences[].follow_ups[].parent_follow_up (anyOf 2).idstringOptionalRepresents the unique identifier of the parent follow-up step.
Maximum length: 255
cadences[].follow_ups[].parent_follow_up (anyOf 2).typestringOptionalRepresents the branch type of the parent follow-up connection.
Maximum length: 255
cadences[].follow_ups[].triggersJSONOptional
cadences[].follow_ups[].triggers (anyOf 1)arrayAlternativeRepresents the list of trigger conditions for the follow-up step.
Maximum items: 25
cadences[].follow_ups[].triggers (anyOf 1)[]stringEach itemRepresents a single trigger condition for the follow-up step.
Maximum length: 255
cadences[].follow_ups[].triggers (anyOf 2)nullAlternativeRepresents the list of trigger conditions for the follow-up step.
Maximum items: 25
cadences[].follow_ups[].triggers (anyOf 2)[]stringEach itemRepresents a single trigger condition for the follow-up step.
Maximum length: 255
cadences[].idstringRequired within parentRepresents the unique identifier of a Cadence.
Maximum length: 255
cadences[].modified_byModelOptionalExpand Get a Cadence — response body — cadences cadences item modified by
cadences[].modified_timeJSONOptional
cadences[].modified_time (anyOf 1)stringAlternativeRepresents the date and time when the Cadence was last modified.
Maximum length: 255
cadences[].modified_time (anyOf 2)nullAlternativeRepresents the date and time when the Cadence was last modified.
Maximum length: 255
cadences[].moduleModelRequired within parentExpand Get Cadence analytics — response body — cadences item module
cadences[].namestringRequired within parentRepresents the name of a Cadence.
Maximum length: 100
cadences[].parent_cadenceobjectOptionalRepresents the original Cadence from which this Cadence was cloned.
Additional keys: not allowed
cadences[].parent_cadence.idstringOptionalRepresents the unique identifier of a Cadence.
Maximum length: 255
cadences[].parent_cadence.namestringOptionalRepresents the name of a Cadence.
Maximum length: 100
cadences[].statusstringRequired within parentCadence lifecycle status. draft = not yet published; active = published and enrolling records; inactive = published but currently deactivated.
Maximum length: 255
cadences[].summaryModelOptionalExpand Get a Cadence — response body — cadences cadences item summary
cadences[].typestringRequired within parentRepresents the enrollment type of a Cadence, indicating how records are enrolled.
Known values: custom_view, manual_enrollment
Maximum length: 255

Referenced models: Get Cadence analytics — response body — cadences item created by, Get Cadence analytics — response body — cadences item module, Get a Cadence — response body — cadences cadences item custom view, Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties execute every, Get a Cadence — response body — cadences cadences item summary, Get a Cadence — response body — cadences cadences item modified by, Get a Cadence — response body — cadences cadences item execution details execute every, unenroll properties unenroll properties null item

Get Cadence analytics — response body — cadences item created by
FieldTypePresenceDescription and constraints
$objectRootRepresents the identifier and name of the user who created the record.
Additional keys: not allowed
idstringOptionalRepresents the unique identifier of the user who created the record.
Maximum length: 255
namestringOptionalRepresents the full name of the user who created the record.
Maximum length: 255

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