Trigger webhook when Deal associations changes

Hi,

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

Hi @Zikoel,

I hope all is well with you :grinning_face_with_smiling_eyes:

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!

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!

Wendy,

The API docs (Accounts Dashboard | HubSpot) 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.

Hey @kloganproteus,

Sincere apologise for the misinformation above.

As Derek mentioned in this dev forum, the `num_associated_contacts` isn’t a supported property for HubSpot Webhook, as this property is treated differently from our backend.

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

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

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 ?

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