# Workflows triggered by email subject line?

**URL:** <https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/145060>\
**Category:** Productivity Tools\
**Tags:** workflows, tasks\
**Created:** [January 18, 2026, 2:56am UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/145060 "2026-01-18T02:56:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BColeman8](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@BColeman8](https://community.hubspot.com/u/BColeman8)\
**Post date:** [January 18, 2026, 2:56am UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/145060/1 "2026-01-18T02:56:22Z")

</div>

My team (who does not have Hubspot seat) often sends documents via email. How can I create a workflow that will assign me a task once an email is logged, and the document is in the attachment.

---

<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:** [January 18, 2026, 6:41am UTC](https://community.hubspot.com/t/workflows-triggered-by-email-subject-line/145060/2 "2026-01-18T06:41:48Z")

</div>

Hi @BColeman8,

Could you share a bit more context here?

How exactly are the emails sent, from HubSpot, from a connected team email address, from a personal inbox, using the BCC address, using a sales extension? To whom are these emails sent, are the recipients contacts in the HubSpot CRM?

Generally, tasks can’t have attachments. Tasks will be associated to records and records can have attachments.

A workflow that creates a task could be set up as follows:

- Enroll contact when filter criteria is met
  - Add criteria
  - Change ‘Filtering on’ dropdown from ‘Contact (Current Object)’ to ‘Email’
  - ‘Attached file IDs is known’

- Use ‘Create task’ workflow action

 ![karstenkoehler_0-1768718426671.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/e/5e84292004883ab2870f8e545f1706a1b0c279cb.png)

Keep in mind that re-enrollment based on this filter is not possible. If you need re-enrollment, you would have to create a segment with the same filter criteria (plus: ‘Activity date is today’) and re-enroll based on membership in this segment. Keep in mind that such a workflow can’t re-enroll multiple times per day, only once per day.

Best regards!
