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

# Lemlist Enrich Operations: Inputs, Cost & CLI Example

> Running single-record enrichment in Lemlist. 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=lemlist_enrich_data:{}' --json
```

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

## Input Schema

| Name                          | Type      | Required | Default | Description |
| ----------------------------- | --------- | -------- | ------- | ----------- |
| `payload.email`               | `string`  | No       |         |             |
| `payload.linkedin_url`        | `string`  | No       |         |             |
| `payload.first_name`          | `string`  | No       |         |             |
| `payload.last_name`           | `string`  | No       |         |             |
| `payload.company_domain`      | `string`  | No       |         |             |
| `payload.company_name`        | `string`  | No       |         |             |
| `payload.find_email`          | `boolean` | No       |         |             |
| `payload.verify_email`        | `boolean` | No       |         |             |
| `payload.linkedin_enrichment` | `boolean` | No       |         |             |
| `payload.find_phone`          | `boolean` | No       |         |             |
| `payload.webhook_url`         | `string`  | No       |         |             |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Run single-record enrichment with query parameters.",
    "properties": {
      "email": {
        "type": "string",
        "format": "email"
      },
      "linkedin_url": {
        "type": "string",
        "format": "uri"
      },
      "first_name": {
        "type": "string"
      },
      "last_name": {
        "type": "string"
      },
      "company_domain": {
        "type": "string"
      },
      "company_name": {
        "type": "string"
      },
      "find_email": {
        "type": "boolean"
      },
      "verify_email": {
        "type": "boolean"
      },
      "linkedin_enrichment": {
        "type": "boolean"
      },
      "find_phone": {
        "type": "boolean"
      },
      "webhook_url": {
        "type": "string",
        "format": "uri"
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name            | Type     | Required | Default | Description |
| --------------- | -------- | -------- | ------- | ----------- |
| `result.status` | `string` | Yes      |         |             |
| `result.result` | `object` | Yes      |         |             |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "status": {
        "type": "string"
      },
      "result": {
        "type": "object",
        "properties": {
          "enrich_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "required": [
          "enrich_id",
          "status"
        ],
        "additionalProperties": true
      }
    },
    "required": [
      "status",
      "result"
    ],
    "additionalProperties": true
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute lemlist_enrich_data --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.                      |

## Provider API Context

<details>
  <summary>Show provider reference (optional)</summary>

  ````md theme={null}
  > Enriches data by finding emails, phone numbers, or LinkedIn information from various inputs. The API provides the ability to request data (email, phone number, LinkedIn information) in multiple ways: * Given some input (email, LinkedIn URL, etc.) for a single enrichment * Bulk inputs that process many data points at once All enrichment APIs are asynchronous. There are two ways to retrieve your enriched data: 1. Call the GET endpoint with the `enrichmentId` that was provided 2. Use webhooks to receive notifications when enrichment is complete ## Result &lt;Accordion title="Sample response"> ```json bvelitchkine theme={"theme":"dracula"} { "data": [ { "id": "enr_9gf5NKQCaFHJCPyDh", "data": { "find_email": { "email": "bastien@morpho.xyz", "status": "deliverable" }, "find_phone": { "phone": "+33760769872" }, "linkedin_enrichment": { "positionGroups": [ { "company": { "id": 79870097, "name": "Morpho", "linkedinUrl": "https://www.linkedin.com/company/morpho-association/", "linkedinUrlSalesNav": "https://www.linkedin.com/sales/company/79870097/", "logo": "https://media.licdn.com/dms/image/v2/D4E0BAQFKH8A5S0o0sA/company-logo_400_400/B4EZcYWYEPHkAY-/0/1748460208900/morpho_labs_logo?e=1763596800&v=beta&t=bqadzzdM6yZ74Fi3AfQ4oFKkHtXFsuE7fQC7aWGn5xE", "domain": "morpho.org", "website": "http://morpho.org", "industry": "Software Development", "description": "Morpho is the most trusted onchain lending network with $10B+ in deposits. \n\nBusinesses can connect to Morpho's open infrastructure to power any lending or borrowing use case at scale, including embedded crypto-backed loans and custom yield solutions.", "employeesOnLinkedin": 200, "foundedOn": 2021, "headQuarter": "PARIS, FR", "size": "51-200", "type": "Privately Held" }, "date": { "start": { "month": 3, "year": 2024 }, "end": {} }, "profilePositions": [ { "title": "Part-Time Growth Engineer", "description": "I develop tools and automations for Morpho Labs' outbound growth team (data warehouse, intent signals, analytics, retool pre-crm, ...).", "companyName": "Morpho Labs", "date": { "start": { "month": 3, "year": 2024 }, "end": {} } } ] }, { "company": { "id": 99966471, "name": "Bastien Vélitchkine", "linkedinUrl": "https://www.linkedin.com/company/bvelitchkine/", "linkedinUrlSalesNav": "https://www.linkedin.com/sales/company/99966471/", "logo": "https://media.licdn.com/dms/image/v2/D4D0BAQErfjnUVVgadg/company-logo_400_400/company-logo_400_400/0/1727336158240/bvelitchkine_logo?e=1763596800&v=beta&t=Tz-5kUta2m6sX1hXUTNggEjIV7z-502kMXjM5iSiWfg" }, "date": { "start": { "month": 9, "year": 2023 }, "end": {} }, "profilePositions": [ { "title": "Growth Engineer", "description": "I code and automate for growth, marketing and sales teams.", "companyName": "Bastien Vélitchkine", "date": { "start": { "month": 9, "year": 2023 }, "end": {} } } ] }, { "company": { "id": 74995178, "name": "Bulldozer", "linkedinUrl": "https://www.linkedin.com/company/bulldozer-collective/", "linkedinUrlSalesNav": "https://www.linkedin.com/sales/company/74995178/", "logo": "https://media.licdn.com/dms/image/v2/D560BAQEqNfme3YnQxQ/company-logo_400_400/company-logo_400_400/0/1709226778326/bulldozer_collective_logo?e=1763596800&v=beta&t=UoinoxH06tMdtbAHFay8GFV9p2gH_AyK7c6DoEJn8s4", "domain": "bulldozer-collective.com" }, "date": { "start": { "month": 4, "year": 2024 }, "end": {} }, "profilePositions": [ { "title": "Growth Engineer", "description": "I started to feel alone a bit. I wanted:\n\n1. To partake in a collective adventure\n2. Without letting go of my independence\n3. And keep learning alongside the best growth professionals\n\nThanks to Bulldozer, I've worked for iBanFirst and Captain Data. At the moment, I'm still helping Bulldozer build its own outbound machine (with getcargo.io).", "companyName": "Bulldozer", "date": { "start": { "month": 4, "year": 2024 }, "end": {} } } ] }, { "company": { "id": 5285846, "name": "Malt", "linkedinUrl": "https://www.linkedin.com/company/maltcommunity/", "linkedinUrlSalesNav": "https://www.linkedin.com/sales/company/5285846/", "logo": "https://media.licdn.com/dms/image/v2/D4D0BAQHrVAkbNHrUUw/company-logo_400_400/B4DZnjGNMZKoAc-/0/1760451679628/maltcommunity_logo?e=1763596800&v=beta&t=K6aN4bsK5x_ZEZCtwvUUJrq20NPBKdp1R1iMRYP9zjk", "domain": "malt.fr" }, "date": { "start": { "month": 10, "year": 2021 }, "end": {} }, "profilePositions": [ { "title": "Freelancer", "description": "Right after my PayFit internship, I came back to CentraleSupélec to finish my studies.\n\nHowever, to keep accumulating skills and money, I kickstarted my growth freelancing activities.\n\nI've worked on:\n- Buying Intents for outbound\n- CRM configuration and automation (Close, Pipedrive, Zoho, Hubspot)\n- A very first chrome extension", "companyName": "Malt", "date": { "start": { "month": 10, "year": 2021 }, "end": {} } } ] }, { "company": { "id": 89362201, "name": "Recruitivity", "linkedinUrl": "https://www.linkedin.com/company/recruitivity-co/", "linkedinUrlSalesNav": "https://www.linkedin.com/sales/company/89362201/", "logo": "https://media.licdn.com/dms/image/v2/C4E0BAQEdMNmDlgSC8Q/company-logo_400_400/company-logo_400_400/0/1676560205356/recruitivity_co_logo?e=1763596800&v=beta&t=J-FFHABMahlCyOcbMmqu-iapCk6UZKTzMQneObWw5j0", "domain": "recruitivity.co" }, "date": { "start": { "month": 11, "year": 2022 }, "end": { "month": 9, "year": 2023 } }, "profilePositions": [ { "title": "Founder", "description": "I tried to kickstart an agency, at a crossroads between groth and hiring.\n\nSpoiler: didn't work. But we're on LinkedIn, so it's where I should say that I've learned a ton (sad but true).\n\nProof: https://bvelitchkine.notion.site/Recruitivity-Anthologie-ff3801c8e5f248048bfcae1a1888cd7b", "companyName": "Recruitivity", "date": { "start": { "month": 11, "year": 2022 }, "end": { "month": 9, "year": 2023 } } } ] }, { "company": { "id": 6436622, "name": "PayFit", "linkedinUrl": "https://www.linkedin.com/company/payfit/", "linkedinUrlSalesNav":

  &lt;Note>
  Provider reference truncated for page speed. Use the provider's official docs for the full upstream reference.
  &lt;/Note>
  ````
</details>

## Cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
