> ## 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: Fields Post Fields

> Create up to five custom fields in a Zoho CRM module. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Create up to five custom fields in a Zoho CRM module.

> [!NOTE]
>
> Tool ID: `zoho_crm_fields_post_fields`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

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

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_fields_post_fields --input '{
  "module": "example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "fields": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "Example message",
        "status": "success"
      }
    ]
  }
}
```

Use `deepline describe zoho_crm_fields_post_fields --json` for the latest machine-readable contract.

## Input reference

Request body for creating custom fields. Maximum of 5 fields can be created in a single call.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.module` | `string` | Yes | — | The API name of the module to which the field belongs. Maximum length: 30. |
| `payload.fields` | `array` | No | — | List of fields to be created Minimum items: 1. Maximum items: 5. |

> [!NOTE]
>
> This input schema is too large for an inline display. Read the complete live contract with `deepline describe zoho_crm_fields_post_fields --json`.

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response from create custom fields API |
| `result.data.fields` | `array` | Yes | — | Array of field creation results Maximum items: 5. |
| `result.data.fields[].code` | `"SUCCESS"` | Yes | — | Result code Allowed: `SUCCESS`. |
| `result.data.fields[].details` | `object` | Yes | — | Details of the created field |
| `result.data.fields[].details.id` | `string` | Yes | — | ID of the created field Maximum length: 25. |
| `result.data.fields[].message` | `string` | Yes | — | Result message Maximum length: 225. |
| `result.data.fields[].status` | `"success"` | Yes | — | Status of the operation Allowed: `success`. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response from create custom fields API",
        "properties": {
          "fields": {
            "type": "array",
            "description": "Array of field creation results",
            "maxItems": 5,
            "items": {
              "type": "object",
              "description": "Result of a single field creation",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Result code",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Details of the created field",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "ID of the created field",
                      "maxLength": 25
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Result message",
                  "maxLength": 225
                },
                "status": {
                  "type": "string",
                  "description": "Status of the operation",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "message",
                "status",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "fields"
        ],
        "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](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.