# Find senior people who left a company recently, by domain

**Use case:** 

Give a company domain and get people who left it in or after a chosen year and now hold C-level or VP roles elsewhere in the United States. Each row has their title at the old company, when they left and where they work now.

## Input

```json
{
  "items": [
    "stripe.com"
  ],
  "leftAfterYear": 2024,
  "titleRoles": [
    "cxo",
    "vp"
  ],
  "countries": [
    "us"
  ],
  "includePreviousRole": true,
  "maxPeoplePerDomain": 25,
  "limit": 25,
  "includePhones": false,
  "includeEmails": false,
  "includeAudit": false
}
```

## Output

```json
{
  "fullName": {
    "label": "Name",
    "format": "string"
  },
  "previousTitle": {
    "label": "Title at the company",
    "format": "string"
  },
  "companyDomain": {
    "label": "Left company",
    "format": "string"
  },
  "leftYear": {
    "label": "Year left",
    "format": "integer"
  },
  "leftMonth": {
    "label": "Month left",
    "format": "string"
  },
  "currentTitle": {
    "label": "Current title",
    "format": "string"
  },
  "currentCompany": {
    "label": "Current company",
    "format": "string"
  },
  "currentCompanyDomain": {
    "label": "Current company domain",
    "format": "string"
  },
  "currentSeniority": {
    "label": "Current seniority",
    "format": "string"
  },
  "location": {
    "label": "Location",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "hasWorkEmail": {
    "label": "Work email on file",
    "format": "boolean"
  },
  "hasPersonalEmail": {
    "label": "Personal email on file",
    "format": "boolean"
  },
  "lowSignal": {
    "label": "Thin profile",
    "format": "boolean"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "profileUrl": {
    "label": "Profile",
    "format": "string"
  },
  "slug": {
    "label": "Profile slug",
    "format": "string"
  },
  "updatedAt": {
    "label": "Updated",
    "format": "string"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "workEmail": {
    "label": "Work email",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Company Departures - People Who Left, by Domain Actor is ready to run with the inputs already set for "Find senior people who left a company recently, by domain". [Sign up or log in](https://console.apify.com/create-task-from-example/EKyXxhY2Biluv9uHa) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find senior people who left a company recently, by domain" task

The Company Departures - People Who Left, by Domain Actor will start running based on the input automatically. You can also change all the input fields, like which companies did they leave? (domains, website urls or emails), left in or after which year?, and more, to match your specific use case.

### 3. Receive the "Find senior people who left a company recently, by domain" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as name, title at the company, left company, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find senior people who left a company recently, by domain" task via API](https://apify.com/b2bdata/departures-by-company.md).

## FAQ

### What does the senior departures task return per person?

The senior departures task returns one row per person who left, with the title held at the company, the year and month left, current title, current company, location and profile URL.

### What input does the senior departures task need?

Provide the company domain they left, a leftAfterYear, and titleRoles such as cxo and vp to keep only people who now hold senior roles. Add country codes to limit where they live now.

### How do I run senior departures lookup from the API, on a schedule or into a spreadsheet?

Run this senior departures lookup task from the Apify console, call it through the API with your own input, or put it on a schedule. Export the dataset as CSV or JSON to open it in Google Sheets or Excel.

### How can I use the senior departures list for a competitor or customer?

Run the senior departures task on a competitor to see where senior talent goes, or on a customer to spot a champion who moved on and may bring your product to a new employer.

## About this Actor

This example demonstrates how to use [Company Departures - People Who Left, by Domain](https://apify.com/b2bdata/departures-by-company.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/b2bdata/departures-by-company.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/b2bdata/departures-by-company.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
