# Bulk Import associations between Contacts and Custom Object

**URL:** <https://community.hubspot.com/t/bulk-import-associations-between-contacts-and-custom-object/99331>\
**Category:** Account & Settings\
**Tags:** object, contacts\
**Created:** [February 2, 2024, 4:15pm UTC](https://community.hubspot.com/t/bulk-import-associations-between-contacts-and-custom-object/99331 "2024-02-02T16:15:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AEtman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aetman/32/94127_2.png) [@AEtman](https://community.hubspot.com/u/AEtman)\
**Post date:** [February 2, 2024, 4:15pm UTC](https://community.hubspot.com/t/bulk-import-associations-between-contacts-and-custom-object/99331/1 "2024-02-02T16:15:31Z")

</div>

Hi, I have a custom object called Events, and I want to use the bulk import feature to associate Contacts to these events.

The issue: associations are not being imported at all. Contacts and Events get properly updated, but associations are not there. My end result would be to have all contacts associated to that event.

- I have already created an association label between Events and Contacts

- Event Name is the “primary key” of the Event Object

- I have chosen to import “one file with multiple objects” My import file is an excel with three columns:

1. Event Name
2. Association
3. e-mail

- I’m mapping as per my picture below:

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/3/03d7a5f2fe2e293322f1a5ff6d4eb30e81f75467.png)

Any thoughts as to where I’m failing? Do I need to include an ID?

---

<div class="post-metadata">

**Author:** ![Josh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/josh/32/17115_2.png) [@Josh](https://community.hubspot.com/u/Josh)\
**Post date:** [February 2, 2024, 4:29pm UTC](https://community.hubspot.com/t/bulk-import-associations-between-contacts-and-custom-object/99331/2 "2024-02-02T16:29:34Z")

</div>

Hi @AEtman,

My recommendation is to download your Custom Object events, get the Record ID (as you mentioned), and use that for association. You can still use the email address on the contact side.

Josh

---

<div class="post-metadata">

**Author:** ![Lucila-Andimol](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lucila-andimol/32/69276_2.png) [@Lucila-Andimol](https://community.hubspot.com/u/Lucila-Andimol)\
**Post date:** [February 2, 2024, 4:29pm UTC](https://community.hubspot.com/t/bulk-import-associations-between-contacts-and-custom-object/99331/3 "2024-02-02T16:29:43Z")

</div>

Hey @AEtman

have you check out this “brand new” guideline about this?

> **[Import records for multiple objects](https://knowledge.hubspot.com/import-and-export/import-objects)**
>
> Import records for multiple objects in HubSpot using one or more files. Create and update records and automatically associate related data.

Hope this helps

---

<div class="post-metadata">

**Author:** ![AEtman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aetman/32/94127_2.png) [@AEtman](https://community.hubspot.com/u/AEtman)\
**Post date:** [February 5, 2024, 8:50am UTC](https://community.hubspot.com/t/bulk-import-associations-between-contacts-and-custom-object/99331/4 "2024-02-05T08:50:06Z")

</div>

Thanks Josh, adding the RecordID for Events in the import file solved it!

Do you know why are IDs still needed even if I’m using both records’ Unique Identifier fields?
