packages/twenty-docs/user-guide/data-migration/how-tos/import-companies-via-csv.mdx
This guide walks you through importing your companies into Twenty. Companies should be imported first because People and Opportunities link to Companies.
| Field | Required? | Format | Notes |
|---|---|---|---|
| Name | Recommended | Text | Company display name |
| Domain | Recommended | https://domain.com | Unique identifier |
| Address | Optional | Multiple columns | See below |
| Employees | Optional | Number | Employee count |
| Custom fields | Optional | Varies | Must exist in Data Model |
This matches the format used when Companies are auto-created from email/calendar sync, preventing duplicates later. </Warning>
Domain columns:
acme.comhttps://acme.comAddress is a nested field with multiple columns:
Address / Address 1,Address / City,Address / State,Address / Country,Address / Post Code
123 Main Street,San Francisco,CA,USA,94105
name,Domain / Domain URL,Domain / Domain Label,Address / City,Address / Country,employees
Acme Corp,https://acme.com,acme.com,San Francisco,USA,250
Widget Co,https://widgets.co,widgets.co,New York,USA,50
Option 1: From the Companies View
Option 2: Using Command Menu
Cmd + K (Mac) or Ctrl + K (Windows)Twenty automatically tries to match your columns to fields. Review and adjust:
If you have Select or Multi-Select fields:
Before completing the import, Twenty validates your data:
| Error | Cause | Solution |
|---|---|---|
| Duplicate domain | Domain already exists in Twenty | Remove from file or update existing record |
| Invalid domain format | Wrong format | Use https://domain.com |
| Missing required field | Required field is empty | Fill in the value or remove the row |
Now you can import records that link to Companies:
To update companies instead of creating new ones:
domain or id column in your fileSee How to Update Existing Records for details.
Having issues? Check: