Skip to main content
Source: app/src/lib/types.ts, app/src/lib/people-table.ts, app/src/lib/data/.
IntroLink has four objects. Almost every endpoint in this documentation is a read or a write against one of them.

Connector

A connector is a person who contributes their relationship graph to the org’s pooled network — the supply side. Connectors live in network_connectors. Two kinds:
  • You. Every account has exactly one is_self connector row, created on the first import. Your LinkedIn connections, Google contacts and WhatsApp address book all land under it.
  • Everyone else on the roster. Someone whose LinkedIn profile you captured with the extension. Capturing a profile is promoting them to the roster, and walking their network fills in who they can introduce you to.
Each connector carries a group, which is how the roster is organized: An unrecognized group on ingest falls back to Others rather than being rejected.

Connection

A connection is one row a source handed us: “this connector’s network contains this person, and here is what we saw.” It is a record of an observation, not a claim about a human. Connections are keyed on (owner_id, connector_id, profile_url) for LinkedIn and (owner_id, connector_id, whatsapp_jid) for WhatsApp — which is what makes every ingest route idempotent. Re-syncing the same network updates rows rather than duplicating them. The same human very often has several connection rows: a LinkedIn scrape, a Google contact, a calendar attendee record, a WhatsApp chat, a CSV line. That duplication is expected and is resolved one layer up.

Person

A person is a human. people is a materialized table, derived from connections by the resolver — never written to directly.
The fold is deterministic and idempotent: running it twice produces the same rows the second time. Every import triggers it. Fields worth knowing:
string
The person key — a connection row id, or connector:<id> for someone who is on the roster but whom nobody’s connections surfaced.
PersonVia[]
Which connectors’ networks this person showed up in. This is the intro path. Empty means they’re on the roster themselves but unreachable through anyone’s connections.
("linkedin" | "google" | "whatsapp")[]
Every import this person arrived through. Feeds the channels component of relationship strength — holding someone on all three is a much stronger signal than a LinkedIn edge alone.
number
How many identifiers — URL, emails, phone, JID — resolved to this human.
number
100 when every folded row shared an identifier with the others. Lower means something was inferred from a matching name with no shared key, and the merge is worth a second look. See Identity resolution.
RelationshipStrength
How well you actually know them — a tier, a 0–100 score, four components, and a plain-English reason per component. Stamped at read time, never stored. See Relationship strength.

The via array is the product

people.via_ids is what turns “who can introduce me to a fintech CFO?” from a search problem into a lookup. Scope a query to { kind: "via", id } and you get one connector’s reachable network; scope it to { kind: "in" } and you get everyone anybody can reach.

Company

A company is a canonical grouping of people by employer. Raw company labels are messy — “Kestrel”, “Kestrel Logistics Inc.”, “kestrel.com” — so a company_key is stamped during the fold and company_name holds the display name, which may differ from the raw company label a source wrote.

How they fit together

Scopes

Every people query is scoped. The five scopes map directly to the tabs in the app: