# Load your exports (/en/docs/load-exports)

Keep your contacts, chats and calendars from other apps on your computer, in one place your AI agent can search. Many
apps give a tool no way to read your data, but almost every one lets you download a copy of it: an export. Load that
copy once, and it stays searchable here, also after you leave the app.

You then find a LinkedIn connection by name and see where they work, read an old WhatsApp chat next to your Telegram
messages, or learn who came to a meeting last spring. Your agent answers the same questions and shows which import
each answer came from.

Two command-line tools do the loading. `wcat`, the tool that searches across all your sources, reads the exports of
LinkedIn, Google and WhatsApp, address books, calendars and tables you prepare yourself. `tg`, the Telegram tool,
reads a Telegram Desktop export into your Telegram profile. Both read the files on your computer and send them
nowhere. You need `wcat` installed ([installation](/llms.mdx/docs/wcat/installation/content.md)), and for Telegram a `tg` profile you have
signed in to.

**On this page:**

1. [Short version](#short-version)
2. [LinkedIn](#linkedin)
3. [Google Contacts](#google-contacts)
4. [Contacts as a vCard file](#contacts-as-a-vcard-file)
5. [Calendar](#calendar)
6. [WhatsApp chat](#whatsapp-chat)
7. [Telegram](#telegram)
8. [Your own tables](#your-own-tables)
9. [A folder of tables](#a-folder-of-tables)
10. [Find it afterwards](#find-it-afterwards)
11. [Remove an import](#remove-an-import)

## Short version [#short-version]

Every export goes in two steps. `check` reads the file and writes nothing: it shows what the import would add and
lists, one line each, what it leaves out. Then `import` writes it. Loading the same file again changes nothing.

`--account import:linkedin` names an **import account**: a label you choose, under which the loaded data is kept. Use
one name per export, so you can search it on its own and remove it in one step. Never put an export under a
messenger's own account.

| Export | Check, then import |
| --- | --- |
| LinkedIn archive (`.zip` or its folder) | `wcat records import Basic_LinkedInDataExport.zip --account import:linkedin` |
| Google Contacts (Google CSV) | `wcat records import contacts.csv --account import:google --region es` |
| Contacts as vCard (`.vcf`) | `wcat records import contacts.vcf --account import:contacts --region gb` |
| Calendar (`.ics`, or a `.zip` of them) | `wcat records import calendar-export.zip --account import:calendar` |
| WhatsApp chat (`.txt` or its `.zip`) | `wcat records import 'WhatsApp Chat with Lena Ortiz.txt' --account import:whatsapp --me 'Noor Haddad'` |
| Telegram Desktop (`result.json`) | `tg personal import ~/Downloads/Telegram/result.json --yes` |
| Your own table (`.csv` or `.json`) | `wcat records import people.csv --type person --account import:crm` |
| A folder of tables | `wcat records import ./crm-export --account import:crm` |

Run `wcat records check` with the same arguments first, and `tg personal import` with `--dry-run` in place of `--yes`.
`wcat` tells the kind of export from the file names and their first lines. When it cannot, add `--format`, such as
`--format whatsapp`.

## LinkedIn [#linkedin]

**Get it.** On LinkedIn on a computer, click **Me**, then **Settings & Privacy** → **Data Privacy** → **Download your
data**. Choose the full archive, or only the data you need, such as connections and messages, and click **Request
archive**. LinkedIn emails a link: in about 10 minutes for a few kinds of data, within 24 hours for the full archive.
The link works for 72 hours ([LinkedIn Help](https://www.linkedin.com/help/linkedin/answer/a1339364)).

**From 20 December 2026, LinkedIn leaves e-mail addresses, companies and titles out of the connections file.** Request
your archive before that date if you can: an earlier archive still has them.

**Load it.** Give the `.zip` as it came, or the folder you unpacked it into:

```sh
wcat records check Basic_LinkedInDataExport.zip --account import:linkedin
wcat records import Basic_LinkedInDataExport.zip --account import:linkedin
```

**What it becomes:**

- **Each connection is a person**, with their name, profile page, the date you connected, and their e-mail address
  and title when the archive has them. A person you already have with the same e-mail address is linked, not
  repeated. Names never decide a match.
- **Each company is an organization**, and the person is a member of it with their title as the position.
- **Messages and invitations with a note** become messages, one conversation per LinkedIn conversation. Your own
  messages are marked as sent by you when the archive shows which profile is yours. Otherwise every message counts as
  received, and `check` says so.
- **The other tables**, such as your profile and positions, are kept as documents, so a search finds their words.

**Not kept.** Attachments are named, not copied. Reactions, endorsements and the remaining tables are text only, not
people or messages. A company is a name only, so it stays separate from the same company in your CRM.

**A later archive goes into a new import account**, such as `import:linkedin-2027`. An archive from after
20 December 2026, loaded into the account of an earlier one, takes your connections' companies away.

Load the archive with `wcat` only. The `files` tool reads other tables of the archive as documents, so loading it with
both keeps the same words twice.

## Google Contacts [#google-contacts]

**Get it.** Open [Google Contacts](https://contacts.google.com) on a computer. Check any contact, then choose
**Selection Actions** → **All**. Click **More actions** → **Export**, choose **Google CSV** and click **Export**
([Google Help](https://support.google.com/contacts/answer/7199294)).

**Load it.** `--region` is the country for phone numbers written without `+`, such as `es`, `gb` or `ru`. Without it,
such a number is kept but not used to find the person.

```sh
wcat records check contacts.csv --account import:google --region es
wcat records import contacts.csv --account import:google --region es
```

**What it becomes:**

- **Each contact is a person** with all their e-mail addresses and phone numbers. Someone you already have with the
  same address or number is linked, not repeated.
- **Each company is an organization**, the person a member of it, with the first title as their position.
- **The contact's notes** are kept as a document about the person, so a search finds their words. Addresses, websites,
  labels and the birthday are kept with the contact.

**Not kept.** Name prefixes and suffixes, phonetic names, the department, relations, dates other than the birthday,
messenger names, custom fields, the photo and every title after the first. The export gives a contact no id, so a
contact whose number you change comes in as a new record from the next export, and as a second person when no
e-mail address matches.

Contacts from Google Takeout come as a vCard file instead: load them as [a vCard file](#contacts-as-a-vcard-file).

## Contacts as a vCard file [#contacts-as-a-vcard-file]

**Get it.** A phone, an address book or a CRM can save its contacts as one `.vcf` file. Use its export or share
command for all contacts.

**Load it** into an import account, or under your phone's name, such as `phone:pixel`, beside its SMS and calls:

```sh
wcat records check contacts.vcf --account import:contacts --region gb
wcat records import contacts.vcf --account import:contacts --region gb
```

**What it becomes.** Each card is a person, linked to the one you already have with one of its e-mail addresses or
phone numbers, or a new person. Its company becomes an organization, its title the position, and its note is kept so a
search finds its words.

**Not kept as a match.** A number written without `+`, loaded without `--region`, is kept but not compared. That card
can become a second entry for someone you already have, and `check` names such cards.

## Calendar [#calendar]

**Get it.** In [Google Calendar](https://calendar.google.com) on a computer, click the gear icon → **Settings** →
**Import & export** → **Export**. You get a `.zip` with one `.ics` file per calendar. For one calendar, open its
**Settings and sharing** and click **Export calendar** ([Google Help](https://support.google.com/calendar/answer/37111)).
Google Takeout gives the same files. Other calendar apps export `.ics` too.

**Load it.** Give the `.zip`, the folder or one `.ics` file:

```sh
wcat records check calendar-export.zip --account import:calendar
wcat records import calendar-export.zip --account import:calendar
```

**What it becomes:**

- **Each event** keeps its title, start and end, place, description and link, in a calendar named as in the export.
- **The organizer and each attendee with an e-mail address** become people, linked to those you already have with
  that address.
- **A repeating event is one event** with its rule kept. It is not copied onto each date. A changed occurrence is an
  event of its own.

**Not kept.** Cancelled events, reminders, attendees' answers and attachments. Tasks and attendees without an e-mail
address, such as rooms. An event whose time zone cannot be read is left out, and `check` names it. An event that two
calendars share is kept once. An event loaded before and cancelled later stays: remove it with its import
([Remove an import](#remove-an-import)).

## WhatsApp chat [#whatsapp-chat]

**Get it.** In WhatsApp on your phone, open the chat, open its menu and choose **More** → **Export chat**. Send the
file to your computer. The import reads the text only, so media are not needed.

**Load it.** `--me` is your name as the chat writes it. With it, your messages are marked as sent by you. Without it,
every message counts as received.

```sh
wcat records check 'WhatsApp Chat with Lena Ortiz.txt' --account import:whatsapp --me 'Noor Haddad'
wcat records import 'WhatsApp Chat with Lena Ortiz.txt' --account import:whatsapp --me 'Noor Haddad'
```

- **A `.txt` without the archive.** A chat exported as `.txt` from iPhone or Android loads with the same command,
  no flag needed. This works since wcat 3.10.5.
- **Dates.** Whether the day or the month comes first is read from the file. When the file cannot tell, `check`
  refuses it: add `--date-order dmy` (day first) or `--date-order mdy` (month first). It never guesses.
- **Time zone.** The export names none, so the times are read in your computer's zone. For a chat written in another
  zone, add `--timezone Europe/Madrid`. `check` says which zone it used.

**What it becomes.** One conversation per file, with its messages and one person per sender. A sender is known by
the name the chat shows, within this import account only. A sender shown as a phone number is also found by that
number, when it starts with `+` or you give `--region`.

**Not kept.** Notices such as someone joining or the encryption notice. Reactions, quoted replies, edits and
deletions, which the export does not hold. Media are named, not copied. The export has no message ids, so a message
edited before a later export comes in as a new message beside the old one.

The chat stays in its import account, apart from the history the [WhatsApp tool](/llms.mdx/docs/wa/content.md) syncs.

## Telegram [#telegram]

**Get it.** In Telegram Desktop, open **Settings** → **Advanced** → **Export Telegram data**, choose the chats and
the **JSON** format. For one chat, open its menu and choose **Export chat history**
([Telegram](https://telegram.org/blog/export-and-more)).

**Load it** into the Telegram profile of the account you exported. In these examples the profile is `personal`: the
name you gave your Telegram account in `tg`. Put your own.

```sh
tg personal import ~/Downloads/Telegram/result.json --dry-run
tg personal import ~/Downloads/Telegram/result.json --yes
```

`--dry-run` counts the chats and messages it would add and what it would skip. `--yes` writes them. Nothing connects
to Telegram.

**What it becomes.** Chats and messages in your Telegram history, kept the same way a sync keeps them. A message you
already have stays as it is, and a later sync adds no copies. Chats you have left are searchable but not listed among
your chats.

**Not kept.** Service messages, such as someone joining, and the messages of a group from before it became a
supergroup. Forum topics, reactions and views. Attachments are named, not copied: keep the export folder if you want
the files.

- **Another account's export** is refused. One chat's export carries no account details, so load it only into the
  profile that made it.
- **Size.** A file up to 256 MB is read. Export a large chat on its own, or a shorter period, and load each file.

## Your own tables [#your-own-tables]

A table you prepare in a spreadsheet works too: people, companies, messages, meetings, deals or documents, one kind
per file. Get its columns from a template:

```sh
wcat records templates list
wcat records templates show person > people.csv
```

Fill one row per entry. `external_id` is your own id for the row:

```csv
external_id,name,email,position
p-mira,Mira Olsen,mira@acme-test.org,Project lead
p-tomas,Tomas Berg,tomas@acme-test.org,Engineer
```

```sh
wcat records check people.csv --type person --account import:crm
wcat records import people.csv --type person --account import:crm
```

- **Links between rows.** A column that points at another row takes that row's `external_id`, such as
  `organization` = `c-harbour` on a person. The row it points at must be in the same import or already loaded: a link
  to a row of another file works when you [load the folder](#a-folder-of-tables). A column that may point at several kinds takes the kind and the id, such as
  `organization:c-harbour`. A column that takes many values splits them with `|`, such as `p-mira|p-tomas`.
- **People are matched by e-mail address, phone number or profile page.** A row with none of them is a new person.
  A name alone never matches.
- **A JSON file** that holds a list of rows with the same column names works like a table:
  `wcat records import people.json --type person --account import:crm`.
- **Each refusal names the line and the column**, so you can fix the cell and check again.

A message row names its conversation (`thread`), `sender` and `recipients`. A meeting row names its `attendees`.
Both point at person rows, never at names.

## A folder of tables [#a-folder-of-tables]

Put several tables in one folder and load them together. Each file's name gives its kind: `people.csv` or
`contacts.csv`, `companies.csv`, `messages.csv`, `meetings.csv` or `events.csv`, `deals.csv` and so on.

```sh
wcat records check ./crm-export --account import:crm
wcat records import ./crm-export --account import:crm
```

A link from `messages.csv` to a person in `people.csv`, or from a person's `organization` column to a row of
`companies.csv`, works in the same run. A file whose name names no kind, such as
`README.txt`, stops the whole folder before anything is written: move it out first.

## Find it afterwards [#find-it-afterwards]

Find a person by name or by e-mail address, then see everything about them:

```sh
wcat search people 'Mira Olsen'
wcat search people mira@acme-test.org
wcat context person:12
```

Search everything, or only one import:

```sh
wcat search all 'harbour drawings'
wcat search all 'harbour drawings' --source import:linkedin
wcat search messages 'harbour drawings'
wcat events list account:import:calendar 'starts_at:[2025-01-01 TO 2025-12-31]'
```

`wcat events list` shows only the weeks around today unless you give it a date range, as in the last line.

Each hit names the account it came from, such as `import:linkedin`. Your agent can ask the same way:

```text prompt
Use wcat CLI. Who among my LinkedIn connections works at Harbour Works, and what did we last write to each other?
```

More ways to ask: [Search](/llms.mdx/docs/search/content.md) and [People](/llms.mdx/docs/people/content.md).

## Remove an import [#remove-an-import]

A test load, or one into the wrong account, goes in one step: everything that import account holds, and the people
only it made.

```sh
wcat records clear --account import:whatsapp
wcat records clear --account import:whatsapp --yes
```

Without `--yes` it only counts what it would remove. A person you tagged or gave a task to, or one another source
knows, stays. A Telegram export is part of your Telegram history, so it is not removed this way.
