> ## 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

> To get the fields associated with a global picklist. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

To get the fields associated with a global picklist.

<Info>
  Tool ID: `zoho_crm_global_picklists_get_global_pick_list_field_associations`
</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_global_picklists_get_global_pick_list_field_associations',
  {
    "id": "id_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_global_picklists_get_global_pick_list_field_associations --input '{
  "id": "id_123"
}' --json
```

## Example response

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

## Input reference

Retrieves associations of picklist values with modules, fields, and layouts for a given global picklist ID.

| Name                            | Type      | Required | Default | Details                                                                                                                                                                                                         |
| ------------------------------- | --------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.id`                    | `string`  | Yes      | —       | Numeric id of the resource. Format: `int64`.                                                                                                                                                                    |
| `payload.page`                  | `integer` | No       | —       | Page number (positive integer). Default: 1. Format: `int32`. Minimum: 1.                                                                                                                                        |
| `payload.per_page`              | `integer` | No       | —       | Number of records per page. Default and maximum: 200. Format: `int64`. Minimum: 1. Maximum: 200.                                                                                                                |
| `payload.include_inner_details` | `array`   | No       | —       | Comma-separated list of nested details to include (e.g., `module.plural_label,module.module_name,layouts.status`). Allowed values: module.plural\_label, module.module\_name, layouts.status. Maximum items: 3. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieves associations of picklist values with modules, fields, and layouts for a given global picklist ID.",
    "properties": {
      "id": {
        "type": "string",
        "description": "Numeric id of the resource.",
        "format": "int64"
      },
      "page": {
        "type": "integer",
        "description": "Page number (positive integer). Default: 1.",
        "minimum": 1,
        "format": "int32"
      },
      "per_page": {
        "type": "integer",
        "description": "Number of records per page. Default and maximum: 200.",
        "minimum": 1,
        "maximum": 200,
        "format": "int64"
      },
      "include_inner_details": {
        "type": "array",
        "description": "Comma-separated list of nested details to include (e.g., `module.plural_label,module.module_name,layouts.status`). Allowed values: module.plural_label, module.module_name, layouts.status.",
        "maxItems": 3,
        "items": {
          "type": "string",
          "description": "Allowed values for including nested details in the response.",
          "enum": [
            "module.plural_label",
            "module.module_name",
            "layouts.status"
          ]
        }
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                             | Type      | Required | Default | Details                                                                                                                                                                 |
| ------------------------------------------------ | --------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `result.data`                                    | `object`  | Yes      | —       | Response object containing associations of global picklist fields and modules.                                                                                          |
| `result.data.associations`                       | `array`   | Yes      | —       | List of associations between global picklist and fields/modules/layouts. Maximum items: 1000.                                                                           |
| `result.data.associations[].field`               | `object`  | Yes      | —       | Field details associated with the global picklist.                                                                                                                      |
| `result.data.associations[].field.api_name`      | `string`  | Yes      | —       | API name of the resource. It will start with alphabets and can contain alphanumeric characters and underscores. Maximum length: 50. Pattern: `^[A-Za-z][A-Za-z0-9_]*$`. |
| `result.data.associations[].field.id`            | `string`  | Yes      | —       | Id of the resource. Format: `int64`.                                                                                                                                    |
| `result.data.associations[].field.field_label`   | `string`  | No       | —       | Name of the field label. Maximum length: 100.                                                                                                                           |
| `result.data.associations[].module`              | `object`  | Yes      | —       | Module details associated with the field.                                                                                                                               |
| `result.data.associations[].module.plural_label` | `string`  | No       | —       | Plural label of the module. Maximum length: 25.                                                                                                                         |
| `result.data.associations[].module.api_name`     | `string`  | Yes      | —       | API name of the resource. It will start with alphabets and can contain alphanumeric characters and underscores. Maximum length: 50. Pattern: `^[A-Za-z][A-Za-z0-9_]*$`. |
| `result.data.associations[].module.module_name`  | `string`  | No       | —       | Name of the module Maximum length: 100.                                                                                                                                 |
| `result.data.associations[].module.id`           | `string`  | Yes      | —       | Id of the resource. Format: `int64`.                                                                                                                                    |
| `result.data.associations[].layouts`             | `array`   | Yes      | —       | List of layouts associated with the field. Maximum items: 100.                                                                                                          |
| `result.data.associations[].layouts[].name`      | `string`  | Yes      | —       | Name of the layout Maximum length: 50.                                                                                                                                  |
| `result.data.associations[].layouts[].id`        | `string`  | Yes      | —       | Id of the resource. Format: `int64`.                                                                                                                                    |
| `result.data.associations[].layouts[].status`    | `string`  | No       | —       | Layout status. Maximum length: 20.                                                                                                                                      |
| `result.data.info`                               | `object`  | Yes      | —       | Pagination and record info for associations response.                                                                                                                   |
| `result.data.info.per_page`                      | `integer` | Yes      | —       | Number of records per page. Format: `int32`.                                                                                                                            |
| `result.data.info.count`                         | `integer` | Yes      | —       | Number of records returned. Format: `int32`.                                                                                                                            |
| `result.data.info.page`                          | `integer` | Yes      | —       | Current page number. Format: `int32`.                                                                                                                                   |
| `result.data.info.more_records`                  | `boolean` | Yes      | —       | Whether more records are available.                                                                                                                                     |
| `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": "Response object containing associations of global picklist fields and modules.",
        "properties": {
          "associations": {
            "type": "array",
            "description": "List of associations between global picklist and fields/modules/layouts.",
            "maxItems": 1000,
            "items": {
              "type": "object",
              "description": "Association object for a global picklist field.",
              "properties": {
                "field": {
                  "type": "object",
                  "description": "Field details associated with the global picklist.",
                  "properties": {
                    "api_name": {
                      "type": "string",
                      "description": "API name of the resource. It will start with alphabets and can contain alphanumeric characters and underscores.",
                      "maxLength": 50,
                      "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
                    },
                    "id": {
                      "type": "string",
                      "description": "Id of the resource.",
                      "format": "int64"
                    },
                    "field_label": {
                      "type": "string",
                      "description": "Name of the field label.",
                      "maxLength": 100
                    }
                  },
                  "required": [
                    "api_name",
                    "id"
                  ],
                  "additionalProperties": false
                },
                "module": {
                  "type": "object",
                  "description": "Module details associated with the field.",
                  "properties": {
                    "plural_label": {
                      "type": "string",
                      "description": "Plural label of the module.",
                      "maxLength": 25
                    },
                    "api_name": {
                      "type": "string",
                      "description": "API name of the resource. It will start with alphabets and can contain alphanumeric characters and underscores.",
                      "maxLength": 50,
                      "pattern": "^[A-Za-z][A-Za-z0-9_]*$"
                    },
                    "module_name": {
                      "type": "string",
                      "description": "Name of the module",
                      "maxLength": 100
                    },
                    "id": {
                      "type": "string",
                      "description": "Id of the resource.",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "api_name",
                    "id"
                  ],
                  "additionalProperties": false
                },
                "layouts": {
                  "type": "array",
                  "description": "List of layouts associated with the field.",
                  "maxItems": 100,
                  "items": {
                    "type": "object",
                    "description": "Layout details.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Name of the layout",
                        "maxLength": 50
                      },
                      "id": {
                        "type": "string",
                        "description": "Id of the resource.",
                        "format": "int64"
                      },
                      "status": {
                        "type": "string",
                        "description": "Layout status.",
                        "maxLength": 20
                      }
                    },
                    "required": [
                      "name",
                      "id"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "field",
                "module",
                "layouts"
              ],
              "additionalProperties": false
            }
          },
          "info": {
            "type": "object",
            "description": "Pagination and record info for associations response.",
            "properties": {
              "per_page": {
                "type": "integer",
                "description": "Number of records per page.",
                "format": "int32"
              },
              "count": {
                "type": "integer",
                "description": "Number of records returned.",
                "format": "int32"
              },
              "page": {
                "type": "integer",
                "description": "Current page number.",
                "format": "int32"
              },
              "more_records": {
                "type": "boolean",
                "description": "Whether more records are available."
              }
            },
            "required": [
              "per_page",
              "count",
              "page",
              "more_records"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "associations",
          "info"
        ],
        "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)
