Associating a Contact with a Company using Record IDs via CSV Import

I have imported separate excel spreadsheets of Companies and Customers. I have the Hubspot-assigned Records IDs for each. How do I associate companies and customers in bulk via .csv using Hubspot’s Records IDs?

If I open an individual contact, assign them manually to a company, then export that contact, the Record ID of the Company appears in a column labeled “Associated Company IDs”. Clearly Hubspot has the field available for export, but it doesn’t appear as an option when importing/updating customers as a mappable field. Is it under another name?

NateElliott_0-1700693261073.png

If not, what solutions are available?

Note: I cannot use emails, domains, or phone numbers to base associations on as these records may only be partially complete and vary by customer. Some customers do not provide email addresses. Many companies do not have websites (smaller shops). I want to use the fields that natively exist within HubSpot.

Thanks!

Hi @NateElliott ,

This can be done. To associate contacts with companies in an upload, you’ll want to add a column in your spreadsheet with the company ID for each contact you wish to associate, make the header for this column Record ID - Company. If you’re updating existing contacts and inputting records with no email you’ll also want to be sure to have a column for the contact ID as well, otherwise, you’ll end up with duplicates. Set it up something like this plus add any other contact properties you wish to include:

BSmith08_4-1700711921373.png

When uploading you’ll want to select “Multiple Objects”, and in your case, pick contacts and companies.

Next when you’re mapping the fields just before you upload, set “Import as” for the company ID to “Record ID - Companies”, similarly for contacts set “Import as” for the contact ID to “Record ID - Contacts”

From here you should be good to upload! Hope this helps.

Cheers,

Ben

Hello @BSmith08-
Is this still an option?
I am trying to create new contacts while also associating them to a company record ID. All of the companies already exist in my hubspot instance. I have already pulled the company record IDs and performed some vlookups in excel to get the company ID associated to the right contact.
I now want to push the excel in to create new contacts but tie them to the company IDs.
When I select Import I get the below screen and I select the first box:

Then it directs me to this screen:

And then I get this screen..nothing that says “Multiple Object”

If I select both companies an contacts and move to the next screen I don’t get a check box to “assocate the records”. If I select only contact, I can associate contact to contact records and if I select only company it only allows to associate company to company.
I can’t see how to do a company to contact association via record IDs. Please help!

Is this still the method to be used? There are some prompts and UI that has changed around the import process since this post was answered.

Thanks!

Is this still an option?
I am trying to create new contacts while also associating them to a company record ID. All of the companies already exist in my hubspot instance. I have already pulled the company record IDs and performed some vlookups in excel to get the company ID associated to the right contact.
I now want to push the excel in to create new contacts but tie them to the company IDs.
When I select Import I get the below screen and I select the first box:

Then it directs me to this screen:

And then I get this screen..nothing that says “Multiple Object”

If I select both companies an contacts and move to the next screen I don’t get a check box to “assocate the records”. If I select only contact, I can associate contact to contact records and if I select only company it only allows to associate company to company.
I can’t see how to do a company to contact association via record IDs. Please help!

I’ve got the same issue. Its not clear what to do.

Hi @EmmaSchmitt, I hope that you are well!
Thanks for asking the HubSpot Community!
I understand that you’d like to associate a contact to a company via import. Please let me know if that’s not the case.
So that we can help you the best we can, I’d like to ask some clarifying questions please:
1. Are the contacts new contacts or already existing contacts?
2. Are the companies new companies or already existing companies?
If they are existing records, you’ll want to first export them (to get the Record ID) and then proceed with the import.
Here are some resources that might help you:
- Set up import files
- Import records and activities
- Generate an example import file
- Sample import files
- Review and troubleshoot import errors
I’d love to consult with our Top Experts: Hi @Anonymous, @Josh and @karstenkoehler do you have any tips to help @EmmaSchmitt, please?
Have a fantastic day and thanks so much for your valuable contributions!
Bérangère

Hi

1. Are the contacts new contacts or already existing contacts? - mixture of both
2. Are the companies new companies or already existing companies? - existing companies.

Its primarily a Contact import. The only column in the upload file that is a Company property is the Company Record ID that is the company that the Contact works for. I want to associate each Contact with its corresponding Company, using a custom association that I’ve already set up between for Companies and Contacts.
(email domains for my Contacts dont always match the Company domains. Plus I have a custom Company/Contact associations I want to use)
The following is not clear in the help & community articles and upload wizard:
1. Do I choose just a Contact object import, or both Company and Contacts (seems to be both becuase otherwise it doesn’t offer “Associations” in the mapping step, but its not clear)
2. In the mapping step, what are the settings for the Company Record ID row? Is it “Import As” = “Company properties” and “Hubspot Property” = “Record ID”, OR “Import As” = “Association label” and “Hubspot Property” = “Contact and Company”. I think its the former, but its not clear. I’m not updating the Company Record IDs, just using them to ensure that the Contacts are associated with that exact Company.
Thanks

Hi @EmmaSchmitt. Yes, you need to choose both Company and Contact so you can associate the records. You also need to have the Contacts already in your CRM so you have their record IDs, especially since you mentioned the email obstacle.

As for the mapping step, you don’t want to overwrite, you want to associate. So I would choose “Import As” = “Company properties” and “Hubspot Property” = “Record ID” also.

Advice: Do this with only a couple of records in a small import first. Maybe two contacts with their two companies. This way you can see how the import goes and if the associating worked as expected.