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

# Deepline Native Enrich Contact: Inputs, Cost & CLI Example

> Enrich one identity by name/domain/email and wait for final results. Includes inputs, outputs, costs, and Deepline CLI examples for GTM automation.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=deepline_native_enrich_contact:{}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                     | Type      | Required | Default | Description                                                                       |
| ------------------------ | --------- | -------- | ------- | --------------------------------------------------------------------------------- |
| `payload.linkedin`       | `string`  | No       |         | LinkedIn profile id or profile URL slug (max 500 chars).                          |
| `payload.first_name`     | `string`  | No       |         | First name for contact match and enrichment resolution (max 100 chars).           |
| `payload.last_name`      | `string`  | No       |         | Last name for contact match and enrichment resolution (max 100 chars).            |
| `payload.full_name`      | `string`  | No       |         | Full name of the contact if first/last are unavailable (max 250 chars).           |
| `payload.domain`         | `string`  | No       |         | Primary domain to match contact to company context (2-500 chars).                 |
| `payload.email`          | `string`  | No       |         | Either professional or personal email to enrich (max 254 chars).                  |
| `payload.include_phones` | `boolean` | No       |         | If true, enrich phone in the same workflow where possible.                        |
| `payload.webhook_url`    | `string`  | No       |         | Webhook endpoint for callback delivery (max 2083 chars).                          |
| `payload.custom_fields`  | `record`  | No       |         | Opaque metadata echoed back in finder responses via custom\_fields (max 16 keys). |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Run contact enrichment by identity hints and wait for completion, returning job_id.",
    "properties": {
      "linkedin": {
        "type": "string",
        "description": "LinkedIn profile id or profile URL slug (max 500 chars)."
      },
      "first_name": {
        "type": "string",
        "description": "First name for contact match and enrichment resolution (max 100 chars)."
      },
      "last_name": {
        "type": "string",
        "description": "Last name for contact match and enrichment resolution (max 100 chars)."
      },
      "full_name": {
        "type": "string",
        "description": "Full name of the contact if first/last are unavailable (max 250 chars)."
      },
      "domain": {
        "type": "string",
        "description": "Primary domain to match contact to company context (2-500 chars)."
      },
      "email": {
        "type": "string",
        "description": "Either professional or personal email to enrich (max 254 chars)."
      },
      "include_phones": {
        "type": "boolean",
        "description": "If true, enrich phone in the same workflow where possible."
      },
      "webhook_url": {
        "type": "string",
        "description": "Webhook endpoint for callback delivery (max 2083 chars)."
      },
      "custom_fields": {
        "type": "object",
        "description": "Opaque metadata echoed back in finder responses via custom_fields (max 16 keys).",
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            }
          ]
        }
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `record` | Yes      |         | Provider response payload.                     |
| `result.meta` | `record` | 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.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute deepline_native_enrich_contact --payload '{}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.98` per pricing unit.
* Billing mode: `post_deduct`.
