Hi everyone,
I’m running into a limitation with HubSpot segmentation across associated objects.
My goal is to target contacts who purchased a specific product within an order placed on a given date.
The logical association path I need is:
Contact → Order → Line item
For example:
- order created between 2026-01-01 and 2026-01-31
- containing product X
The issue is that in the segment/list builder, I can only combine:
- Contact → Order
- and Contact → Line item
…but not Order → Line item from that specific filtered order.
As a result, HubSpot also includes line items from other orders linked to the same contact, sometimes from completely different dates, which makes the segment inaccurate.
So instead of filtering:
contacts who bought product X in January 2026
it behaves more like:
contacts who had any order in January 2026
and have ever purchased product X
Has anyone found a reliable way to enforce the association between the filtered order and its own line items inside a list/segment?
Maybe through datasets, custom objects, workflows, or another workaround?
Thanks in advance.
Hi @tricolor,
Welcome to the Community!
Great question! The short answer is that the native list/segment builder doesn’t currently support chained filtering across three associated objects in the way you’re describing. That said, I’d like to tag in some of our Top Contributors to see if there are any potential paths worth exploring!
Hey @karstenkoehler, @zach_threadint, @RomyFuchs1 -- Do you have any suggestions for @tricolor on this?
Thank you!
Sam, Community Manger
@tricolor As you pointed out, HubSpot evaluates assoociation filters independetly (Object A has property X AND Object B has property Y) rather than in a sequence (Object A has Object B which contains property Y).
The workaround depend a on how you intend to use the segmnet and how often you need it to be updated (if it’s a one-off or real-time update).
Options to explore are:
Property pass down - best for active lists
To follow HubSpot’s logic, you need the line item data to be added as a property.
- Setup prep: Create a custom property on the order object for “Products purchased” - set to multi-select or dropdown depending on how you want to use it. Avoid free-text fields to keep data clean.
- Workflow: Create a workflow to trigger on the order reaching a specific stage. It will look at the line item and then set/append property value to map a specific choice from the “product purchased” property.
- Result: Now you can build the list as an active list as it’s associated to an Order with dates & products: Contact is associated to an Order where ‘Create Date’ is Jan 2026 AND ‘Products Purchased’ contains Product X
If you want to append values and have several products in the property, make sure to add a branching check for each. Build it to look at one value at a time, in levels for each option, and use “go to action” if it appends the value to run the next check. This way you avoid a loop where it only checks one value.
Custom code - best for scale
Ops Hub Pro gives you to workflows where you can use custom code steps.
You can get an LLM to give you a script that essentially uses the same sequential logic you’ve outlined to find contacts to place in a static segment.
If you don’t have ops hub, Zapier, n8n, Make, Pipedream etc. can be used to execute the code.
Datasets - best for historical reporting and infrequent list building
Build a dataset, export the resulting list of contacts and upload it as a static list. Requires Ops Hub Enterprise and works when you need historical, infrequent reporting.
Thanks!
That’s amazing that HubSpot didn’t think of such a basic and important functionality.
I’m now using an external workflow to populate a “Products” property on transactions.
Have a nice day,