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

# Crustdata Person Enrichment: Inputs, Cost & CLI Example

> Running deeper person enrichment from known profile inputs. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## 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=crustdata_person_enrichment:{"linkedinProfileUrl":"https://www.linkedin.com/in/example"}' --json
```

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

## Input Schema

| Name                         | Type              | Required | Default | Description                                                                                                                                                                                                                                                                                                                                          |
| ---------------------------- | ----------------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.linkedinProfileUrl` | `string \| array` | No       |         | LinkedIn profile URL(s) to enrich. This is the default profile lookup path.                                                                                                                                                                                                                                                                          |
| `payload.businessEmail`      | `string \| array` | No       |         | Business email lookup input. Use this instead of linkedinProfileUrl to find a profile by email. This is different from requesting business\_email in fields.                                                                                                                                                                                         |
| `payload.fields`             | `string \| array` | No       |         | Fields to return (array or comma-separated). Contact fields change the per-profile price: business\_email/businessEmail, personal\_contact\_info.personal\_emails/personal\_emails, and personal\_contact\_info.phone\_numbers/phone\_numbers are paid add-ons. business\_email is not charged twice when businessEmail is already the lookup input. |
| `payload.enrichRealtime`     | `boolean`         | No       | `false` | Trigger realtime enrichment. Uses the realtime per-profile price. Default false; never recommend unless the user explicitly asks for realtime enrichment.                                                                                                                                                                                            |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Looks up a person by LinkedIn URL or business email using /screener/person/enrich. Priced per returned profile.",
    "properties": {
      "linkedinProfileUrl": {
        "description": "LinkedIn profile URL(s) to enrich. This is the default profile lookup path.",
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        ]
      },
      "businessEmail": {
        "description": "Business email lookup input. Use this instead of linkedinProfileUrl to find a profile by email. This is different from requesting business_email in fields.",
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        ]
      },
      "fields": {
        "description": "Fields to return (array or comma-separated). Contact fields change the per-profile price: business_email/businessEmail, personal_contact_info.personal_emails/personal_emails, and personal_contact_info.phone_numbers/phone_numbers are paid add-ons. business_email is not charged twice when businessEmail is already the lookup input.",
        "anyOf": [
          {
            "type": "string",
            "minLength": 1
          },
          {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        ]
      },
      "enrichRealtime": {
        "type": "boolean",
        "description": "Trigger realtime enrichment. Uses the realtime per-profile price. Default false; never recommend unless the user explicitly asks for realtime enrichment.",
        "default": false
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `array`  | 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": "Crustdata person enrichment result.",
    "properties": {
      "data": {
        "type": [
          "array",
          "null"
        ],
        "description": "Provider response payload.",
        "items": {
          "type": "object",
          "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 crustdata_person_enrichment --payload '{
  "linkedinProfileUrl": "https://www.linkedin.com/in/example"
}' --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.4` per pricing unit.
* Billing mode: `post_deduct`.
