Hi everyone ![]()
I’m working on a mechanism in HubSpot that would allow me to monitor the number of consecutive disqualified leads for a company, and I’m wondering if anyone has implemented something similar or has an idea for the best way to approach it.
Current setup
At the moment:
-
I have a rollup property at the company level that shows the total number of disqualified leads.
-
Based on this property, I created a segment showing companies where the number of disqualified leads is less than 5.
The problem
This approach becomes inefficient at scale because it doesn’t take the order of the leads into account.
For example, I want to distinguish between:
-
Disqualified → Disqualified → Disqualified → Disqualified → Disqualified -
Disqualified → Disqualified → Disqualified → Disqualified → Qualified → Disqualified
In the second scenario, the company should still appear in the segment because there have never been 5 consecutive disqualified leads. The qualified lead should effectively reset the counter.
Goal
I would like to build a mechanism that:
-
counts only consecutive disqualified leads
-
resets the counter whenever a lead is qualified
-
allows me to exclude companies once they reach 5 consecutive disqualified leads
My questions
-
Is this something that can be achieved natively in HubSpot?
-
What properties and/or workflows would I need to create to achieve this logic?
-
Would a custom property such as “Current Disqualification Streak”, combined with a workflow that increments or resets the value based on the lead status, be a viable approach?
-
If this cannot be done natively, what would be the recommended approach — Custom Code, an external integration, or something else?
I’d really appreciate any suggestions or examples of how you would approach this.
Thanks!