# Email Template being sent triggering workflow

**URL:** <https://community.hubspot.com/t/email-template-being-sent-triggering-workflow/104959>\
**Category:** Sales Email\
**Tags:** enterprise\
**Created:** [April 16, 2024, 8:04pm UTC](https://community.hubspot.com/t/email-template-being-sent-triggering-workflow/104959 "2024-04-16T20:04:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KLallemont](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@KLallemont](https://community.hubspot.com/u/KLallemont)\
**Post date:** [April 16, 2024, 8:04pm UTC](https://community.hubspot.com/t/email-template-being-sent-triggering-workflow/104959/1 "2024-04-16T20:04:17Z")

</div>

Is there a way to have an email template that is sent be the trigger in a workflow?

My goal is that when a template with the contract is sent to a contact, it will automatically create an associated deal with the name of the contract and place it in the Deal stage as Contract sent.

---

<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 16, 2024, 8:12pm UTC](https://community.hubspot.com/t/email-template-being-sent-triggering-workflow/104959/2 "2024-04-16T20:12:10Z")

</div>

Hi @KLallemont,

It’s not possible to filter for templates directly but you can use an email subject line as a trigger. In a workflow, you would enroll based on filter criteria, then use the drop-down to switch to “Activity” filters and in there, you can specify an activity date less than 1 day ago and an email subject containing a phrase or keyword from your quote emails.

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