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

> Transfer and Delete Pipelines. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Transfer and Delete Pipelines.

<Info>
  Tool ID: `zoho_crm_pipeline_transfer_and_delete_pipelines`
</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_pipeline_transfer_and_delete_pipelines',
  {
    "layout_id": "layout_123",
    "transfer_pipeline": [
      {
        "pipeline": {
          "from": "example",
          "to": "example"
        },
        "stages": [
          {
            "from": "example",
            "to": "example"
          }
        ]
      }
    ]
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_pipeline_transfer_and_delete_pipelines --input '{
  "layout_id": "layout_123",
  "transfer_pipeline": [
    {
      "pipeline": {
        "from": "example",
        "to": "example"
      },
      "stages": [
        {
          "from": "example",
          "to": "example"
        }
      ]
    }
  ]
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "transfer_pipeline": [
      {
        "code": "SUCCESS",
        "details": {
          "job_id": "job_123"
        },
        "message": "Example message",
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Response confirming pipeline transfer operation with source-to-target mappings for pipeline and stages.

| Name                        | Type     | Required | Default | Details                                                                                                           |
| --------------------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------- |
| `payload.layout_id`         | `string` | Yes      | —       | Layout Id Format: `int64`.                                                                                        |
| `payload.transfer_pipeline` | `array`  | Yes      | —       | Array of pipeline transfer mappings showing source and target configurations. Minimum items: 1. Maximum items: 1. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Response confirming pipeline transfer operation with source-to-target mappings for pipeline and stages.",
    "properties": {
      "layout_id": {
        "type": "string",
        "description": "Layout Id",
        "format": "int64"
      },
      "transfer_pipeline": {
        "type": "array",
        "description": "Array of pipeline transfer mappings showing source and target configurations.",
        "minItems": 1,
        "maxItems": 1,
        "items": {
          "type": "object",
          "description": "Individual pipeline transfer mapping.",
          "properties": {
            "pipeline": {
              "type": "object",
              "description": "Pipeline-level transfer mapping from source to target pipeline.",
              "properties": {
                "from": {
                  "type": "string",
                  "description": "Source pipeline ID.",
                  "format": "int64"
                },
                "to": {
                  "type": "string",
                  "description": "Target pipeline ID.",
                  "format": "int64"
                }
              },
              "required": [
                "from",
                "to"
              ],
              "additionalProperties": false
            },
            "stages": {
              "type": "array",
              "description": "Array of stage mappings showing which stages transferred to which target stages.",
              "minItems": 1,
              "maxItems": 200,
              "items": {
                "type": "object",
                "description": "Individual stage transfer mapping.",
                "properties": {
                  "from": {
                    "type": "string",
                    "description": "Source stage ID.",
                    "format": "int64"
                  },
                  "to": {
                    "type": "string",
                    "description": "Target stage ID.",
                    "format": "int64"
                  }
                },
                "required": [
                  "from",
                  "to"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "pipeline",
            "stages"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "layout_id",
      "transfer_pipeline"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                             | Type        | Required | Default | Details                                                                                                                        |
| ------------------------------------------------ | ----------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `result.data`                                    | `object`    | Yes      | —       | Success response for pipeline transfer scheduling operation with job tracking information.                                     |
| `result.data.transfer_pipeline`                  | `array`     | Yes      | —       | Array of pipeline transfer scheduling results maintaining 1:1 correspondence with request. Minimum items: 1. Maximum items: 1. |
| `result.data.transfer_pipeline[].code`           | `"SUCCESS"` | Yes      | —       | Machine-readable success code. Allowed: `SUCCESS`.                                                                             |
| `result.data.transfer_pipeline[].details`        | `object`    | Yes      | —       | Success details including the scheduled job identifier.                                                                        |
| `result.data.transfer_pipeline[].details.job_id` | `string`    | Yes      | —       | Unique identifier of the scheduled pipeline transfer job for tracking. Format: `int64`.                                        |
| `result.data.transfer_pipeline[].message`        | `string`    | Yes      | —       | Human-readable confirmation of the pipeline transfer scheduling. Format: `string`.                                             |
| `result.data.transfer_pipeline[].status`         | `"success"` | Yes      | —       | Overall status indicator. Allowed: `success`.                                                                                  |
| `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": "Success response for pipeline transfer scheduling operation with job tracking information.",
        "properties": {
          "transfer_pipeline": {
            "type": "array",
            "description": "Array of pipeline transfer scheduling results maintaining 1:1 correspondence with request.",
            "minItems": 1,
            "maxItems": 1,
            "items": {
              "type": "object",
              "description": "Individual pipeline transfer scheduling result.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Machine-readable success code.",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Success details including the scheduled job identifier.",
                  "properties": {
                    "job_id": {
                      "type": "string",
                      "description": "Unique identifier of the scheduled pipeline transfer job for tracking.",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "job_id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable confirmation of the pipeline transfer scheduling.",
                  "format": "string"
                },
                "status": {
                  "type": "string",
                  "description": "Overall status indicator.",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "transfer_pipeline"
        ],
        "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)
