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

# LeadMagic: Employee Finder

> List employees at a company by company domain or name, with names, job titles, and LinkedIn profile URLs. Includes SDK V2 examples, schemas, and cost.

List employees at a company by company domain or name, with names, job titles, and LinkedIn profile URLs.

> [!NOTE]
>
> Tool ID: `leadmagic_employee_finder`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'leadmagic_employee_finder',
  {
    "company_domain": "example.com",
    "company_name": "Example Corp",
    "limit": 123
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run leadmagic_employee_finder --input '{
  "company_domain": "example.com",
  "company_name": "Example Corp",
  "limit": 123
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "employees": [
      {
        "first_name": "Jane",
        "last_name": "Doe",
        "full_name": "Example"
      }
    ],
    "total_count": 123,
    "message": "Example message"
  }
}
```

Use `deepline describe leadmagic_employee_finder --json` for the latest machine-readable contract.

## Input reference

Find employees at a company. Returns a list of employees with their profiles, titles, and locations.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.company_domain` | `string` | No | — | Company website domain. |
| `payload.company_name` | `string` | No | — | Company name. Use if domain is not available. |
| `payload.limit` | `integer` | No | — | Maximum number of employees to return (1 to 1000). Minimum: 1. Maximum: 1000. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Find employees at a company. Returns a list of employees with their profiles, titles, and locations.",
    "properties": {
      "company_domain": {
        "type": "string",
        "description": "Company website domain."
      },
      "company_name": {
        "type": "string",
        "description": "Company name. Use if domain is not available."
      },
      "limit": {
        "type": "integer",
        "description": "Maximum number of employees to return (1 to 1000).",
        "minimum": 1,
        "maximum": 1000
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.employees` | `array` | No | — | — |
| `result.data.employees[].first_name` | `string` | No | — | — |
| `result.data.employees[].last_name` | `string` | No | — | — |
| `result.data.employees[].full_name` | `string` | No | — | — |
| `result.data.employees[].profile_url` | `string` | No | — | — |
| `result.data.employees[].job_title` | `string` | No | — | — |
| `result.data.employees[].location` | `string` | No | — | — |
| `result.data.total_count` | `integer` | No | — | Total employees found (may exceed returned count when limit is set) |
| `result.data.message` | `string` | No | — | — |
| `result.data.data` | `array` | No | — | Employees found at the company. |
| `result.data.data[].first_name` | `string` | No | — | — |
| `result.data.data[].last_name` | `string` | No | — | — |
| `result.data.data[].full_name` | `string` | No | — | — |
| `result.data.data[].profile_url` | `string` | No | — | — |
| `result.data.data[].job_title` | `string` | No | — | — |
| `result.data.data[].location` | `string` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "employees": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "first_name": {
                  "type": "string"
                },
                "last_name": {
                  "type": "string"
                },
                "full_name": {
                  "type": "string"
                },
                "profile_url": {
                  "type": "string"
                },
                "job_title": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "total_count": {
            "type": "integer",
            "description": "Total employees found (may exceed returned count when limit is set)"
          },
          "message": {
            "type": "string"
          },
          "data": {
            "type": "array",
            "description": "Employees found at the company.",
            "items": {
              "type": "object",
              "properties": {
                "first_name": {
                  "type": "string"
                },
                "last_name": {
                  "type": "string"
                },
                "full_name": {
                  "type": "string"
                },
                "profile_url": {
                  "type": "string"
                },
                "job_title": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": true
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.02` per pricing unit.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.