# Creating Workflow Branch Based on Email Opened Last 6 Emails

**URL:** <https://community.hubspot.com/t/creating-workflow-branch-based-on-email-opened-last-6-emails/93135>\
**Category:** Lists, Lead Scoring & Workflows\
**Tags:** workflows, contacts, marketing-email\
**Created:** [November 2, 2023, 10:52am UTC](https://community.hubspot.com/t/creating-workflow-branch-based-on-email-opened-last-6-emails/93135 "2023-11-02T10:52:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TKruijer](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@TKruijer](https://community.hubspot.com/u/TKruijer)\
**Post date:** [November 2, 2023, 10:52am UTC](https://community.hubspot.com/t/creating-workflow-branch-based-on-email-opened-last-6-emails/93135/1 "2023-11-02T10:52:59Z")

</div>

I want to make a branch in a workflow that looks at the emails opened. I want to set the marketing contact status from contacts as non-marketing contact when they haven’t opened the last 6 marketing emails. Does someone know how to do this?

---

<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:** [November 2, 2023, 10:55am UTC](https://community.hubspot.com/t/creating-workflow-branch-based-on-email-opened-last-6-emails/93135/2 "2023-11-02T10:55:13Z")

</div>

Hi @TKruijer,

Yes, this can easily be achieved with the “Sends since last engagement” contact property. Simply set a branch filter for it to be greater than or equal to 6:

> - [Sends since last engagement](https://knowledge.hubspot.com/email/what-is-graymail-and-how-can-i-avoid-sending-my-email-to-unengaged-contacts): the number of marketing emails that have been sent since the last engagement, specifically email open or link click.
> 
> * * *

Let me know if you have any follow-up questions!

---

<div class="post-metadata">

**Author:** ![TKruijer](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@TKruijer](https://community.hubspot.com/u/TKruijer)\
**Post date:** [November 16, 2023, 10:55am UTC](https://community.hubspot.com/t/creating-workflow-branch-based-on-email-opened-last-6-emails/93135/3 "2023-11-16T10:55:47Z")

</div>

@karstenkoehler I have a follow-up question if you don’t mind. I also want to mark contacts as non-marketing contact when they have unsubscribed from 2 or more lists in the workflow. I can’t see the right properties for this. Do you know if this is possible?

---

<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:** [November 17, 2023, 5:35am UTC](https://community.hubspot.com/t/creating-workflow-branch-based-on-email-opened-last-6-emails/93135/4 "2023-11-17T05:35:13Z")

</div>

@TKruijer what exactly do you mean by unsubscribing from a list?
