# Build an alumni list of ex-employees in the UK and Germany

**Use case:** 

Provide a company domain and get people who left it since a chosen year and now live in the UK or Germany, as one row each with previous title, month left, current employer and profile URL. Useful for recruiting and alumni networks.

## Input

```json
{
  "items": [
    "shopify.com"
  ],
  "leftAfterYear": 2023,
  "titleRoles": [
    "director",
    "manager"
  ],
  "countries": [
    "gb",
    "de"
  ],
  "includePreviousRole": true,
  "maxPeoplePerDomain": 50,
  "limit": 50,
  "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 "Build an alumni list of ex-employees in the UK and Germany". [Sign up or log in](https://console.apify.com/create-task-from-example/1wihMO90KH9fhPkOR) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Build an alumni list of ex-employees in the UK and Germany" 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 "Build an alumni list of ex-employees in the UK and Germany" 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 "Build an alumni list of ex-employees in the UK and Germany" task via API](https://apify.com/b2bdata/departures-by-company.md).

## FAQ

### What does the alumni list task return?

The alumni list task returns one row per former employee with the title they held, year and month they left, current title and company, country, and the profile URL to find them.

### What input is needed to build an alumni list by country?

Provide the former employer's domain, a leftAfterYear, and two-letter country codes such as gb and de for where the people live now. Use titleRoles to narrow by current seniority.

### How do I run alumni list from the API, on a schedule or into a spreadsheet?

Run this alumni list 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.

### Why would I use the alumni list task for recruiting?

The alumni list task surfaces experienced people who share a past employer and sit in a chosen market, giving recruiters or community builders a starting list for outreach and referrals.

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