Hi @robertoarnaut ! Thanks for the tag @stassey .
This is an interesting one!
Sam is correct, there is not a native way to filter Tasks by a Contact field, but I think we could build a workaround depending on what you have access to with your HubSpot Subscription.
Assuming you can access workflows, edit task Queues, and build Custom Properties:
If filtering Tasks by Contact Lifecycle is a must-have, I believe it could be done with a series of workflows, Custom Task Queues, and a helper property.
- Create Task Queues that match your Customer Lifecycle stages
- Create a helper Task Property titled “Check Task Queue” as a Y/N Checkbox.
- Build the workflows below to make the Task Queue update itself with the associated Contact’s lifecycle changes.
Workflow #1 - Task Object Triggered with Task creation OR Helper Field is YES > Branch by associated Contact Lifecycle > Replace Task Queue to match current Lifecycle Stage > IF Helper Field is Yes, switch to “No” > End Workflow
Workflow #2 - Contact Object Triggered with Lifecycle Property Change > Edit Associated Task Helper Field “Check Task Queue” to YES > End Workflow (this is a limitation, it will alter ALL tasks associated to the contact, not just a singular task)
This should effectively change the Queue for the Task every time the associated contact’s lifecycle updates, which would allow you to Filter by Task Queue which would match your Contact’s Lifecycle stages, effectively giving you that filter by lifecycle stage capability.
I did not build this live and test it yet, as I wanted to get this workaround to you as fast as possible, but I built it in my head and I believe it will work! If you’d like me to build an example for you to work with, I’m happy to do that!
Hopefully that helps, let me know how it goes!
Lindsey Norden
HubSpot Community Champion