# Workflows triggered by email subject line?

**URL:** <https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/95922>\
**Category:** Tickets & Conversations\
**Tags:** workflows\
**Created:** [December 12, 2023, 9:48pm UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/95922 "2023-12-12T21:48:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rockzau](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rockzau](https://community.hubspot.com/u/rockzau)\
**Post date:** [December 12, 2023, 9:48pm UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/95922/1 "2023-12-12T21:48:09Z")

</div>

Is there a way to trigger a workflow based on an email subject line?

For example if someone sends an email in with the subject line “Promo Code” I want the workflow to trigger and then send that email to John C. every time we get that subject line on an email.

This is regardless of who the contact is that sends the email to us. So it can be an existing contact or a new contact.

TIA

---

<div class="post-metadata">

**Author:** ![BSmith08](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bsmith08/32/80858_2.png) [@BSmith08](https://community.hubspot.com/u/BSmith08)\
**Post date:** [December 13, 2023, 1:28am UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/95922/2 "2023-12-13T01:28:46Z")

</div>

Hi @rockzau ,

Try using this as the enrolment criteria to your worklfow:

 ![BSmith08_0-1702430707667.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/6/b6dcc1e74586bfb3dab4d6c8d1012f09d33964d1.png)

You will also need to ensure that you are set up to properly log incoming emails to your instance. For help on setting that up you can refer to [this article](https://community.hubspot.com/t5/Gmail-Sales-Extension/Logging-incoming-emails-in-Hubspot/m-p/25078). Please let me know if this works.

Thanks,

Ben

_Did this help answer your question? If so, please help the community by_ _ **marking this as a solution.** _

---

<div class="post-metadata">

**Author:** ![rockzau](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rockzau](https://community.hubspot.com/u/rockzau)\
**Post date:** [December 14, 2023, 4:15pm UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/95922/3 "2023-12-14T16:15:18Z")

</div>

Thanks Ben. I’ll set this up and circle back around to let you know if this worked!

Thanks,

Rocky

---

<div class="post-metadata">

**Author:** ![EDoesburg](https://avatars.discourse-cdn.com/v4/letter/e/b19c9b/32.png) [@EDoesburg](https://community.hubspot.com/u/EDoesburg)\
**Post date:** [March 25, 2024, 1:46pm UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/95922/4 "2024-03-25T13:46:04Z")

</div>

Hi @BSmith08,  
I think this would only work once per contact as I read this:  
“Activities and activity properties cannot be used for re-enrollment in any type of workflow.”  
I want to make a workflow that associates a High priority to emails with ‘urgent’ in the subject line. So this might be a problem for that.  
Do you have a suggestion of how to deal with that?  
Thanks!  
Erik

---

<div class="post-metadata">

**Author:** ![MikeHendy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mikehendy/32/6948_2.png) [@MikeHendy](https://community.hubspot.com/u/MikeHendy)\
**Post date:** [March 6, 2025, 6:56pm UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/95922/5 "2025-03-06T18:56:19Z")

</div>

Does this still apply with new triggers? I cannot see these options.
