# Branching logic with nested filters

**URL:** <https://community.hubspot.com/t/branching-logic-with-nested-filters/105891>\
**Category:** Lists, Lead Scoring & Workflows\
**Tags:** workflows\
**Created:** [April 26, 2024, 4:00pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891 "2024-04-26T16:00:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kylernixon](https://avatars.discourse-cdn.com/v4/letter/k/e56c9b/32.png) [@kylernixon](https://community.hubspot.com/u/kylernixon)\
**Post date:** [April 26, 2024, 4:00pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/1 "2024-04-26T16:00:43Z")

</div>

Hi all -

I have a reintroduction workflow, and at the end, I need contacts to branch to “engaged” or “unengaged” based on whether they click or open any of the emails in the workflow.

Based on the filters and nested filters in my screenshot below, is this accomplishing that?

OR - is this saying that the contact must click or open ALL of the emails in the workflow?

 ![Screenshot 2024-04-26 at 10.24.52 AM.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/7/7e26d5558b674d8491a36485fc40afea2e9e9e3d.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [April 26, 2024, 4:04pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/2 "2024-04-26T16:04:02Z")

</div>

Hi @kylernixon,

A contact would have to open all emails to meet the criteria (AND operator). If you want them to meet the criteria by just opening one, you would have to split them into multiple filter groups, connected by the OR operator.

Best regards!

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [April 26, 2024, 5:48pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/3 "2024-04-26T17:48:50Z")

</div>

Hi @kylernixon

Plus 1 on @karstenkoehler’s suggestion from me. Any particular reason why you are not just checking if a contact still is or isn’t on HubSpot’s “unengaged list”? It would make the branching logic and filters a lot easier.

Frank

---

<div class="post-metadata">

**Author:** ![kylernixon](https://avatars.discourse-cdn.com/v4/letter/k/e56c9b/32.png) [@kylernixon](https://community.hubspot.com/u/kylernixon)\
**Post date:** [April 27, 2024, 1:13am UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/4 "2024-04-27T01:13:13Z")

</div>

Hey Frank - Good question. We set our own engagement rules and have some unique needs compared to the out of the box HubSpot setup. A bit more work obviously, but makes our list cleaner for our purposes.

---

<div class="post-metadata">

**Author:** ![MReif](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MReif](https://community.hubspot.com/u/MReif)\
**Post date:** [October 9, 2025, 6:32pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/5 "2025-10-09T18:32:45Z")

</div>

If there are 3 groups separated by “OR” logic in a branch, are all 3 groups checked at once or are they checked one by one until one of the groups’ conditions are met? I.e. if the first group’s conditions are met, are the following not checked?

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [October 9, 2025, 6:42pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/6 "2025-10-09T18:42:19Z")

</div>

It’s done sequential - whatever condition is first met that is the path an object (e.g. contact) takes.

Sometimes that is what you want and sometimes it is not, so depending on what exactly it is your are checking and why this might be exactly what you need to happen, or not.

Of you care to outline your actual use case, I can be more specific.

---

<div class="post-metadata">

**Author:** ![MReif](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@MReif](https://community.hubspot.com/u/MReif)\
**Post date:** [October 9, 2025, 7:44pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/7 "2025-10-09T19:44:25Z")

</div>

![158233iD6C791F5D7CAEB4D.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/c/2cad5b68cf7976a89d1957082e357535ea04173c.png)

Basically our team is unsure whether the groups after the first group in this branch will be checked if the first group’s conditions are met. The “This branch can evaluate multiple values” statement underneath the “Edit action tab” is causing confusion and we are wondering if that means all the groups in this branch will be checked.

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [October 9, 2025, 7:46pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/8 "2025-10-09T19:46:47Z")

</div>

Hey @MReif - thanks so much for following up here with a more detailed explanation of your team’s process!  
Looking forward to what insight @franksteiner79 has on the logic!  
Shane, Senior Community Moderator

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [October 9, 2025, 8:09pm UTC](https://community.hubspot.com/t/branching-logic-with-nested-filters/105891/9 "2025-10-09T20:09:36Z")

</div>

Hi @MReif

It is my understanding - but I can not provide actual documentation for this, rather years of first hand experience - that Groups do not matter but the order branches you have.

The whole point of Group 1 OR Group 2 OR Group 3 is to say if any of these are met it equals my first branch criteria, in your case “Opened but didn’t click”. All will be checked and if any is true HubSpot treats it your “Opened but didn’t click” condition is met.

Frank
