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

# Prospeo Enrich Person: Inputs, Cost & CLI Example

> Full person enrichment with title, company, location, and optional mobile phone reveal. Includes inputs, outputs, costs, and Deepline CLI examples.

## 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=prospeo_enrich_person:{}' --json
```

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

## Input Schema

| Name                           | Type      | Required | Default | Description                                                                                         |
| ------------------------------ | --------- | -------- | ------- | --------------------------------------------------------------------------------------------------- |
| `payload.linkedin_url`         | `string`  | No       |         | LinkedIn profile URL — use alone or with name for highest accuracy.                                 |
| `payload.email`                | `string`  | No       |         | Email address — use as sole identity seed for reverse enrichment.                                   |
| `payload.first_name`           | `string`  | No       |         | First name. Combine with last\_name + company\_website for best results.                            |
| `payload.last_name`            | `string`  | No       |         | Last name.                                                                                          |
| `payload.full_name`            | `string`  | No       |         | Full name (alternative to first\_name + last\_name).                                                |
| `payload.company_name`         | `string`  | No       |         | Company name. Avoid using alone — many companies share names.                                       |
| `payload.company_website`      | `string`  | No       |         | Company domain (for example stripe.com). Preferred over company\_name.                              |
| `payload.website`              | `string`  | No       |         | Deepline alias for company\_website. Sent to Prospeo as company\_website when it contains a domain. |
| `payload.domain`               | `string`  | No       |         | Deepline alias for company\_website. Sent to Prospeo as company\_website when it contains a domain. |
| `payload.company_domain`       | `string`  | No       |         | Deepline alias for company\_website. Sent to Prospeo as company\_website when it contains a domain. |
| `payload.company_linkedin_url` | `string`  | No       |         | Company LinkedIn URL for more precise matching.                                                     |
| `payload.person_id`            | `string`  | No       |         | Person ID from a previous search\_person call.                                                      |
| `payload.only_verified_email`  | `boolean` | No       |         | Return only if a verified email is found (default false).                                           |
| `payload.enrich_mobile`        | `boolean` | No       |         | Also enrich mobile number (10 credits if found).                                                    |
| `payload.only_verified_mobile` | `boolean` | No       |         | Return only if a verified mobile is found.                                                          |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Enrich a person with verified email, mobile, and professional data. Replaces email-finder.",
    "properties": {
      "linkedin_url": {
        "type": "string",
        "description": "LinkedIn profile URL — use alone or with name for highest accuracy."
      },
      "email": {
        "type": "string",
        "description": "Email address — use as sole identity seed for reverse enrichment."
      },
      "first_name": {
        "type": "string",
        "description": "First name. Combine with last_name + company_website for best results."
      },
      "last_name": {
        "type": "string",
        "description": "Last name."
      },
      "full_name": {
        "type": "string",
        "description": "Full name (alternative to first_name + last_name)."
      },
      "company_name": {
        "type": "string",
        "description": "Company name. Avoid using alone — many companies share names."
      },
      "company_website": {
        "type": "string",
        "description": "Company domain (for example stripe.com). Preferred over company_name."
      },
      "website": {
        "type": "string",
        "description": "Deepline alias for company_website. Sent to Prospeo as company_website when it contains a domain."
      },
      "domain": {
        "type": "string",
        "description": "Deepline alias for company_website. Sent to Prospeo as company_website when it contains a domain."
      },
      "company_domain": {
        "type": "string",
        "description": "Deepline alias for company_website. Sent to Prospeo as company_website when it contains a domain."
      },
      "company_linkedin_url": {
        "type": "string",
        "description": "Company LinkedIn URL for more precise matching."
      },
      "person_id": {
        "type": "string",
        "description": "Person ID from a previous search_person call."
      },
      "only_verified_email": {
        "type": "boolean",
        "description": "Return only if a verified email is found (default false)."
      },
      "enrich_mobile": {
        "type": "boolean",
        "description": "Also enrich mobile number (10 credits if found)."
      },
      "only_verified_mobile": {
        "type": "boolean",
        "description": "Return only if a verified mobile is found."
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                                                                                                                                                                        |
| ------------- | -------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `result.data` | `object` | Yes      |         | Prospeo enrich-person response. Important: `data.person.email` is an envelope object; read the scalar address from `data.person.email.email` or use `result.extractedValues.email.get()` in plays. |
| `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": "Prospeo enrich-person response. Important: `data.person.email` is an envelope object; read the scalar address from `data.person.email.email` or use `result.extractedValues.email.get()` in plays.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Prospeo enrich-person response. Important: `data.person.email` is an envelope object; read the scalar address from `data.person.email.email` or use `result.extractedValues.email.get()` in plays.",
        "properties": {
          "error": {
            "type": "boolean"
          },
          "free_enrichment": {
            "type": "boolean"
          },
          "person": {
            "type": "object",
            "description": "Prospeo person record. The scalar email address is `person.email.email`; `person.email` is an object with status/revealed metadata.",
            "properties": {
              "person_id": {
                "type": "string"
              },
              "first_name": {
                "type": "string"
              },
              "last_name": {
                "type": "string"
              },
              "full_name": {
                "type": "string"
              },
              "linkedin_url": {
                "type": "string"
              },
              "current_job_title": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "headline": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "email": {
                "type": "object",
                "description": "Prospeo email envelope. This object is not the scalar email address; use `email` inside it for the address.",
                "properties": {
                  "status": {
                    "type": "string"
                  },
                  "revealed": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "email": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Scalar email address. Read this nested field as `data.person.email.email`; `data.person.email` is the provider email envelope object."
                  },
                  "verification_method": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "email_mx_provider": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              },
              "mobile": {
                "type": "object",
                "description": "Prospeo mobile envelope. Use `mobile` or `mobile_international` inside it for the scalar phone number.",
                "properties": {
                  "status": {
                    "type": "string"
                  },
                  "revealed": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "mobile": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mobile_national": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mobile_international": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mobile_country": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mobile_country_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "company": {
            "type": "object",
            "description": "Prospeo company record.",
            "properties": {
              "company_id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "website": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              },
              "linkedin_url": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "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 prospeo_enrich_person --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.55` per pricing unit.
* Billing mode: `post_deduct`.
