# Triggering a workflow every time a note is added to an object

**URL:** <https://community.hubspot.com/t/triggering-a-workflow-every-time-a-note-is-added-to-an-object/94914>\
**Category:** CRM\
**Tags:** workaround, workflows, professional, enterprise\
**Created:** [November 28, 2023, 10:29am UTC](https://community.hubspot.com/t/triggering-a-workflow-every-time-a-note-is-added-to-an-object/94914 "2023-11-28T10:29:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![PhilThomas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/philthomas/32/96352_2.png) [@PhilThomas](https://community.hubspot.com/u/PhilThomas)\
**Post date:** [November 29, 2023, 12:04pm UTC](https://community.hubspot.com/t/triggering-a-workflow-every-time-a-note-is-added-to-an-object/94914/6 "2023-11-29T12:04:18Z")

</div>

In this particular use case we didn’t need to identify whether it’s a note, we just needed a workflow to trigger whenever a note was added.

The actual workflow utilises custom code modules that obtain the “hs\_note\_body” values for all notes on a contact, then checks if the string values contain any text that matches a specific RegEx statement. If no matches are found it ends, or if any matches are found it modifies the “hs\_note\_body” values for those notes and updates them.

---

_[View the full topic](https://community.hubspot.com/t/triggering-a-workflow-every-time-a-note-is-added-to-an-object/94914)._
