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

# Pipedrive: Get Deal Conversion Status

> Get Deal conversion status. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Get Deal conversion status.

<Info>
  Tool ID: `pipedrive_get_deal_conversion_status`
</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(
  'pipedrive_get_deal_conversion_status',
  {
    "id": 123,
    "conversion_id": "123e4567-e89b-42d3-a456-426614174000"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute pipedrive_get_deal_conversion_status --input '{
  "id": 123,
  "conversion_id": "123e4567-e89b-42d3-a456-426614174000"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "success": true,
    "data": {
      "conversion_id": "123e4567-e89b-42d3-a456-426614174000",
      "status": "not_started"
    }
  }
}
```

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

## Input reference

Returns information about the conversion. Status is always present and its value (not\_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.

| Name                    | Type      | Required | Default | Details                                  |
| ----------------------- | --------- | -------- | ------- | ---------------------------------------- |
| `payload.id`            | `integer` | Yes      | —       | The ID of a deal                         |
| `payload.conversion_id` | `string`  | Yes      | —       | The ID of the conversion Format: `uuid`. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Returns information about the conversion. Status is always present and its value (not_started, running, completed, failed, rejected) represents the current state of the conversion. Lead ID is only present if the conversion was successfully finished. This data is only temporary and removed after a few days.",
    "properties": {
      "id": {
        "type": "integer",
        "description": "The ID of a deal"
      },
      "conversion_id": {
        "type": "string",
        "description": "The ID of the conversion",
        "format": "uuid"
      }
    },
    "required": [
      "id",
      "conversion_id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                             | Type                                                                  | Required | Default | Details                                                                                                                             |
| -------------------------------- | --------------------------------------------------------------------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `result.data`                    | `object`                                                              | Yes      | —       | Provider response payload.                                                                                                          |
| `result.data.success`            | `boolean`                                                             | Yes      | —       | —                                                                                                                                   |
| `result.data.data`               | `object`                                                              | Yes      | —       | An object containing conversion status. After successful conversion the converted entity ID is also present.                        |
| `result.data.data.lead_id`       | `string`                                                              | No       | —       | The ID of the new lead. Format: `uuid`.                                                                                             |
| `result.data.data.deal_id`       | `integer`                                                             | No       | —       | The ID of the new deal.                                                                                                             |
| `result.data.data.conversion_id` | `string`                                                              | Yes      | —       | The ID of the conversion job. The ID can be used to retrieve conversion status and details. The ID has UUID format. Format: `uuid`. |
| `result.data.data.status`        | `"not_started" \| "running" \| "completed" \| "failed" \| "rejected"` | Yes      | —       | Status of the conversion job. Allowed: `not_started`, `running`, `completed`, `failed`, `rejected`.                                 |
| `result.data.additional_data`    | `object \| null`                                                      | No       | —       | —                                                                                                                                   |
| `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": "Provider response payload.",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "data": {
            "type": "object",
            "description": "An object containing conversion status. After successful conversion the converted entity ID is also present.",
            "properties": {
              "lead_id": {
                "type": "string",
                "description": "The ID of the new lead.",
                "format": "uuid"
              },
              "deal_id": {
                "type": "integer",
                "description": "The ID of the new deal."
              },
              "conversion_id": {
                "type": "string",
                "description": "The ID of the conversion job. The ID can be used to retrieve conversion status and details. The ID has UUID format.",
                "format": "uuid"
              },
              "status": {
                "type": "string",
                "description": "Status of the conversion job.",
                "enum": [
                  "not_started",
                  "running",
                  "completed",
                  "failed",
                  "rejected"
                ]
              }
            },
            "required": [
              "conversion_id",
              "status"
            ],
            "additionalProperties": false
          },
          "additional_data": {
            "type": [
              "object",
              "null"
            ]
          }
        },
        "required": [
          "success",
          "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

* [Pipedrive provider guide](/docs/providers/pipedrive/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
