> ## 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: Conversion Option Get Lead Conversion Options

> See how a Zoho CRM lead can be converted, including matching contacts and accounts and field mappings. Includes SDK V2 examples, schemas, and cost.

See how a Zoho CRM lead can be converted, including matching contacts and accounts and field mappings.

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

## 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_conversion_option_get_lead_conversion_options',
  {
    "leadId": "lead_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_conversion_option_get_lead_conversion_options --input '{
  "leadId": "lead_123"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe zoho_crm_conversion_option_get_lead_conversion_options --json` for the complete live contract.

## Input reference

Retrieves available conversion options for a lead including matching contacts, accounts, field mappings, and layout preferences. This endpoint helps determine what conversion paths are available before performing the actual lead conversion.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.leadId` | `string` | Yes | — | Unique identifier of the Lead record to retrieve conversion options for Format: `int64`. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Retrieves available conversion options for a lead including matching contacts, accounts, field mappings, and layout preferences. This endpoint helps determine what conversion paths are available before performing the actual lead conversion.",
    "properties": {
      "leadId": {
        "type": "string",
        "description": "Unique identifier of the Lead record to retrieve conversion options for",
        "format": "int64"
      }
    },
    "required": [
      "leadId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Conversion options response containing available contacts, accounts, and field mappings for lead conversion |
| `result.data.__conversion_options` | `object` | No | — | Container for all conversion option data |
| `result.data.__conversion_options.module_preference` | `record` | Yes | — | — |
| `result.data.__conversion_options.Contacts` | `record` | Yes | — | — |
| `result.data.__conversion_options.Accounts` | `record` | Yes | — | — |
| `result.data.__conversion_options.preference_field_matched_value` | `record` | Yes | — | — |
| `result.data.__conversion_options.modules_with_multiple_layouts` | `record` | Yes | — | — |
| `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": "Conversion options response containing available contacts, accounts, and field mappings for lead conversion",
        "properties": {
          "__conversion_options": {
            "type": "object",
            "description": "Container for all conversion option data",
            "properties": {
              "module_preference": {
                "type": "object",
                "additionalProperties": true
              },
              "Contacts": {
                "type": "object",
                "additionalProperties": true
              },
              "Accounts": {
                "type": "object",
                "additionalProperties": true
              },
              "preference_field_matched_value": {
                "type": "object",
                "additionalProperties": true
              },
              "modules_with_multiple_layouts": {
                "type": "object",
                "additionalProperties": true
              }
            },
            "required": [
              "module_preference",
              "Contacts",
              "Accounts",
              "preference_field_matched_value",
              "modules_with_multiple_layouts"
            ],
            "additionalProperties": false
          }
        },
        "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.