> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zoho CRM: README

> Get Workflow Rule actions count. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get Workflow Rule actions count.

<Info>
  Tool ID: `zoho_crm_workflow_rules_get_actions_count`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_workflow_rules_get_actions_count',
  {
    "ids": "example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute zoho_crm_workflow_rules_get_actions_count --input '{
  "ids": "example"
}' --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get zoho_crm_workflow_rules_get_actions_count --json` for the complete live contract.

## Input reference

To retrieve the total number of actions configured in the specified Workflow rules, including both instant and scheduled actions. The response includes a count of actions, categorized by action type.

| Name          | Type     | Required | Default | Details                                                                                                          |
| ------------- | -------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------- |
| `payload.ids` | `string` | Yes      | —       | Unique IDs of Workflow rule(s). Pass up to ten Workflow rule IDs, in a comma separated format. Format: `string`. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "To retrieve the total number of actions configured in the specified Workflow rules, including both instant and scheduled actions. The response includes a count of actions, categorized by action type.",
    "properties": {
      "ids": {
        "type": "string",
        "description": "Unique IDs of Workflow rule(s). Pass up to ten Workflow rule IDs, in a comma separated format.",
        "format": "string"
      }
    },
    "required": [
      "ids"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                                                  | Type                                                                                                                                                                                                    | Required | Default | Details                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `result.data`                                                                         | `object`                                                                                                                                                                                                | Yes      | —       | Successful response containing a list of workflow rules with their condition-level instant and scheduled action counts.                                                                                      |
| `result.data.workflow_rules`                                                          | `array`                                                                                                                                                                                                 | Yes      | —       | Field: workflow\_rules Maximum items: 10.                                                                                                                                                                    |
| `result.data.workflow_rules[].id`                                                     | `string`                                                                                                                                                                                                | Yes      | —       | Field: id Maximum length: 20.                                                                                                                                                                                |
| `result.data.workflow_rules[].conditions`                                             | `array`                                                                                                                                                                                                 | Yes      | —       | Field: conditions Maximum items: 10.                                                                                                                                                                         |
| `result.data.workflow_rules[].conditions[].sequence_number`                           | `integer`                                                                                                                                                                                               | Yes      | —       | Field: sequence\_number Format: `int32`.                                                                                                                                                                     |
| `result.data.workflow_rules[].conditions[].instant_actions`                           | `record`                                                                                                                                                                                                | Yes      | —       | —                                                                                                                                                                                                            |
| `result.data.workflow_rules[].conditions[].scheduled_actions`                         | `array \| null`                                                                                                                                                                                         | Yes      | —       | Field: scheduled\_actions Maximum items: 5.                                                                                                                                                                  |
| `result.data.workflow_rules[].conditions[].scheduled_actions[].actions_count`         | `array`                                                                                                                                                                                                 | Yes      | —       | Field: actions\_count Maximum items: 10.                                                                                                                                                                     |
| `result.data.workflow_rules[].conditions[].scheduled_actions[].actions_count[].type`  | `"create_record" \| "add_meeting" \| "schedule_call" \| "assign_owner" \| "add_tags" \| "remove_tags" \| "convert" \| "email_notifications" \| "field_updates" \| "tasks" \| "webhooks" \| "functions"` | Yes      | —       | Type of the action Allowed: `create_record`, `add_meeting`, `schedule_call`, `assign_owner`, `add_tags`, `remove_tags`, `convert`, `email_notifications`, `field_updates`, `tasks`, `webhooks`, `functions`. |
| `result.data.workflow_rules[].conditions[].scheduled_actions[].actions_count[].value` | `integer`                                                                                                                                                                                               | Yes      | —       | Total count of the specified actions Format: `int32`.                                                                                                                                                        |
| `result.data.workflow_rules[].conditions[].id`                                        | `string`                                                                                                                                                                                                | Yes      | —       | Field: id Maximum length: 20.                                                                                                                                                                                |
| `result.meta`                                                                         | `object`                                                                                                                                                                                                | No       | —       | Additional response metadata (status, paging).                                                                                                                                                               |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Successful response containing a list of workflow rules with their condition-level instant and scheduled action counts.",
        "properties": {
          "workflow_rules": {
            "type": "array",
            "description": "Field: workflow_rules",
            "maxItems": 10,
            "items": {
              "type": "object",
              "description": "Encapsulates a workflow rule and its associated list of conditions with action counts. Includes the workflow rule ID and conditions array.",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Field: id",
                  "maxLength": 20
                },
                "conditions": {
                  "type": "array",
                  "description": "Field: conditions",
                  "maxItems": 10,
                  "items": {
                    "type": "object",
                    "description": "Aggregates action counts for a workflow rule condition, including its sequence number, instant action counts, scheduled action counts, and condition ID.",
                    "properties": {
                      "sequence_number": {
                        "type": "integer",
                        "description": "Field: sequence_number",
                        "format": "int32"
                      },
                      "instant_actions": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "scheduled_actions": {
                        "type": [
                          "array",
                          "null"
                        ],
                        "description": "Field: scheduled_actions",
                        "maxItems": 5,
                        "items": {
                          "type": "object",
                          "description": "Collection of count entries for instant (immediate) actions in a workflow rule condition. Contains an array of action-type and count pairs.",
                          "properties": {
                            "actions_count": {
                              "type": "array",
                              "description": "Field: actions_count",
                              "maxItems": 10,
                              "items": {
                                "type": "object",
                                "description": "Holds action name with their counts",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "description": "Type of the action",
                                    "enum": [
                                      "create_record",
                                      "add_meeting",
                                      "schedule_call",
                                      "assign_owner",
                                      "add_tags",
                                      "remove_tags",
                                      "convert",
                                      "email_notifications",
                                      "field_updates",
                                      "tasks",
                                      "webhooks",
                                      "functions"
                                    ]
                                  },
                                  "value": {
                                    "type": "integer",
                                    "description": "Total count of the specified actions",
                                    "format": "int32"
                                  }
                                },
                                "required": [
                                  "type",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            }
                          },
                          "required": [
                            "actions_count"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "id": {
                        "type": "string",
                        "description": "Field: id",
                        "maxLength": 20
                      }
                    },
                    "required": [
                      "id",
                      "instant_actions",
                      "scheduled_actions",
                      "sequence_number"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "conditions",
                "id"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "workflow_rules"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
