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

# Data sources

> The four doors data comes in through, what each one is good for, and what it costs.

Every person in IntroLink arrived through one of four imports. They land in the
same `connections` table and are folded by the same resolver, but they carry
very different signals — which is why holding someone on more than one source
scores so much higher than holding them on one.

## The four doors

> [card] LinkedIn — extension scrape
>
> Reads your own connections list, or walks a connector's 1st + 2nd degree
> network. The only door that reaches the **second degree**.

> [card] [LinkedIn — CSV export](https://docs.introlink.ai/public-api/import.md)
>
> Your own data export. Doesn't need a browser session to hold up for 9,000
> rows, and carries emails for the connections who opted into sharing one.

> [card] Google
>
> Contacts plus Calendar. The **only source of meeting history**, which is the
> heaviest input to relationship strength.

> [card] WhatsApp
>
> Read out of your own WhatsApp Web client's IndexedDB by the extension.
> The strongest channel signal.

## What each one gives you

| | 2nd degree | Email | Meetings | Phone | Effort |
| - | - | - | - | - | - |
| **Extension scrape** | ✅ | — | — | — | live browser session |
| **LinkedIn CSV** | — | \~2% of rows | — | — | one download + upload |
| **Google** | — | ✅ | ✅ | rarely | one OAuth grant |
| **WhatsApp** | — | — | recency only | ✅ | extension + WhatsApp Web |

> [!NOTE]
>
> The percentages are measured, not estimated. On a real 9,534-row LinkedIn
> export, 225 rows carried an email — about 2%. Every one of those is a *certain*
> email↔LinkedIn pair, which is exactly the join the graph is otherwise missing.
> That's why the CSV import writes [identity hints](https://docs.introlink.ai/concepts/identity.md) rather
> than just connection rows.

## Why the second degree matters

Your own connections list tells you who *you* know. Walking a connector's
network tells you who *they* can introduce you to — and the mutual-connection
count on each card tells you how strong that path is.

Widening the degree facet from 1st to 1st+2nd on a connections search is
usually the difference between about 16 rows and several hundred.

## Merge behaviour per source

The resolver treats sources differently on write, because they differ in how
much they should be trusted to overwrite an existing value.

> [accordion] LinkedIn scrape — never downgrades
>
> Re-capturing a profile refreshes its fields, so a row that landed from a
> half-rendered top card ("Unknown", no title) heals on the next capture. Only
> values actually received are written — a field the capture missed is absent
> from the payload rather than null, which is what lets the previously-stored
> value survive.

> [accordion] LinkedIn CSV — better than a scrape for company and title
>
> Upserts on `profile_url`, so the same person already present from a live
> scrape is updated rather than duplicated. The export is the better source
> for company and position: a scrape reads whatever the search card happened
> to show. Every row is marked `1st` degree — that is what being in your own
> export means.

> [accordion] WhatsApp — merges into whoever is already there
>
> Matches on JID first, then phone number, and merges the WhatsApp signal
> (conversation recency, shared groups) into the existing person rather than
> creating a second row. Name and company stay whatever the richer source
> wrote — a WhatsApp push name shouldn't overwrite a full name from Google
> Contacts. The response splits `matched` from `created` so you can tell
> "merged into people you already had" from "genuinely new".

> [accordion] Google — brings the calendar
>
> Contacts supply names and emails; Calendar supplies `meetingCount` and
> `lastMetAt`. Contact photos are copied into IntroLink's own bucket, because
> Google serves them off a URL that changes whenever the person updates their
> picture.

## Avatar mirroring

Every source's photo URLs are unstable — LinkedIn's `licdn` URLs are signed and
expire, Google's rotate on change. So ingest copies the bytes into IntroLink's
own storage bucket in the background, after the response.

One pass is capped. Anything left over is picked up by a catch-up pass, which
only touches rows whose photo still points somewhere other than our bucket.

## A note on account risk

> [!WARNING]
>
> Automating activity on LinkedIn can violate its User Agreement and may lead to
> account restriction. The extension never sends messages or connection requests,
> and everything stays between your browser and your own IntroLink account — but a
> network walk is still automated navigation. Keep page budgets modest and don't
> run them back-to-back all day.


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