> ## 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 Rules count. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Get Workflow Rules count.

<Info>
  Tool ID: `zoho_crm_workflow_rules_get_rules_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_rules_count',
  {},
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_workflow_rules_get_rules_count --input '{}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "rules_count": {
      "scheduled_actions_per_rule_limit": 123,
      "total_rules_limit": 123,
      "active_rules_configured": 123,
      "rules_per_process_limit": 123,
      "total_rules_limit_per_module": 123,
      "active_rules_limit": 123,
      "total_rules_configured": 123,
      "active_rules_limit_per_module": 123
    }
  }
}
```

Use `deepline tools get zoho_crm_workflow_rules_get_rules_count --json` for the latest machine-readable contract.

## Input reference

To fetch the limit and usage details of workflow rules and actions in your Zoho CRM account. Use this API to track how many rules and actions are configured and how many more you can create.

This action does not require input fields.

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "To fetch the limit and usage details of workflow rules and actions in your Zoho CRM account. Use this API to track how many rules and actions are configured and how many more you can create.",
    "properties": {},
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                       | Type      | Required | Default | Details                                                                               |
| ---------------------------------------------------------- | --------- | -------- | ------- | ------------------------------------------------------------------------------------- |
| `result.data`                                              | `object`  | Yes      | —       | Successful response containing the workflow rules quota summary for the organization. |
| `result.data.rules_count`                                  | `object`  | Yes      | —       | Rules with actions and conditions limit                                               |
| `result.data.rules_count.scheduled_actions_per_rule_limit` | `integer` | Yes      | —       | Field: scheduled\_actions\_per\_rule\_limit Format: `int32`.                          |
| `result.data.rules_count.total_rules_limit`                | `integer` | Yes      | —       | Field: total\_rules\_limit Format: `int32`.                                           |
| `result.data.rules_count.active_rules_configured`          | `integer` | Yes      | —       | Field: active\_rules\_configured Format: `int32`.                                     |
| `result.data.rules_count.rules_per_process_limit`          | `integer` | Yes      | —       | Field: rules\_per\_process\_limit Format: `int32`.                                    |
| `result.data.rules_count.total_actions_per_rule_limit`     | `integer` | No       | —       | Field: total\_actions\_per\_rule\_limit Format: `int32`.                              |
| `result.data.rules_count.total_rules_limit_per_module`     | `integer` | Yes      | —       | Field: total\_rules\_limit\_per\_module Format: `int32`.                              |
| `result.data.rules_count.active_rules_limit`               | `integer` | Yes      | —       | Field: active\_rules\_limit Format: `int32`.                                          |
| `result.data.rules_count.total_rules_configured`           | `integer` | Yes      | —       | Field: total\_rules\_configured Format: `int32`.                                      |
| `result.data.rules_count.active_rules_limit_per_module`    | `integer` | Yes      | —       | Field: active\_rules\_limit\_per\_module Format: `int32`.                             |
| `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 the workflow rules quota summary for the organization.",
        "properties": {
          "rules_count": {
            "type": "object",
            "description": "Rules with actions and conditions limit",
            "properties": {
              "scheduled_actions_per_rule_limit": {
                "type": "integer",
                "description": "Field: scheduled_actions_per_rule_limit",
                "format": "int32"
              },
              "total_rules_limit": {
                "type": "integer",
                "description": "Field: total_rules_limit",
                "format": "int32"
              },
              "active_rules_configured": {
                "type": "integer",
                "description": "Field: active_rules_configured",
                "format": "int32"
              },
              "rules_per_process_limit": {
                "type": "integer",
                "description": "Field: rules_per_process_limit",
                "format": "int32"
              },
              "total_actions_per_rule_limit": {
                "type": "integer",
                "description": "Field: total_actions_per_rule_limit",
                "format": "int32"
              },
              "total_rules_limit_per_module": {
                "type": "integer",
                "description": "Field: total_rules_limit_per_module",
                "format": "int32"
              },
              "active_rules_limit": {
                "type": "integer",
                "description": "Field: active_rules_limit",
                "format": "int32"
              },
              "total_rules_configured": {
                "type": "integer",
                "description": "Field: total_rules_configured",
                "format": "int32"
              },
              "active_rules_limit_per_module": {
                "type": "integer",
                "description": "Field: active_rules_limit_per_module",
                "format": "int32"
              }
            },
            "required": [
              "active_rules_configured",
              "active_rules_limit",
              "active_rules_limit_per_module",
              "rules_per_process_limit",
              "scheduled_actions_per_rule_limit",
              "total_rules_configured",
              "total_rules_limit",
              "total_rules_limit_per_module"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "rules_count"
        ],
        "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)
