# Importing Contacts

> Add contacts to a list from a CSV or Excel file or a Google Sheet, and choose what each column becomes

URL: https://docs.lemuai.com/contacts/import

## Overview

You can add many contacts at once by importing a file or a Google Sheet into a contact list. Every imported row becomes a contact, or updates one you already have, and is added to the list you imported into.

## Import a file

**Step: Open the import**

Go to **Contacts**, open a list (or create one with **New Contact List**) and click **Import contacts**. The **Import Contacts** window opens with two tabs: **CSV or Excel file** and **Google Sheet**.

**Step: Choose your file**

On the **CSV or Excel file** tab, click **Choose a CSV or Excel file**. The first row must be the header. Not sure how to lay it out? Download the **Sample file** to start from.

**Step: Check each column**

Lemu reads the header and suggests what each column becomes. Change any column with its dropdown before importing (see the table below).

**Step: Import**

Click **Import N rows**. When it finishes you see a summary like "Import complete: 120 created, 15 updated, 0 failed, 3 skipped", with the reason for up to 20 rows that didn't import.

## What a column can become

| Option | What it does |
| --- | --- |
| **Phone** | The contact's phone number. Numbers are tidied into international format |
| **Email** | The contact's email address |
| **First name** / **Last name** | The contact's name |
| **Full name (split into first and last)** | One name column, split into first and last name for you |
| **Company** | Company name |
| **Job title** | Job title |
| **External ID** | The person's ID in your own CRM or system |
| **Tags (comma-separated)** | Tags for the contact. Commas, semicolons and vertical bars all work as separators |
| **Custom field** | Saves the column as a custom field. Type the field name you want |
| **Don't import** | Skips the column |

Columns that don't match a built-in field become custom fields. Their names are saved in lowercase with underscores, so a column called "Order Number" becomes `order_number`. If a custom field with nearly the same name already exists (only the case or spaces differ), the existing one is reused.

**Tip:** Custom fields can be used in agent prompts and messages as [template variables](https://docs.lemuai.com/voice-agent/template-variables).

## Rules for each row

- **Each row needs a phone, email or external ID.** Rows with none of these are skipped and listed with their row number.
- **Existing contacts are updated, not duplicated.** Lemu looks for a match by phone first, then external ID, then email.
- If two columns point at the same field, the first one with a value is used.
- Blank rows and empty columns are ignored.
- **Import** stays disabled until at least one column is set to Phone, Email or External ID, and every **Custom field** column has a name.

## File limits

| Limit | Value |
| --- | --- |
| File types | `.csv` and `.xlsx` |
| File size | Up to 50 MB. Split larger files into parts |
| Excel sheets | Only the first sheet is read |
| Phone | Up to 50 characters |
| Email | Up to 255 characters |
| First name, Last name | Up to 100 characters each |
| Company, Job title, External ID | Up to 255 characters each |

Your plan also sets how many contacts you can keep. If an import would go over it, Lemu tells you before importing.

## Import from a Google Sheet

On the **Google Sheet** tab, pick a sheet from your connected [Google Sheets](https://docs.lemuai.com/integrations/google-sheets) integration. A list linked to a sheet reads the sheet again when you import, so new and changed rows are picked up.

## Import from your own system

To send contacts from your CRM or database without a file, use the [Contacts API](https://docs.lemuai.com/api-reference/contacts/overview). One call can add up to 5,000 contacts.

## Next steps

- [Contacts](https://docs.lemuai.com/contacts/overview): How contacts, lists and custom fields work.
- [Segments](https://docs.lemuai.com/segments/overview): Build live groups of contacts from what they do.
