> ## 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 clone a record in a module. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

To clone a record in a module.

<Info>
  Tool ID: `zoho_crm_record_clone_record`
</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_record_clone_record',
  {
    "module": "example",
    "recordID": "record_123",
    "data": [
      {
        "id": "id_123",
        "$append_values": "example"
      }
    ]
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_record_clone_record --input '{
  "module": "example",
  "recordID": "record_123",
  "data": [
    {
      "id": "id_123",
      "$append_values": "example"
    }
  ]
}' --json
```

## Example response

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

## Input reference

Input schema for create, update, or upsert record requests.

| Name                              | Type     | Required | Default | Details                                                                                          |
| --------------------------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------------------------ |
| `payload.module`                  | `string` | Yes      | —       | Specifies the module name Maximum length: 100.                                                   |
| `payload.recordID`                | `string` | Yes      | —       | This ID is used to uniquely identify a record Format: `int64`.                                   |
| `payload.data`                    | `array`  | Yes      | —       | Request body containing one or more records to be created or updated. Maximum items: 100.        |
| `payload.apply_feature_execution` | `array`  | No       | —       | List of features that should be executed on demand during record processing. Maximum items: 100. |
| `payload.skip_feature_execution`  | `array`  | No       | —       | List of features that should be skipped during record processing. Maximum items: 100.            |
| `payload.trigger`                 | `array`  | No       | —       | List of automation triggers to invoke during the record operation. Maximum items: 100.           |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Input schema for create, update, or upsert record requests.",
    "properties": {
      "module": {
        "type": "string",
        "description": "Specifies the module name",
        "maxLength": 100
      },
      "recordID": {
        "type": "string",
        "description": "This ID is used to uniquely identify a record",
        "format": "int64"
      },
      "data": {
        "type": "array",
        "description": "Request body containing one or more records to be created or updated.",
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "Payload representing a single record to be created or updated.",
          "properties": {
            "id": {
              "type": "string",
              "description": "Unique identifier of the record. Required when modifying an existing record.",
              "maxLength": 1024
            },
            "$append_values": {
              "type": "string",
              "description": "Controls whether values in a multi-select picklist field should be appended or replaced during an update operation.",
              "maxLength": 1024
            }
          },
          "additionalProperties": true
        }
      },
      "apply_feature_execution": {
        "type": "array",
        "description": "List of features that should be executed on demand during record processing.",
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "Feature execution configuration object.",
          "additionalProperties": true
        }
      },
      "skip_feature_execution": {
        "type": "array",
        "description": "List of features that should be skipped during record processing.",
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "Feature skip configuration object.",
          "additionalProperties": true
        }
      },
      "trigger": {
        "type": "array",
        "description": "List of automation triggers to invoke during the record operation.",
        "maxItems": 100,
        "items": {
          "type": "string",
          "description": "Type of automation trigger to be executed.",
          "enum": [
            "approval",
            "workflow",
            "blueprint",
            "pathfinder",
            "orchestration"
          ]
        }
      }
    },
    "required": [
      "module",
      "recordID",
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                          | Type        | Required | Default | Details                                                                                |
| --------------------------------------------- | ----------- | -------- | ------- | -------------------------------------------------------------------------------------- |
| `result.data`                                 | `object`    | Yes      | —       | Standard success response schema for single or bulk record operations.                 |
| `result.data.data`                            | `array`     | Yes      | —       | List of successfully processed records with detailed metadata. Maximum items: 100.     |
| `result.data.data[].code`                     | `"SUCCESS"` | Yes      | —       | Machine-readable code indicating a successful operation. Allowed: `SUCCESS`.           |
| `result.data.data[].message`                  | `string`    | Yes      | —       | Human-readable success message describing the operation outcome. Maximum length: 1024. |
| `result.data.data[].status`                   | `"success"` | Yes      | —       | Overall execution status of the operation. Allowed: `success`.                         |
| `result.data.data[].details`                  | `object`    | Yes      | —       | Detailed metadata about the processed record.                                          |
| `result.data.data[].details.id`               | `string`    | Yes      | —       | Unique identifier of the record. Format: `int64`.                                      |
| `result.data.data[].details.Modified_Time`    | `string`    | Yes      | —       | Timestamp indicating when the record was last modified. Format: `date-time`.           |
| `result.data.data[].details.Created_Time`     | `string`    | Yes      | —       | Timestamp indicating when the record was created. Format: `date-time`.                 |
| `result.data.data[].details.Created_By`       | `object`    | Yes      | —       | User who originally created the record.                                                |
| `result.data.data[].details.Created_By.name`  | `string`    | Yes      | —       | Display name of the creating user. Maximum length: 100.                                |
| `result.data.data[].details.Created_By.id`    | `string`    | Yes      | —       | Unique identifier of the creating user. Format: `int64`.                               |
| `result.data.data[].details.Modified_By`      | `object`    | Yes      | —       | User who last modified the record.                                                     |
| `result.data.data[].details.Modified_By.name` | `string`    | Yes      | —       | Display name of the modifying user. Maximum length: 100.                               |
| `result.data.data[].details.Modified_By.id`   | `string`    | Yes      | —       | Unique identifier of the modifying user. Format: `int64`.                              |
| `result.data.data[].details.$approval_state`  | `string`    | Yes      | —       | Approval state of the record in the approval workflow. Maximum length: 1024.           |
| `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": "Standard success response schema for single or bulk record operations.",
        "properties": {
          "data": {
            "type": "array",
            "description": "List of successfully processed records with detailed metadata.",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Success object representing a single successfully processed record.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Machine-readable code indicating a successful operation.",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable success message describing the operation outcome.",
                  "maxLength": 1024
                },
                "status": {
                  "type": "string",
                  "description": "Overall execution status of the operation.",
                  "enum": [
                    "success"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Detailed metadata about the processed record.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier of the record.",
                      "format": "int64"
                    },
                    "Modified_Time": {
                      "type": "string",
                      "description": "Timestamp indicating when the record was last modified.",
                      "format": "date-time"
                    },
                    "Created_Time": {
                      "type": "string",
                      "description": "Timestamp indicating when the record was created.",
                      "format": "date-time"
                    },
                    "Created_By": {
                      "type": "object",
                      "description": "User who originally created the record.",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Display name of the creating user.",
                          "maxLength": 100
                        },
                        "id": {
                          "type": "string",
                          "description": "Unique identifier of the creating user.",
                          "format": "int64"
                        }
                      },
                      "required": [
                        "name",
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "Modified_By": {
                      "type": "object",
                      "description": "User who last modified the record.",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Display name of the modifying user.",
                          "maxLength": 100
                        },
                        "id": {
                          "type": "string",
                          "description": "Unique identifier of the modifying user.",
                          "format": "int64"
                        }
                      },
                      "required": [
                        "name",
                        "id"
                      ],
                      "additionalProperties": false
                    },
                    "$approval_state": {
                      "type": "string",
                      "description": "Approval state of the record in the approval workflow.",
                      "maxLength": 1024
                    }
                  },
                  "required": [
                    "id",
                    "Modified_Time",
                    "Created_Time",
                    "Created_By",
                    "Modified_By",
                    "$approval_state"
                  ],
                  "additionalProperties": true
                }
              },
              "required": [
                "code",
                "message",
                "status",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "data"
        ],
        "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)
