Skip to content

How to Create Flexible HubSpot Automatic Associations with Koalify

 Featured Image

In HubSpot, records that look like duplicates are not always true duplicates.

Sometimes they are actually related companies: a parent company and its subsidiaries, a franchise network, regional offices, or multiple legal entities under one group.

In those cases, you usually do not want to merge the records. You want to associate them correctly.

HubSpot supports company associations, including parent–child relationships. But HubSpot’s native automatic association options are limited. Out of the box, HubSpot can only associate records automatically when one matching property is identical across records.

That works for simple cases. But it breaks down when your logic depends on multiple signals, such as:

  • same website domain
  • same LinkedIn company page
  • different location

That’s where Koalify comes in.

In this guide, we’ll walk through how to use Koalify to create flexible, rule-based HubSpot associations, including parent–child structures.

 

Why HubSpot Automatic Association Is Limited

HubSpot allows you to create automatic associations between companies using matching property values.

However, you can only match on one identical property.

That works for simple use cases like:

  • Same domain name
  • Same custom ID
  • Same account number

But it doesn’t work well when relationships are more nuanced, like franchises that share a domain but have different physical locations. For those scenarios, you need more flexible detection logic.

Why HubSpot Automatic Association Is Limited V2

 

Step 1: Use Koalify Duplicate Rules to Detect Parent–Child Relationships

Although Koalify is often used for deduplication, its rule engine can also be used to detect related records rather than true duplicates. You define your own logic.

For example, in a franchise or multi-location setup, you might detect related companies when:

  • the domain name or LinkedIn company page matches
  • the location details (street address, city, state, or region) are different and known
  • the company does not already have a parent company

This could indicate:

  • McDonald’s HQ (primary company)
  • McDonald’s – 1528 Broadway, New York, NY 10036
  • McDonald’s – 600 N. Clark St, Chicago, IL 60654
  • McDonald’s – 14/16 Blake Street, London

They share core identifiers but operate from different addresses.
With Koalify, you can create a rule that detects these relationships automatically.

Use Koalify Duplicate Rules to Detect Parent–Child Relationships 2

 

Step 2: Define Primary Rules to Identify the HQ

Once potential matches are detected, you define a primary rule.

The primary rule determines which company becomes the “HQ” — the parent company.

For example:

  • If company name contains “HQ”
  • Or based on a custom property

Koalify assigns a Koalify Primary Duplicate ID, which always refers to the parent (HQ) record.

This ID becomes the key to automation.

Define Primary Rules to Identify the HQ

Step 3: Validate the Rule in HubSpot

Before automating anything, validate your setup:

  1. Go to Companies
  2. Create a filter
  3. Filter on the Koalify duplicate rule you created to show you all potential parent-child relationships

You’ll see all companies that match your parent–child criteria.

At this stage, nothing is associated. You’re just confirming that your logic works as expected.

Validate the Rule in HubSpot

Step 4: Create an Automatic Association Workflow

Now we move to automation.

In HubSpot:

  1. Create a new company-based workflow
  2. Choose “When filter criteria is met”
  3. Use the Koalify duplicate rule as your enrollment trigger
  4. Enroll only child companies where the primary duplicate is false

Create an Automatic Association Workflow

 

Step 5: Configure the Association Action

Add the workflow action: Associate record with another record

Choose:

  • Object: Company
  • Association label: Parent

Here’s where Koalify adds real flexibility.

Instead of matching on a simple property, you match:

  • Koalify Primary Duplicate ID
  • With the Record ID of the parent company

Because Koalify guarantees that the primary duplicate ID always points to the HQ record, HubSpot can create the correct association automatically.

This enables true rule-based automatic association workflows in HubSpot.

Why HubSpot Automatic Association Is Limited V2

 

Step 6: Test Automatic HubSpot Associations with Manual Enrollment

Before turning on full automation:

  1. Manually enroll a child company
  2. Check enrollment history
  3. Review logs
  4. Confirm that the parent association was created

You should now see:

  • A parent company association label
  • The correct HQ linked

You can extend this further by:

If you also want child companies within the same group to be linked to one another, refer to the sibling associations article we created earlier.



Test Automatic HubSpot Associations with Manual Enrollment

 

 

Important Note on Existing Parent–Child Relationships

If records are already associated with each other, Koalify will not flag that same relationship again.
Instead, it may move to the next best matching company in the set.

To avoid confusion, consider either:

  • excluding existing child companies from the duplicate rule, as we did earlier
  • also creating sibling associations between child companies

This is especially useful when some parent–child relationships already exist and you want to avoid misleading new suggestions.

Fully Automate the Process

Once validated:

  • Switch enrollment from manual to automatic
  • Enroll existing companies
  • Let the workflow run continuously

Now, whenever a company meets your rule criteria:

  • It is automatically detected
  • It is automatically associated to the HQ
  • It receives the correct HubSpot association labels

No manual review required.

 

Why This Is More Flexible Than Native HubSpot Associations

With Koalify, you can:

  • Match on multiple properties
  • Include or exclude records conditionally
  • Create advanced parent–child detection logic
  • Avoid merging companies that shouldn’t be merged

This is especially powerful for:

  • Franchises
  • Multi-location businesses
  • Subsidiaries
  • Account hierarchies
  • Complex CRM migrations

you can create reliable automated HubSpot associations that reflect your real-world account structure

Final Thoughts

HubSpot’s built-in automatic association works well for simple use cases.

But when relationships depend on multiple signals such as domain, LinkedIn, address, and custom properties, you need more control. By combining Koalify’s flexible rule engine with HubSpot workflows, you can create reliable, automated HubSpot associations that reflect your real-world account structure.

If your CRM includes franchises, subsidiaries, or parent–child companies, this approach keeps your data structured without merging records incorrectly.

 

Frequently Asked Questions about Automatic Associations in HubSpot