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

# Enformion: Workplace Search

> Find phone numbers for SMB owners from self-reported employment profiles. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Find phone numbers for SMB owners from self-reported employment profiles.

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

## 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(
  'enformion_workplace_search',
  {
    "first_name": "Jane",
    "last_name": "Doe"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute enformion_workplace_search --input '{
  "first_name": "Jane",
  "last_name": "Doe"
}' --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"]}}
{
  "workplaceRecords": [
    {
      "fullName": "Example",
      "firstName": "Jane",
      "lastName": "Doe",
      "professionalTitles": "example",
      "phoneNumbers": [
        "+14155550123"
      ],
      "emailAddresses": [
        "jane.doe@example.com"
      ],
      "currentEmployment": [
        {
          "employer": "example",
          "jobTitle": "VP of Engineering",
          "level": "example",
          "department": "example"
        }
      ]
    }
  ]
}
```

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

## Input reference

Enformion Workplace Search: self-reported B2B employment profile database. Different database and separate rate-limit bucket from enformion\_contact\_enrich. phoneNumbers\[] is reliable for phone recovery when skip-trace misses. IMPORTANT: emailAddresses\[] is the owner's OTHER employer 97% of the time, only use if email domain matches the restaurant/business domain. galaxy-search-type: Workplace

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.first_name` | `string` | Yes | — | Owner first name. Minimum length: 1. |
| `payload.last_name` | `string` | Yes | — | Owner last name. Middle initials are stripped automatically. Minimum length: 1. |
| `payload.city_state` | `string` | No | — | City and state as "City, ST" (e.g. "Cleveland, OH"). Improves matching. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Enformion Workplace Search: self-reported B2B employment profile database. Different database and separate rate-limit bucket from enformion_contact_enrich. phoneNumbers[] is reliable for phone recovery when skip-trace misses. IMPORTANT: emailAddresses[] is the owner's OTHER employer 97% of the time, only use if email domain matches the restaurant/business domain. galaxy-search-type: Workplace",
    "properties": {
      "first_name": {
        "type": "string",
        "description": "Owner first name.",
        "minLength": 1
      },
      "last_name": {
        "type": "string",
        "description": "Owner last name. Middle initials are stripped automatically.",
        "minLength": 1
      },
      "city_state": {
        "type": "string",
        "description": "City and state as \"City, ST\" (e.g. \"Cleveland, OH\"). Improves matching."
      }
    },
    "required": [
      "first_name",
      "last_name"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.workplaceRecords` | `array` | Yes | — | — |
| `result.workplaceRecords[].fullName` | `string` | Yes | — | — |
| `result.workplaceRecords[].firstName` | `string` | Yes | — | — |
| `result.workplaceRecords[].lastName` | `string` | Yes | — | — |
| `result.workplaceRecords[].professionalTitles` | `string` | Yes | — | — |
| `result.workplaceRecords[].phoneNumbers` | `array` | Yes | — | — |
| `result.workplaceRecords[].emailAddresses` | `array` | Yes | — | — |
| `result.workplaceRecords[].currentEmployment` | `array` | Yes | — | — |
| `result.workplaceRecords[].currentEmployment[].employer` | `string` | Yes | — | — |
| `result.workplaceRecords[].currentEmployment[].jobTitle` | `string` | Yes | — | — |
| `result.workplaceRecords[].currentEmployment[].level` | `string` | Yes | — | — |
| `result.workplaceRecords[].currentEmployment[].department` | `string` | Yes | — | — |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "workplaceRecords": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "fullName": {
              "type": "string"
            },
            "firstName": {
              "type": "string"
            },
            "lastName": {
              "type": "string"
            },
            "professionalTitles": {
              "type": "string"
            },
            "phoneNumbers": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "emailAddresses": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "currentEmployment": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "employer": {
                    "type": "string"
                  },
                  "jobTitle": {
                    "type": "string"
                  },
                  "level": {
                    "type": "string"
                  },
                  "department": {
                    "type": "string"
                  }
                },
                "required": [
                  "employer",
                  "jobTitle",
                  "level",
                  "department"
                ],
                "additionalProperties": true
              }
            }
          },
          "required": [
            "fullName",
            "firstName",
            "lastName",
            "professionalTitles",
            "phoneNumbers",
            "emailAddresses",
            "currentEmployment"
          ],
          "additionalProperties": true
        }
      }
    },
    "required": [
      "workplaceRecords"
    ],
    "additionalProperties": true
  }
  ```
</details>

## Deepline cost

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

## Related documentation

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