# Workflow that recognizes duplicate field values

**URL:** <https://community.hubspot.com/t/workflow-that-recognizes-duplicate-field-values/132784>\
**Category:** CRM\
**Tags:** starter\
**Created:** [May 15, 2025, 4:13pm UTC](https://community.hubspot.com/t/workflow-that-recognizes-duplicate-field-values/132784 "2025-05-15T16:13:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CClark3](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@CClark3](https://community.hubspot.com/u/CClark3)\
**Post date:** [May 15, 2025, 4:13pm UTC](https://community.hubspot.com/t/workflow-that-recognizes-duplicate-field-values/132784/1 "2025-05-15T16:13:05Z")

</div>

Hello,

I need help building a workflow. We have a project ID field on the deal level, in some situations multiple deals are attached to the same project and sometimes its the only deal for the project. We want a workflow that will look at this field and see if any other deals have this project ID and if so return a Yes or no to another field, a count of deals with that ID, or something that shows multiple projects has the same project ID. Does anyone have a work around or a fix for this?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [May 16, 2025, 4:23am UTC](https://community.hubspot.com/t/workflow-that-recognizes-duplicate-field-values/132784/2 "2025-05-16T04:23:45Z")

</div>

Hey, @CClark3 Have you looked at a [Custom Code Actions](https://developers.hubspot.com/docs/reference/api/automation/custom-code-actions)? My gut feeling here is that you will need to be selective on how you query your Deals looking for matches, as it will be inefficient to query all deals for each record. The [Search API](https://developers.hubspot.com/docs/guides/api/crm/search)should let you look for matches in a more efficient manner. I haven’t dug too deep, but [webhooks](https://developers.hubspot.com/docs/guides/api/app-management/webhooks) may be useful in this situation as well.

Have fun testing! — Jaycee

---

<div class="post-metadata">

**Author:** ![Jonas\_De\_Mets](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonas_de_mets/32/72908_2.png) [@Jonas\_De\_Mets](https://community.hubspot.com/u/Jonas_De_Mets)\
**Post date:** [May 16, 2025, 12:24pm UTC](https://community.hubspot.com/t/workflow-that-recognizes-duplicate-field-values/132784/3 "2025-05-16T12:24:24Z")

</div>

@CClark3 our app [Koalify](https://koalify.io/) will do exactly that to identify potential duplicates 😅  
You can create a rule that will highlight deals with the same “Project ID”.

These will be marked with our Koalify Properties. One of them is the number of duplicates.  
Which is essentiall the number of times that Project ID is found.

You can use it for free if you are not merging.

This is how it looks like for companies with the same “Custom ID”:

Hope this helps!

 ![Any Custom ID can be used in duplicate rules.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/4/54632c6f2e2d2b67d6009cec005b31a75fdd5f4f.png)
