In HubSpot, duplicates aren’t always duplicates.
Sometimes, what looks like duplicate companies are actually parent–child relationships, franchises, subsidiaries, regional offices, or legal entities that belong under one HQ.
HubSpot supports associations, but automatic association in HubSpot is limited. By default, HubSpot can only create automatic associations when one matching property is identical across records.
If your logic requires more than one property, for example:
- Same domain
- Same LinkedIn company page
- Different street address
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.

Step 1: Use Koalify Duplicate Rules to Detect Parent–Child Relationships
Instead of detecting duplicates, Koalify’s duplicate rules can detect potential parent–child relationships.
You define your own criteria.
For example, in a franchise scenario:
- Company domain matches
- LinkedIn company page matches
- Street address is different and known
This could indicate:
- McDonald’s HQ (primary company)
- McDonald’s – New York
- McDonald’s – Chicago
- McDonald’s – London
They share core identifiers but operate from different addresses.
With Koalify, you can create a rule that detects these relationships automatically.

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.

Step 3: Validate the Rule in HubSpot
Before automating anything, validate your setup:
- Go to Companies
- Create a filter
- 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.

Step 4: Create an Automatic Association Workflow
Now we move to automation.
In HubSpot:
- Create a new company-based workflow
- Choose “When filter criteria is met”
- Use the Koalify duplicate rule as your enrollment trigger
- Enroll only child companies where the primary duplicate is false

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 HubSpot workflows.

Step 6: Test Automatic HubSpot Associations with Manual Enrollment
Before turning on full automation:
- Manually enroll a child company
- Check enrollment history
- Review logs
- 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:
- Creating sibling associations between child companies
- Adding additional association labels
- Applying stricter enrollment logic

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

Final Thoughts
HubSpot’s built-in automatic association works well for simple use cases.
But when relationships depend on multiple signals, domain, LinkedIn, address, 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
What is automatic association in HubSpot?
Automatic association in HubSpot allows you to link records (such as companies, contacts, or deals) based on matching property values. For example, HubSpot can automatically associate companies that share the same domain.
However, native HubSpot automatic association is limited to matching a single property and does not support complex multi-property logic.
Can HubSpot automatically create parent–child company associations?
HubSpot can create automatic associations when one property matches exactly. But it does not natively support multi-condition logic for parent–child structures.
If you need to match on multiple properties such as domain, LinkedIn page, and address you need a more flexible rule-based setup using workflows and custom logic.
How does Koalify improve HubSpot associations?
Koalify allows you to:
- Define flexible matching rules across multiple properties
- Detect potential parent–child relationships
- Assign a primary company (HQ) automatically
- Use workflows to create structured HubSpot associations
- Apply association labels such as “Parent” or “Subsidiary”
This makes automatic association in HubSpot scalable and accurate for complex CRM structures.
Can I automate company hierarchy in HubSpot?
Yes. Using Koalify duplicate rules combined with HubSpot workflows, you can automatically associate companies into parent–child structures without merging them.
This is ideal for franchises, subsidiaries, and multi-location businesses where records should remain separate but connected.