# Deal attribution

**URL:** <https://community.hubspot.com/t/deal-attribution/126032>\
**Category:** Reporting & Analytics\
**Tags:** object\
**Created:** [February 13, 2025, 11:33am UTC](https://community.hubspot.com/t/deal-attribution/126032 "2025-02-13T11:33:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NM96](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@NM96](https://community.hubspot.com/u/NM96)\
**Post date:** [February 13, 2025, 11:33am UTC](https://community.hubspot.com/t/deal-attribution/126032/1 "2025-02-13T11:33:56Z")

</div>

We are trying to figure out how to correctly find the correct source of created deals and automate this process.

The goal is that when a new deal is created, we automatically get the source of the deal. Example:  
Deal name: _Company Name 2025_

Amount: _$XX.XXX.XXX_

Company: _Company Name_

Main source: _Event_

Sub source: _Event name_

Each deal has an associated company. The problem is that, if the company was created in HubSpot years ago, and only activated recently, the company creation source will still be the one from years ago, thus won’t be correct and will essentially be worthless.

As for contacts, we cannot automatically associate the source of the contact with a deal because:  
a) we don’t know which contact specifically to use

b) using the latest added contact often won’t give the correct results

c) using the first contact added to the company brings us to the same issue as the company of that contact being created ages ago and not being related to the current state of events anyway  
Any tips on how to combat this issue?

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [February 13, 2025, 6:37pm UTC](https://community.hubspot.com/t/deal-attribution/126032/2 "2025-02-13T18:37:51Z")

</div>

Hi @NM96! Welcome to the Community-- happy to have you here 😊

I understand you are trying to automate Deal sources. Can you share some context on how you are creating deals? This will make a difference in how the sources are defined and what options you may have.

_Best,_

Kennedy

---

<div class="post-metadata">

**Author:** ![NM96](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@NM96](https://community.hubspot.com/u/NM96)\
**Post date:** [February 13, 2025, 9:56pm UTC](https://community.hubspot.com/t/deal-attribution/126032/3 "2025-02-13T21:56:10Z")

</div>

We do have the option to create the deals and ask the sales to add sources of the deal in the process. The problem is, that doesn’t automate the process, but rather it’s a manual task for them to complete each time they create a new.

---

<div class="post-metadata">

**Author:** ![kennedyp](https://avatars.discourse-cdn.com/v4/letter/k/49beb7/32.png) [@kennedyp](https://community.hubspot.com/u/kennedyp)\
**Post date:** [February 24, 2025, 8:22pm UTC](https://community.hubspot.com/t/deal-attribution/126032/4 "2025-02-24T20:22:13Z")

</div>

So it sounds like your sales reps currently are creating deals manually, is that correct? They may be able to import deals with the sources labeled. Dynamic associations may be possible with [Operations hub](https://www.hubspot.com/products/operations) or some custom code.  
Are there any values stored on the Contacts or Companies that could be used to identify them as the proper object to associate with the deal?
