Back to Blog
HubSpotRevOpsCRM

HubSpot imports with associations: contacts, companies and deals without duplicates

Abhishek Singla Nov 30, 2026 13 min read
The short answer

Use HubSpot's multi-object import. Put each contact, its company and its deal on one row, or use two files that share a common column, and key every object on a unique identifier: Record ID for anything already in HubSpot, Email for contacts, and Company domain name for companies. Rows without an identifier create new records, and deleting the records from an import's view removes what that import created but does not reverse what it updated, so test on a small file first.

An import is the step in a HubSpot migration where duplicates and broken associations can start. Decide the keys first: which object is matched on what, which records already exist, and which values must stay as they are. The HubSpot implementation guide covers the order of the build. This page covers the import of contacts, companies and deals together. Where the file sits in the wider move is the CRM migration playbook, and the same keying decision applies when you move from another CRM.

Cover for the HubSpot imports guide: key every object, then import, and test a small file first.

What a multi-object import does

One run can import several objects, associate them, and include activities such as calls and meetings. Open More, then Data Management, then Data Integration. If More is hidden, open Data Integration directly, or use Import at the top right of an object index page. Choose Import data, then Advanced imports (all objects), select the objects, and choose Single file or Multiple files (HubSpot's article on importing multiple objects).

Each object has its own mode.

Create and update creates rows it cannot match and updates rows it can. New records need the required properties. Updates need a unique identifier.

Update existing only updates matches and ignores new records. It suits an enrichment back-fill, where a new row should be skipped.

Create new only creates records and skips a row whose identifier already exists, including an Email that matches an additional email. The existing contact is left unchanged. Use it only after those rows are out of the file (HubSpot's article on import errors).

On a single-file Create and update import, an object with no identifier is matched on its columns. Identical data across rows becomes one record, and that record can associate to the others on those rows. Differing data creates separate records. Single-object imports, Create new only, and Update existing only do not follow that rule (HubSpot, HubSpot's article on formatting import files).

Association labels need Professional or Enterprise. You need Import and Edit permission for each object in the file (permissions guide). Existing emails, meetings, notes and tasks cannot be updated by import, in any mode (HubSpot). This is CRM setup work, next to the wider CRM and RevOps build.

Pick the identifier for each object before you build the file

Map the key on the mapping screen. It shows a key icon. A row with no identifier creates a new record (HubSpot).

Record ID works on every object and supersedes every other identifier. A blank Record ID cell creates a new record. Name the columns apart, such as Record ID - Contacts and Record ID - Companies (HubSpot). Before an update, export existing records with their Record IDs and one shared property, match the incoming file, and split existing rows from new rows (HubSpot's article on deduplicating records).

Email deduplicates contacts. When the email matches, the import updates that contact and changes only the properties you mapped. No Email and no other contact identifier means a new contact per row. If several contacts already share that email, the row errors and is skipped (HubSpot).

A secondary email matches the existing contact. Without a Record ID column, it does not replace the primary. With a Record ID column, and the secondary email used as the identifier, it replaces the primary (HubSpot). A new contact cannot take an Email that is already an additional email on someone else. Extra addresses go in Additional email addresses, separated by semicolons (HubSpot). See the CRM audit guide.

Company domain name deduplicates companies. HubSpot keeps the value only up to the top-level domain, such as .com or .edu, and strips anything after it. No domain and no other company identifier means a new company on every row. Several companies already on that domain cause the row to error and skip (format, duplicates).

Companies created through the application programming interface (API), including by a sync app, are not deduplicated by domain. An import keyed on domain then skips the row when more than one company matches. Merge those duplicates before the import (HubSpot).

For companies without a domain, key on a custom property that requires unique values. HubSpot allows up to ten of those per object, and you pick the one to match on at the details step. That picker is hidden when Record ID is present, because Record ID wins. A custom company key means Company domain name no longer has to be unique, so strip duplicate domains if one company per domain still matters. Contacts still require a unique Email (import, duplicates). Settle the property's internal name before you create it, because it cannot be changed later (property cleanup guide).

Deals have no email and no domain. Update an existing deal by an exported Record ID, or by a custom unique-value property such as the source system's deal ID. A new deal with no identifier follows the identical-data rule below: matching deal columns become one deal, and any difference creates another (HubSpot). A custom object uses the same keys (custom objects guide).

One file or two

One file
The association sits on the same row
Best for a contact, its company and its deal
The way to bring in more than two objects
A second company or deal is a second row
Two files
One column appears in both files
Best when each object is its own export
Two objects, or one object and one activity
You name which object that column keys

One file puts an identifier for each object on the same row. One contact at two companies is two rows that share the contact identifier. Leave the identifiers out and HubSpot creates duplicate records instead of associating each row to the same record (HubSpot).

Ana Weber (ana.weber@harbor.example.com) and Jonas Klein (jonas.klein@westbridge.example.com) both sit on Harbor, harbor.example.com, with a deal named Harbor platform and the same pipeline, stage and amount. In a single-file Create and update import, with no deal identifier, that is one deal and one company, and both contacts associate to them. Change Jonas's amount and HubSpot creates a second deal (HubSpot).

Two files share one column. One file has a unique value on every row. The other repeats it. You name the column, then say which object it keys. HubSpot's contact-and-company sample uses Company name, which works when each name appears once. When names repeat, use Company domain name or Record ID in both files. Two files hold two objects, or one object and one activity. More than that belongs in one file (HubSpot's sample import files).

Building the file

Use a comma-separated values (CSV) file, .xlsx or .xls, with one sheet, a header row, fewer than 1,000 columns, and UTF-8 if the characters sit outside basic English. Headers can be in any order and should name a HubSpot property (HubSpot).

Contacts need Email, companies need Name or Company domain name, and deals need Deal name, Pipeline and Deal stage. Pipeline and stage must already exist, with the stage on that pipeline, or the record is not created or updated. Other enumerations must match the label or the internal value. Lifecycle stage must match the internal value or the English label (HubSpot). Naming stages is in the deal stages guide.

Dates can be day-month-year, month-day-year or year-month-day. Confirm Date format and Number format on the details step. US dollar amounts use a decimal, such as 123.45. A blank cell is ignored and does not clear an existing value (HubSpot).

Use the sample files, or generate an example. Limits run on a rolling 24 hours (HubSpot).

  • Free tools: files up to 20 MB, 50 imports a day, 500,000 rows a day. A larger file takes more than one day.
  • Smart CRM, or Starter, Professional or Enterprise: files up to 512 MB, 500 imports a day, 10,000,000 rows a day, 1,048,576 rows in one file.
  • Either: 3 imports at once, up to 2 of them over 10,000 rows. A fourth waits in a queue.

Ana's two rows share her email and Harbor, on two deals. Jonas's second row repeats Harbor platform exactly, so that deal stays one record. Pipeline and Deal stage must already exist. Names and example.com domains are placeholders.

Email,First name,Last name,Company name,Company domain name,Deal name,Pipeline,Deal stage,Amount
ana.weber@harbor.example.com,Ana,Weber,Harbor,harbor.example.com,Harbor platform,Sales Pipeline,Appointment scheduled,12000.00
ana.weber@harbor.example.com,Ana,Weber,Harbor,harbor.example.com,Harbor expansion,Sales Pipeline,Qualified to buy,8000.00
jonas.klein@westbridge.example.com,Jonas,Klein,Westbridge,westbridge.example.com,Westbridge rollout,Sales Pipeline,Appointment scheduled,15000.00
jonas.klein@westbridge.example.com,Jonas,Klein,Harbor,harbor.example.com,Harbor platform,Sales Pipeline,Appointment scheduled,12000.00

Association labels and same-object associations in an import

Labels need Professional or Enterprise. Create the label first, then add an Association label column. Primary in that cell marks the company association as primary. On the mapping screen, set Import As to Association label. The imported label is added and does not replace a label already there. With two objects, HubSpot fills in the pair. With more than two, you pick the two objects the label describes (import, format).

Several labels in one cell are separated by a semicolon, as in Manager; Billing contact. For a paired label across two objects, put one side in the file and HubSpot assigns the other. Which labels to create is the association labels guide.

Same-object associations need the same-object checkbox, and one side must already exist. You can associate a new contact with an existing one. You cannot create two new contacts and associate them together. Match existing contacts and companies on the primary email or primary domain. Several records in one cell are separated by a semicolon. On a paired label, the associated-identifier column gets the label in the file, and the other record gets the other side (HubSpot).

Protect what is already in HubSpot

Don't overwrite is a per-property checkbox under Manage existing values. The import still fills the property on a new record, and on an existing record that has never had a value. It leaves the property alone when a value is there now, or was there before and the field is empty now (HubSpot). A blank cell will not clear a value either. Clear one by editing, or with the Edit records workflow action (HubSpot). Update existing only is the other guard.

Leave owner and Lifecycle stage out of an update file unless you mean to write them. An owner cell takes the user's name, email or the internal value. Use the email when two users share a name, or Owner stays empty. Setting an owner by import does not notify that user (format, errors). Lifecycle stage must match its internal value or its English label. Turn Don't overwrite on for any property the portal should keep.

A workflow that enrolls on create will see the new rows. Check those triggers and turn the workflow off, or confirm it will not enroll this file (workflows playbook). On Enterprise, run the test in a standard sandbox (sandbox guide). For a large file, have someone read the identifier plan before the full run, or send it to us for a second opinion.

Run a test import, then check it

  1. Take a sample of 10 to 25 rows. That is the size we work with, not a HubSpot rule. Include at least one existing record, one new record and one association you can check by eye. Same mode, keys and Don't overwrite choices as the full file.
  2. Name the import, confirm date and number formats, tick the consent checkbox (contacts expect to hear from you, and the file is not a purchased list), then Finish import (HubSpot).
  3. On File imports, compare New records, Updated records, New associations and Errors with the plan. The summary card shows rows imported, new records and updated records (HubSpot's article on past imports).
  4. Counts can fall below the row count when several rows are one record. A secondary email updates the existing contact, so it does not add a new one (HubSpot).
  5. If Errors is above zero, open View rows with errors and download the zip. The CSV has the error code, object and reason. Error impact says whether the row failed or only that value. Sensitive values show as REDACTED (HubSpot).
  6. Open five records, and each object. Read the properties you mapped and the association cards.
  7. Run the full file when those five match. Use as template for new import keeps the mapping. Imports older than six months, and opt-out imports, cannot be templates. The original file downloads for six months, for the importing user or a Super Admin (HubSpot).

How to undo a HubSpot import

From View records, pick one object at a time, select the records and choose Delete. That removes records the import created. If you updated existing records, you will not be able to reverse the changes by deleting. Write the old values back with another import, or edit them (HubSpot). Export every object you will update first, with Record ID and every property the file will touch.

Contacts, companies, emails, products, appointments, custom objects and the other HubSpot-defined records on the restore page can be put back for 90 days: object index, three-dot menu, Restore records. It shows 10,000 at a time and needs Account access plus Add and edit users. Permanent and GDPR deletions are not kept. Deals are not named there (HubSpot's article on restoring deleted records). An import sent through the API has no View records action, and HubSpot's past-imports article lists the other ways to find its records (HubSpot).

When to stop using CSV imports

A migration file belongs in the import tool. A load that repeats belongs in an integration, the imports API, or an n8n workflow that logs the rows it could not write. Scheduled enrichment is the Clay write-back guide, and it follows the same identifier rules.

The imports API is the same job for a file you will send again: create and update, create only, or update only. The daily ceiling is 80,000,000 rows. Each file is still limited to 1,048,576 rows or 512 MB, whichever comes first. Past either limit, the request returns HTTP 429 (HubSpot's imports API guide).

Mistakes we see in HubSpot imports

No identifier on companies. Each row becomes a new company. Key them on Company domain name, Record ID, or a custom unique property.

A deal stage that is not on that pipeline. The record is not created or updated. Copy the pipeline name and the stage label, or the internal value, from property settings.

Two companies written on one row. One row carries one company identifier. The second company is a second row with the same contact identifier.

Owner or lifecycle stage added in passing. Both write onto matched records unless Don't overwrite is on. Leave them out of an enrichment file.

A file meant to update emails, meetings, notes or tasks. Existing records of those four cannot be updated by import.

Deleting the import to undo an update. Delete removes selected records. Overwritten properties stay. Re-import the pre-import export on Record ID.

FAQ

How do I import contacts and companies together in HubSpot?

Use Advanced imports (all objects). In one file, put the contact and the company on the same row with Email and Company domain name, or Record ID if they exist. Two companies means two rows. Two files need one common column, and you say which object it keys. Start from HubSpot's sample files (import, samples).

How do I import deals and associate them with contacts?

Put the deal on the contact's row with Deal name, Pipeline and Deal stage, matching options already in that pipeline. Two deals are two rows. Update an existing deal by Record ID. With no deal identifier, identical deal columns on a Create and update import become one deal (HubSpot).

How do I stop a HubSpot import creating duplicates?

Key every object. Record ID supersedes the others. Email deduplicates contacts, and Company domain name deduplicates companies up to the top-level domain. No identifier means a new record. A secondary email matches the existing contact and, with a Record ID column, can replace the primary. Companies created through the API are not deduplicated by domain (HubSpot).

Can I import association labels?

Yes, on Professional or Enterprise, after the label exists. Map the column as Association label. The label is added and does not replace one already there. With more than two objects, pick the pair. Separate several labels with a semicolon (HubSpot).

Can I undo an import in HubSpot?

Delete created records from View records, one object at a time. Updates are not reversed that way, so keep a pre-import export with Record IDs. Contacts, companies and the other types on HubSpot's restore page can be restored for 90 days. Deals are not named there (history, restore).

How many rows can I import into HubSpot?

Free tools: 500,000 rows a day, files up to 20 MB, 50 imports a day. Smart CRM, or Starter, Professional or Enterprise: 10,000,000 rows a day, 1,048,576 rows per file, files up to 512 MB, 500 imports a day. Both allow 3 imports at once, up to 2 over 10,000 rows, on a rolling 24 hours. The imports API allows 80,000,000 rows a day, with the same per-file cap (limits, API).

Planning a migration or a large import starts with the identifier on each object and the values the file is allowed to overwrite. We can review that plan and the test file before anything is written into the portal.

Talk to us