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

# Datagma: Find People

> Find up to 10 matching people by title inside a target company. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Find up to 10 matching people by title inside a target company.

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

## 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(
  'datagma_find_people',
  {
    "currentJobTitle": "VP of Engineering",
    "linkedinId": "https://www.linkedin.com/in/jane-doe",
    "domain": "example.com"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute datagma_find_people --input '{
  "currentJobTitle": "VP of Engineering",
  "linkedinId": "https://www.linkedin.com/in/jane-doe",
  "domain": "example.com"
}' --json
```

## 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": {
    "transferData": [
      {
        "key": "example",
        "value": "example"
      }
    ],
    "listOfInvalidDataInput": [
      "example"
    ],
    "listOfValidLinkedInId": [
      "list_of_valid_linked_in_123"
    ]
  }
}
```

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

## Input reference

Allows you to identify individuals working in specific job titles within a given company. The query can return up to 10 people.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.currentJobTitle` | `string` | No | — | Current Job Title - You can separate different job titles using 'OR' (e.g., head of OR chief OR CEO). |
| `payload.linkedinId` | `string` | No | — | Enter the company's LinkedIn ID if available (e.g., 1441, 2728700…). It is the most accurate input you can use. |
| `payload.domain` | `string` | No | — | Enter the domain name if available (e.g., algolia.com, ubisoft.com…). It is less accurate than the LinkedIn ID, but more accurate than the company name |
| `payload.currentCompanies` | `string` | No | — | Enter the company name (e.g., Algolia, Ubisoft…). This is less accurate compared to using the domain or LinkedIn ID |
| `payload.countries` | `string` | No | — | Country. Please use the country name in minimal letters (e.g., united states, france, germany...) |
| `payload.fuzzy` | `boolean` | No | — | When set to true, the endpoint performs a fuzzy search, which broadens the scope of the results by allowing approximate matches. This is useful for finding results that may not exactly match the search criteria. However, enabling this parameter can reduce precision, potentially returning more irrelevant results. Default is false. |
| `payload.debug` | `boolean` | No | — | We are working on a feature to filter out non-relevant job titles. Set this parameter to true to disable filtering and retrieve all results |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Allows you to identify individuals working in specific job titles within a given company. The query can return up to 10 people.",
    "properties": {
      "currentJobTitle": {
        "type": "string",
        "description": "Current Job Title - You can separate different job titles using 'OR' (e.g., head of OR chief OR CEO)."
      },
      "linkedinId": {
        "type": "string",
        "description": "Enter the company's LinkedIn ID if available (e.g., 1441, 2728700…). It is the most accurate input you can use."
      },
      "domain": {
        "type": "string",
        "description": "Enter the domain name if available (e.g., algolia.com, ubisoft.com…). It is less accurate than the LinkedIn ID, but more accurate than the company name"
      },
      "currentCompanies": {
        "type": "string",
        "description": "Enter the company name (e.g., Algolia, Ubisoft…). This is less accurate compared to using the domain or LinkedIn ID"
      },
      "countries": {
        "type": "string",
        "description": "Country. Please use the country name in minimal letters (e.g., united states, france, germany...)"
      },
      "fuzzy": {
        "type": "boolean",
        "description": "When set to true, the endpoint performs a fuzzy search, which broadens the scope of the results by allowing approximate matches. This is useful for finding results that may not exactly match the search criteria. However, enabling this parameter can reduce precision, potentially returning more irrelevant results. Default is false."
      },
      "debug": {
        "type": "boolean",
        "description": "We are working on a feature to filter out non-relevant job titles. Set this parameter to true to disable filtering and retrieve all results"
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.transferData` | `array` | No | — | — |
| `result.data.transferData[].key` | `string` | No | — | — |
| `result.data.transferData[].value` | `string` | No | — | — |
| `result.data.listOfInvalidDataInput` | `array` | No | — | — |
| `result.data.listOfValidLinkedInId` | `array` | No | — | — |
| `result.data.employees` | `array` | No | — | — |
| `result.data.employees[].name` | `string` | No | — | — |
| `result.data.employees[].firstname` | `string` | No | — | — |
| `result.data.employees[].lastName` | `string` | No | — | — |
| `result.data.employees[].location` | `string` | No | — | — |
| `result.data.employees[].jobTitle` | `string` | No | — | — |
| `result.data.employees[].company` | `string` | No | — | — |
| `result.data.employees[].linkedInUrl` | `string` | No | — | — |
| `result.data.employees[].extractedRole` | `string` | No | — | — |
| `result.data.employees[].extractedSeniority` | `string` | No | — | — |
| `result.data.employees[].extractedGender` | `string` | No | — | — |
| `result.data.employees[].person_confidence_score` | `number` | No | — | Format: `float`. |
| `result.data.employees[].employee_jobScore` | `number` | No | — | Format: `float`. |
| `result.data.employees[].employee_companyScore` | `number` | No | — | Format: `float`. |
| `result.data.employees[].email` | `object` | No | — | — |
| `result.data.employees[].email.email` | `string` | No | — | — |
| `result.data.employees[].email.status` | `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": {
          "transferData": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "listOfInvalidDataInput": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "listOfValidLinkedInId": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "employees": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "firstname": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "jobTitle": {
                  "type": "string"
                },
                "company": {
                  "type": "string"
                },
                "linkedInUrl": {
                  "type": "string"
                },
                "extractedRole": {
                  "type": "string"
                },
                "extractedSeniority": {
                  "type": "string"
                },
                "extractedGender": {
                  "type": "string"
                },
                "person_confidence_score": {
                  "type": "number",
                  "format": "float"
                },
                "employee_jobScore": {
                  "type": "number",
                  "format": "float"
                },
                "employee_companyScore": {
                  "type": "number",
                  "format": "float"
                },
                "email": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `provider_usage` (provider usage).
* Estimated Deepline credits: `0.14` per pricing unit.

## Related documentation

* [Datagma provider guide](https://deepline.com/docs/providers/datagma/guide.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.