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

# Contactout Enrich Person: Inputs, Cost & CLI Example

> Find email and phone for a person using LinkedIn URL or identity clues. 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=contactout_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       |         |             |
| `payload.email`          | `string` | No       |         |             |
| `payload.phone`          | `string` | No       |         |             |
| `payload.first_name`     | `string` | No       |         |             |
| `payload.last_name`      | `string` | No       |         |             |
| `payload.full_name`      | `string` | No       |         |             |
| `payload.company`        | `string` | No       |         |             |
| `payload.company_domain` | `string` | No       |         |             |
| `payload.job_title`      | `string` | No       |         |             |
| `payload.location`       | `string` | No       |         |             |
| `payload.education`      | `string` | No       |         |             |
| `payload.include`        | `array`  | No       |         |             |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Enrich one person from LinkedIn, email, phone, or name-plus-company inputs and return the flat ContactOut profile shape.",
    "properties": {
      "linkedin_url": {
        "type": "string"
      },
      "email": {
        "type": "string"
      },
      "phone": {
        "type": "string",
        "minLength": 1
      },
      "first_name": {
        "type": "string",
        "minLength": 1
      },
      "last_name": {
        "type": "string",
        "minLength": 1
      },
      "full_name": {
        "type": "string",
        "minLength": 1
      },
      "company": {
        "type": "string",
        "minLength": 1
      },
      "company_domain": {
        "type": "string",
        "minLength": 1
      },
      "job_title": {
        "type": "string",
        "minLength": 1
      },
      "location": {
        "type": "string",
        "minLength": 1
      },
      "education": {
        "type": "string",
        "minLength": 1
      },
      "include": {
        "type": "array",
        "minItems": 1,
        "items": {
          "type": "string",
          "enum": [
            "work_email",
            "personal_email",
            "phone"
          ]
        }
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `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": {
          "linkedin_url": {
            "type": "string"
          },
          "full_name": {
            "type": "string"
          },
          "headline": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "seniority": {
            "type": "string"
          },
          "job_function": {
            "type": "string"
          },
          "followers": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "profile_picture_url": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "email": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "work_email": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "personal_email": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "phone": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "company": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "domain": {
                "type": "string"
              },
              "email_domain": {
                "type": "string"
              },
              "website": {
                "type": "string"
              },
              "logo_url": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "size": {
                "type": [
                  "number",
                  "string"
                ]
              },
              "industry": {
                "type": "string"
              },
              "founded_at": {
                "type": [
                  "number",
                  "string"
                ]
              },
              "headquarter": {
                "type": "string"
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "revenue": {
                "type": [
                  "number",
                  "string",
                  "null"
                ]
              },
              "specialties": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "followers": {
                "type": "number"
              },
              "employees": {
                "type": "number"
              },
              "funding": {
                "type": "object",
                "properties": {
                  "total_funding_usd": {
                    "type": "number"
                  },
                  "funding_status": {
                    "type": "string"
                  },
                  "latest_date": {
                    "type": "string"
                  },
                  "number_of_funding_rounds": {
                    "type": "number"
                  },
                  "rounds": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                },
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "experience": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "education": {
            "type": "array",
            "items": {}
          },
          "skills": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contact_availability": {
            "type": "object",
            "properties": {
              "personal_email": {
                "type": "boolean"
              },
              "work_email": {
                "type": "boolean"
              },
              "phone": {
                "type": "boolean"
              }
            },
            "additionalProperties": true
          },
          "work_email_status": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute contactout_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: `1.4` per pricing unit.
* Billing mode: `post_deduct`.
