> ## Documentation Index
> Fetch the complete documentation index at: https://heybtw.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# check_people

> What this workspace already knows about each person on a list you pulled elsewhere.

> [!NOTE]
>
> Read-only.

> [!NOTE]
>
> This tool is evolving. This page describes what the connector serves today and will be revised as the tool changes.

You have a list from somewhere else (a prospect file, a CRM export, a spreadsheet). check\_people tells you, per email, whether this workspace has seen the person before: events attended, invites recorded, and which teammates know them. Call it before importing or inviting a list.

Follows the [heyBTW MCP rules](https://heybtw.com/docs/mcp/rules.md).

## When to use it

* "Who on this list has been to one of our events?"
* "Have we invited any of these people before, and did they come?"
* "Does anyone on the team know these people?"
* "Before I import this list, what do we already have on them?"

## Parameters

| Parameter | Type | Required | Notes |
| - | - | - | - |
| `people` | list of objects | One of `people` / `csv` | 1 to 500 entries. Each entry is an object with `email` (required) and optional `company_domain` and `name`. Any other key is refused. |
| `csv` | string | One of `people` / `csv` | The export exactly as a prospecting tool, a CRM or a spreadsheet produced it, header row first, at most 500 data rows. Never rewrite it into `people` and never write a mapping script. |
| `column_map` | object | No (with `csv` only) | `{"<header>": "<target>"}`: overrides how one column is read. A record\_signups column target or `company_domain`. |
| `channel_id` | string | No | A collab from [list\_events](https://heybtw.com/docs/tools/list-events.md). Measures `event_history.this_city` against that event's city. |
| `event_name` | string | No | Instead of `channel_id`. An ambiguous name returns no rows and lists the candidates. |
| `fields` | list of strings | No | Any of `identity`, `event_history`, `invite_history`, `known_by`, `account`, `partner_overlap`, `paths_depth1`, `target_spec_match`, `personalization`. Omit it and every field but `paths_depth1` is served. Not accepted with `format: "csv"`. |
| `format` | string | No | `json` (default) or `csv`. With `csv`, `data[0].csv` holds your people as sent plus heyBTW's columns, ready to re-import into your outbound tool. |
| `next_row` | integer | No | Continues a trimmed call. Send the same `people` (or the same `csv` and `column_map`) with the `next_row` the response gave. |
| `contract_version` | string | No | Omit for v1, the only advertised version. |

Send a longer list in chunks of 500. Do not send the same chunk twice, except with `next_row`.

## Send the file as it is

With `csv`, each data row of the file is a row, in file order, with its file `line`. A row with no email, or a line with the wrong number of cells, is served in place with `row_gaps` (`missing_email` or `malformed_row`): one bad row never fails the call. `company_domain` is read from a column headed company\_domain, domain, website or company website. `data[0].column_map` lists each column, what it was read as and why.

With `format: "csv"` the answer holds your columns as sent, then heyBTW's: `row`, `known_by`, `last_event`, `last_event_status` (attended or registered), `partner`, `invite_count`, `personalization` and `row_gaps`, in `data[0].columns` order. A heyBTW column your file already names is prefixed `heybtw_`.

## More facts per row

Beside identity, event history, invite history and `known_by`, each row can carry:

| Field | Meaning |
| - | - |
| `account` | `{company_domain, relationship, in_target}` for the row's company. `relationship` is `partner` when the domain is on your partner list, else null, which is unknown and never net-new. The same values [get\_accounts](https://heybtw.com/docs/tools/get-accounts.md) serves. |
| `partner_overlap` | The names of the partners whose overlap list you hold contains the account. |
| `paths_depth1` | Only when `fields` names it. Each known contact who works at the account, with `via`, `via_name`, `target_person_name` and `event_names`. `[]` means no path is held. |
| `personalization` | One paste-ready line of the row's own facts: who knows the person, the newest event they attended or registered for, the partners whose overlap list holds the account. Null when no part has a fact. It names no invite and no verdict. |
| `event_history.last_registered` | `{last_at, collab}`: the newest event the person registered for, never a declined one, or null. |

`account` and `partner_overlap` are null when the row has no `company_domain`.

## Check once, then import or save

`data[0].check_token` holds the rows this response served for 15 minutes (`check_token_expires_at`). To import or save them, pass it to [import\_people](https://heybtw.com/docs/tools/import-people.md) or [save\_list](https://heybtw.com/docs/tools/save-list.md) with `check_rows` (`matched`, `unmatched`, `all`, or a list of `row` values). Never send the same people again.

A response trimmed to fit says so in a gap and in `data[0].next_row`, and its counts cover the served rows only. Rows keep their position in your list, so join on `row`. As a guide, about 140 people fit with no `fields` named, about 370 with `fields` set to `identity` and `invite_history`, and all 500 with `format: "csv"`.

## Response

`crm_context` comes first. `data[0]` holds one row per person sent, in input order.

| Field | Meaning |
| - | - |
| `rows[].row` | The position in the list you sent. |
| `rows[].identity` | `matched` when the workspace holds an attended event, a recorded invite or an imported contact for the email, else `unmatched`. |
| `rows[].event_history` | An object with `attended_count`, `last_at`, `last_collab` and `this_city`. `this_city` is null without a collab or a resolvable city. |
| `rows[].invite_history` | An object with `count`, `last_at`, `last_channel` and `last_outcome`. `last_outcome` is `registered`, `attended` or `none`. |
| `rows[].known_by` | Emails of workspace members who know the person. |
| `rows[].target_spec_match` | Null on every row in this version. |
| `rows[].row_gaps` | For example `invalid_email`. One bad row never fails the call. |
| `counts` | `matched`, `unmatched`, `seen_before`, `invited_before`, `no_history`, over the served rows. |
| `carry` | The CRM check to run in your own connector, joined on `email` and `company_domain`. |
| `target_spec` | Whether a target spec is saved, with the next step when not. |

This sample is trimmed from a real call today on fictional fixture people.

```json theme={null}
{
  "tool": "check_people",
  "data": [
    {
      "rows": [
        {
          "row": 0,
          "email": "luis.castillo@wavecrestgames.com",
          "company_domain": "wavecrestgames.com",
          "identity": "matched",
          "event_history": {
            "attended_count": 1,
            "last_at": "2026-11-19T02:30:00.000Z",
            "last_collab": "ScaleUp.ai x Marlowe Cloud: LA Revenue Leaders Dinner",
            "this_city": null
          },
          "invite_history": {
            "count": 1,
            "last_at": "2026-10-13T16:30:00.000Z",
            "last_channel": "personal_email",
            "last_outcome": "registered"
          },
          "known_by": ["ben@heybtw.com"],
          "target_spec_match": null
        },
        {
          "row": 1,
          "email": null,
          "company_domain": null,
          "row_gaps": ["invalid_email"]
        }
      ],
      "counts": { "matched": 1, "unmatched": 0, "seen_before": 1, "invited_before": 1, "no_history": 0 },
      "rows_served": 2,
      "rows_checked": 2,
      "carry": {
        "destination": "crm",
        "via": "your_tools",
        "join_keys": ["email", "company_domain"],
        "ask": "which of these are customers or have open deals, and who owns them"
      }
    }
  ],
  "status": "ok"
}
```

## Rules the agent must follow

* These are facts, never a verdict. Do not suppress, skip, tier or rank anyone from them.
* Null or absent is unknown, never zero.
* Never report a person with no CRM value as net-new. Run the `carry` check in the user's own CRM connector.
* Never recompute these facts from get\_event\_details calls.

## Errors and gaps

* `invalid_parameter`: `people` missing, empty or over 500, an entry with a key this tool does not read, a malformed `channel_id`, or an unknown name in `fields`.
* `entity_not_found`: no event with that `channel_id` or `event_name`.
* A response trimmed to fit says so in a gap and in `next_row`. Counts cover the served rows only. Narrow with `fields`.
* `internal_error`: retry once.

## Related

* [import\_people](https://heybtw.com/docs/tools/import-people.md): bring the unmatched people in.
* [get\_invite\_recommendations](https://heybtw.com/docs/tools/get-invite-recommendations.md): the same person facts, for candidates heyBTW finds.
* [save\_target\_spec](https://heybtw.com/docs/tools/save-target-spec.md): save who belongs in the room.
* Playbook: [Fill the room in the two weeks before](https://heybtw.com/docs/playbooks/invite-sprint.md).


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