Using Existing HubSpot Associations to Fill in Missing Relationships


How to Create HubSpot Associations Using Relationships Instead of Fields

Your company talks about having a 360° customer view—knowing who is engaging, whether or not they are leads, what they are buying, what support issues they are having, etc. But if you don't have all the relationships in place, you may be missing some key parts of the picture. Since you have some pieces of the profile, you want to leverage the existing relationships to fill in the missing relationships.

With Insycle's Associate app, you can automatically detect relationships and use them to link contacts, companies, deals, custom objects, and other object types in bulk. You can create hierarchical associations such as child and parent relationships, and you can copy data between the linked records. This will maintain order in your HubSpot CRM and give your teams a complete picture of every account.


Process Summary

  1. Set up the filter to focus only on a relevant segment of records.
  2. Configure rules that tell Insycle what relationships to use to create the associations.
  3. Optionally, copy a value between the associated records.
  4. Preview the changes and apply them to HubSpot.

Step-by-Step Instructions

Step 1: Filter Records Down to Those You Want to Associate

Navigate to RevOps Acceleration > Associate.

Select the database and the record type in the top menu. Then explore the templates for an existing solution that may be close to what you need.

Each row in Step 1 is for a field you want to look at to determine whether to include or exclude a record from this operation. With this filter, you're telling Insycle what records you would like to update. 

In the below example, deals that do have an Associated Contact ID, and do not have a Primary Associated Company ID, and were created in the last 24 hours will be included in this task.


When you click Search, Insycle will list records in the Record Viewer at the bottom of the page. If you make changes to the filter, click the Search button again to refresh the viewer.

Step 2: Configure Rules That Will Create the Relationship

Next, you'll define the rules for filling in the missing associations on the source records by looking at the existing relationships. (The source is the record type selected in the top menu.) This example will associate deals to companies.

Under Step 2, click the Related tab and configure the rules:

  1. The Action tells Insycle what to do to the records surfaced in Step 1. You can AddRemove, or use the Replace action to remove existing associations and create new ones.
  2. The Association is the relationship you want to create, the one that is missing on the source record. In the below example, we want to create a relationship between deals and companies.
  3. On the Related From dropdown, select the association that already exists on the source records, and already has the same relationship you want to add to the source records. In this example, the deal records are already associated with contact records, and those contacts are already linked to companies. 
  4. On the Related To dropdown, select the relationship from the associated record to copy to the source record. In this example, we'll copy the contact's associated company to the deal.


Select HubSpot Association Labels

Use the HubSpot association Labels to categorize the relationships or filter the related records. A Label option must be selected for each rule. If you don't want any labels applied, use the Unlabeled option.

  1. Use the Association Labels to categorize the relationship. You can add, remove, or replace one or more labels based on the Action you've selected. In the below example, the new relationship between a deal and company will be labeled as "Primary."
  2. The Related From Labels act as a filter where only the existing associated records with the matching labels will be used/looked at. In the example, only contact records with a "Decision Maker" label will be used.
  3. The Related To Labels act as a filter where only relationships with the selected label will be copied to the source record. In this example, only companies with "Primary," or "Branch" labels will be added to deals.


Learn more about managing HubSpot labels with Insycle.

Step 3: Optionally, Copy Values between the Newly Associated Records

If there is valuable information in either of the records you are creating the relationships with, you can automatically copy values between them to avoid errors and save time.

Under Step 3, select the field from the source record type (in this example, deals), and the relevant field on the target records (companies). You can choose to copy values from the source record to the target, or target record to the source.

The Copy Rule gives you three options:

  • Only when [the record you're linking to] field is empty
  • Only when [the record you're linking from] field is not empty
  • Always copy


The preview CSV will include these fields, and specify if the value was copied for each record.

Step 4: Preview then Apply Changes to HubSpot

Preview Changes in the CSV Report

Now with the filters and association actions in place, you can preview the changes to ensure the relationships will be created as expected when applied to your live HubSpot database.

Under Step 4, click the Review button, then select Preview in the popup.


On the Notify tab, add any additional recipients who should receive the CSV (and make sure to hit Enter after each address). You can also provide additional context in the message subject or body.

On the When tab, click Run Now and select which records to apply the change to (in most cases this will be All, but if you have a large number of records, you may just want to do a chunk for a test), then click the Run Now button.


Open the CSV file from your email in a spreadsheet application and review the columns. Each row in the CSV includes:

  1. Source record type (in this example, deals), with the ID, Deal name, and deeplink to the HubSpot record
  2. Related record type (contacts), with the ID, email, and deeplink
  3. Record type to be associated (companies), with the ID, company name, and deeplink
  4. Result of the association. This example shows, "Added" which means an association was made.


If you set a copy operation up in Step 3, the CSV will also include info about the copy results.

If the results don't look the way you expected, go back to your filters in Step 1 or functions in Step 2 and try making some adjustments, then preview again.

Apply Changes to HubSpot

If everything in your CSV preview looks correct, return to Insycle and move forward with applying the changes to the live HubSpot data.

Under Step 4, click the Review button again, and this time select Update mode.

On the When tab, you should use Run Now the first time you apply these changes to the CRM.


Save a Template and Set Up Automation

After you've seen the results in HubSpot and you are satisfied with how the operation runs, you can save all of the configurations as a template and set up automation so this association operation runs on a set schedule.

Return to the Template menu at the top of the page and click Copy to save your configurations as a new version of whatever template you started with. Then click the pencil to edit your new template name.


Under Step 4, click the Review button, and select Update mode.

On the Notify tab, select the send option appropriate for your automation: Always send, Send when errors, or Do not email.

Add any additional recipients who should receive the CSV (and make sure to hit Enter after each address). You can also provide additional context in the message subject or body.


On the When tab, select Automate, and configure the frequency you'd like the template to run. When finished, click Schedule.


Create a template for each segment and association configuration, then you can create a Recipe to automatically run them together. You can also integrate Insycle Recipes into HubSpot Workflows.

Create a Recipe and Integrate with HubSpot Workflows

When you have a solid set of templates that reliably associate your records, you can put them together into a longer, ordered sequence as a Recipe. Then, you can schedule that Recipe to run on a consistent, set schedule. Your templates will run one after another in the order that you set.

To add your Recipe to a HubSpot Workflow, it must be automated and set to Execute as HubSpot Workflow Action.

Learn more about associating records in HubSpot Workflows.


Advanced How-Tos

Using Existing Relationships to Fill In Additional Associations Use Case

Let's say you are a SaaS company, and someone has signed up as a user for a trial which creates a contact and a deal that are already associated. HubSpot automatically creates an association between the contact and company using the domain, but you also want to create a relationship with the company the deal is for.


In the Associate app, you select the Deals object type, since this is part of the association you want to create. On the Related tab of Step 2, you tell Insycle to look at the contacts that are associated with each deal, then take the company from each contact and add it to the deal record.


Insycle then goes through all of the deals in your segment and associates deals to companies based on what's in the related contact records.



There's a "Failed, not related to [Companies] through [Contacts] association" Result in the CSV

If you receive a "Failed, not related to [Companies] through [Contacts] association" error, this indicates the record associated to your selected source record type does not have the association you are looking for.


For example, if you are setting up the process to associate deals to companies by looking at the contact records, if a contact doesn’t have a company associated with it, there is nothing to copy to the deals.


I get an "Association Validation Error" when I click the Review button

If you click the Review button under Step 4 and are met with an "Association Validation Error" message, it's most likely that you forgot to set the Labeling for one or more of your association rules.


Under Step 2, each part of the association rule must have one or more Label options selected. If you don't want any labels applied, use the Unlabeled option.


Remember, the Association Labels categorize the relationship, the Related From Labels act as a filter on the related record, and the Related To Labels act as a filter on the relationships to be copied to the source record. For more detail, see the Step 2: Configure Rules That Will Create the Relationship section above.

Frequently Asked Questions

Why is the number of results different in the Record Viewer, Result popup, and CSV?

When using existing associations to fill in missing relationships you may notice one number of results in the Record View and the When tab of the Review settings...


...and another number on the Result popup and CSV.


In the above example, both the Record Viewer and the Review settings showed 11 records, which is how many records meet the filter criteria in Step 1. But after the operation was run, the Result popup and CSV show 73 because when you associate records using the Related tab there are additional records affected.

For example, let's say you are associating deals and companies based on the existing relationships between deals and contacts, and contacts and companies. In this scenario, say the filter in Step 1 yields only one deal, so the Review settings show "All=1." When the operation runs though, Insycle finds that there are two contacts related to the deal. Contact A is related to three companies, and Contact B is related to two. So there are five companies in total, which in this case are all associated to the one deal, and a row for each of the five will appear in the CSV indicating the association was added. 


Can Insycle associate activities with a company or other record?

No, Insycle does not currently allow you to access, update, or associate activities.

Can I associate companies to deals instead of deals to companies?
Yes, you can associate record types in either direction. If you run into issues, sometimes switching the direction in which you are creating the relationships can help.
How can I use a Recipe?

You can save several templates and string them together into a longer, ordered sequence. This can then be automated to run on a set schedule. 


Get more help with Recipes, or learn Why Data Management Is So Time-Consuming and How Recipes Can Help.

Additional Resources

Related Help Articles

Related Blog Posts