# Custom code and Company deduplication

**URL:** <https://community.hubspot.com/t/custom-code-and-company-deduplication/94500>\
**Category:** APIs & Integrations\
**Tags:** companies, workflows\
**Created:** [November 21, 2023, 4:35pm UTC](https://community.hubspot.com/t/custom-code-and-company-deduplication/94500 "2023-11-21T16:35:29Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![romeonoi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/romeonoi/32/221661_2.png) [@romeonoi](https://community.hubspot.com/u/romeonoi)\
**Post date:** [April 17, 2025, 6:00pm UTC](https://community.hubspot.com/t/custom-code-and-company-deduplication/94500/7 "2025-04-17T18:00:27Z")

</div>

Based on all this, I did this repo: [GitHub - romeoman/hubspot-company-dedup: This is a script used for HubSpot as a custom code in a workflow that deduplicates a company, merges companies together even if they are multiple companies. · GitHub](https://github.com/romeoman/hubspot-company-dedup)  
Enhanced it a bit with some tracking.  
hope it helps.

---

_[View the full topic](https://community.hubspot.com/t/custom-code-and-company-deduplication/94500)._
