Skip to content

Zoho: Get Workflow Rule Action Counts

Zoho workflowRules.getWorkflowRulesActionsCount: arguments, response, policy and SDK examples.

← Workflow rules operations · Get started

Operation zoho.getworkflowrulesactionscount

Provider route: GET /crm/v8/settings/automation/workflow_rules/actions/actions_count. 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["workflowRules"]["getWorkflowRulesActionsCount"]>[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.workflowRules.getWorkflowRulesActionsCount(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.workflow_rules.get_workflow_rules_actions_count(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.idsstringRequired within parentFormat: string

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 Workflow Rule Action Counts — response body — workflow rules
$ (anyOf 2)nullAlternative

Referenced models: Get Workflow Rule Action Counts — response body — workflow rules

Get Workflow Rule Action Counts — response body — workflow rules
FieldTypePresenceDescription and constraints
$objectRootRepresents the response body containing the action count breakdown for one or more workflow rules, grouped by condition.
Additional keys: not allowed
workflow_rulesarrayRequired within parentRepresents the array of workflow rule objects with their action count details.
Maximum items: 10
workflow_rules[]ModelEach itemExpand Get Workflow Rule Action Counts — response body — workflow rules workflow rules item

Referenced models: Get Workflow Rule Action Counts — response body — workflow rules workflow rules item

Get Workflow Rule Action Counts — response body — workflow rules workflow rules item
FieldTypePresenceDescription and constraints
$objectRootRepresents the action count breakdown for a single workflow rule, encapsulating the rule ID and its associated condition-level action count groups.
Additional keys: not allowed
conditionsarrayRequired within parentRepresents array of condition objects containing criteria and actions for this rule.
Maximum items: 10
conditions[]ModelEach itemExpand Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item
idstringRequired within parentRepresents the unique ID of the WorkflowRuleActionCountGroup within the workflow rule.
Maximum length: 20

Referenced models: Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item

Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item
FieldTypePresenceDescription and constraints
$objectRootRepresents the action count summary for a single workflow rule condition, including the condition ID, sequence number, and counts for instant and scheduled actions.
Additional keys: not allowed
idstringRequired within parentRepresents the unique ID of the WorkflowConditionActionCountSummary within the workflow rule.
Maximum length: 20
instant_actionsJSONRequired within parent
instant_actions (anyOf 1)ModelAlternativeExpand Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item instant actions actions count
instant_actions (anyOf 2)nullAlternativeRepresents a null value indicating no instant actions are configured for this condition.
scheduled_actionsJSONRequired within parent
scheduled_actions (anyOf 1)arrayAlternativeRepresents the array of scheduled action groups configured for this condition.
Maximum items: 5
scheduled_actions (anyOf 1)[]ModelEach itemExpand Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item instant actions actions count
scheduled_actions (anyOf 2)nullAlternativeRepresents the array of scheduled action groups configured for this condition.
Maximum items: 5
scheduled_actions (anyOf 2)[]ModelEach itemExpand Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item instant actions actions count
sequence_numberJSONRequired within parent
sequence_number (anyOf 1)integerAlternativeRepresents the execution order of this condition within the workflow rule, starting from one.
Format: int32
sequence_number (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item instant actions actions count

Get Workflow Rule Action Counts — response body — workflow rules workflow rules item conditions item instant actions actions count
FieldTypePresenceDescription and constraints
$objectRootRepresents a summary of execution count entries for instant actions in a workflow rule condition, categorized by action type.
Additional keys: not allowed
actions_countarrayRequired within parentRepresents the list of action count entries, each categorized by action type, for the workflow rule.
Maximum items: 10
actions_count[]objectEach itemRepresents a single action type entry containing the action name and its associated execution counts.
Additional keys: not allowed
actions_count[].typestringRequired within parentRepresents the category of workflow action to which the execution count applies, such as email notifications, field updates, or webhooks.
Known values: create_record, add_meeting, schedule_call, assign_owner, add_tags, remove_tags, convert, email_notifications, field_updates, tasks, webhooks, functions, sms, whatsapp, flow, circuits, slack_notifications, cliq_notifications, cisco_notifications, google_chat_notifications, microsoft_teams_notifications, create_record_email, create_connected_record, comment_to_post, reply_to_comment, like_to_comment, reply_to_message, retweet, reply_to_tweet
actions_count[].valueJSONRequired within parent
actions_count[].value (anyOf 1)integerAlternativeRepresents the total execution count for the specified action type within the queried date range.
Format: int32
actions_count[].value (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

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