# Trigger webhook when Deal associations changes

**URL:** <https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [September 11, 2019, 12:24pm UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191 "2019-09-11T12:24:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zikoel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zikoel/32/841_2.png) [@Zikoel](https://community.hubspot.com/u/Zikoel)\
**Post date:** [September 11, 2019, 12:24pm UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/1 "2019-09-11T12:24:46Z")

</div>

Hi,

Is actually possible to trigger a Webhook when a Deal associations is changing?

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [September 12, 2019, 3:22am UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/2 "2019-09-12T03:22:56Z")

</div>

Hi @Zikoel,

I hope all is well with you 😄

Edited: Currently the HubSpot Webhook does not support the `num_associated_contacts` as this property (also known as calculated property) is treated differently on the back end. Here’s a list of calulated properties:

**Contacts:**

- days\_to\_close
- recent\_conversion\_event\_name
- recent\_conversion\_date
- first\_conversion\_event\_name
- first\_conversion\_date
- num\_unique\_conversion\_events
- num\_conversion\_events

**Deals**

- num\_associated\_contacts

I hope this helps to clarify!

---

<div class="post-metadata">

**Author:** ![Anders\_Iversen](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anders_iversen/32/77566_2.png) [@Anders\_Iversen](https://community.hubspot.com/u/Anders_Iversen)\
**Post date:** [October 21, 2019, 5:15pm UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/3 "2019-10-21T17:15:38Z")

</div>

Hi Wendy

I can’t seem to find the **num\_associated\_contacts property** when I try to add a new subscribtion to my webhook. I choose deal as object type, property changed as event to listen for, and then there’s no **num\_associated\_contacts** in the list of properties (I’ve also looked for something similar choosing contact or company as object\_type.

What am I doing wrong?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![kloganproteus](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kloganproteus/32/87988_2.png) [@kloganproteus](https://community.hubspot.com/u/kloganproteus)\
**Post date:** [February 24, 2020, 4:59pm UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/4 "2020-02-24T16:59:13Z")

</div>

Wendy,

The API docs ([Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview)) now says that the num\_associated\_contacts property of Deal is not supported for webhooks. Do you know if that is correct or if it has changed recently?

I’m trying to find a way to get notified when a Contact is added/removed from a Deal or a Company and came across this post.

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [February 25, 2020, 1:16am UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/5 "2020-02-25T01:16:30Z")

</div>

Hey @kloganproteus,

Sincere apologise for the misinformation above.

As Derek mentioned [in this dev forum](https://community.hubspot.com/t5/APIs-Integrations/Contact-Conversion-Webhooks-not-firing/td-p/235663), the `num_associated_contacts` isn’t a supported property for HubSpot Webhook, as this property is treated differently from our backend.

---

<div class="post-metadata">

**Author:** ![lazevedo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lazevedo/32/39641_2.png) [@lazevedo](https://community.hubspot.com/u/lazevedo)\
**Post date:** [March 27, 2023, 5:00pm UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/6 "2023-03-27T17:00:37Z")

</div>

Hubspot has fixed this issue, Webhooks now allow to subscribe to association changes, this is a very welcomed improvement.

 ![hubspot-association-changed.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/8/f8a526c66321fc4d825204235d93d5b1b9074a0c.png)

---

<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:** [March 27, 2023, 7:59pm UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/7 "2023-03-27T19:59:36Z")

</div>

Hey, @lazevedo 👋 Thank you very much for being a hero and updating this older post with current details 🙌 — Jaycee

---

<div class="post-metadata">

**Author:** ![dcabrera](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dcabrera/32/39641_2.png) [@dcabrera](https://community.hubspot.com/u/dcabrera)\
**Post date:** [October 12, 2020, 2:38pm UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/8 "2020-10-12T14:38:55Z")

</div>

Hi , I have this same issue now , i need a way to trigger and update to my ERP when a deal associate any contact , i already have webhooks to make update on other properties , but there isn’t a subscription type to listen this kid of change ?

---

<div class="post-metadata">

**Author:** ![ArunSundaram](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/arunsundaram/32/39641_2.png) [@ArunSundaram](https://community.hubspot.com/u/ArunSundaram)\
**Post date:** [February 17, 2021, 4:34am UTC](https://community.hubspot.com/t/trigger-webhook-when-deal-associations-changes/16191/9 "2021-02-17T04:34:48Z")

</div>

Hi,

As mentioned above, though “num\_associated\_contacts” is mentioned as not being supported by webhooks, I could manually add a subscription for this field (for Deal type) and **I am able to receive propertyChanged** payload for this property when a contact is newly associated/removed from a deal.

Is this not expected to happen?

Arun
