APIs & Integrations

nickgoloborodko
投稿者

Merging contacts does not fire webhooks for properties that are changed

解決

We use webhooks to keep data in sync with our internal ERP system.

Looks like if two contact are merged - the webhooks are not fired for the contact that is merged to.

This causes us a lot of headaches with data going out of sync. When will this be resolved and what are the current workarounds?

Thanks,
Nick

1件の承認済みベストアンサー
VMackay
解決策
メンバー

Merging contacts does not fire webhooks for properties that are changed

解決

If I'm understanding your question correctly. There is a webhook for merge. Although past association changes it doesn't send the properties that are changed.  What it sends is something like the json below. The work around I'm using is to make a get request to the hubapi with the newObjectId and setting the fields in the system I'm integrating to with that response.

[

  {
    "eventId": 3096252513,
    "subscriptionId": 1997119,
    "occurredAt": 1678934801130,
    "subscriptionType": "contact.merge",
    "attemptNumber": 0,
    "objectId": 17851,
    "changeSource": "CRM_UI",
    "newObjectId": 17851,
    "primaryObjectId": 17851,
    "mergedObjectIds": [
      17701
    ],
    "numberOfPropertiesMoved": 42,
  }
]

元の投稿で解決策を見る

14件の返信
VMackay
解決策
メンバー

Merging contacts does not fire webhooks for properties that are changed

解決

If I'm understanding your question correctly. There is a webhook for merge. Although past association changes it doesn't send the properties that are changed.  What it sends is something like the json below. The work around I'm using is to make a get request to the hubapi with the newObjectId and setting the fields in the system I'm integrating to with that response.

[

  {
    "eventId": 3096252513,
    "subscriptionId": 1997119,
    "occurredAt": 1678934801130,
    "subscriptionType": "contact.merge",
    "attemptNumber": 0,
    "objectId": 17851,
    "changeSource": "CRM_UI",
    "newObjectId": 17851,
    "primaryObjectId": 17851,
    "mergedObjectIds": [
      17701
    ],
    "numberOfPropertiesMoved": 42,
  }
]
05537
メンバー

Merging contacts does not fire webhooks for properties that are changed

解決

It seems like every day I hit another baffling fundamental blocker like this thanks to hubspot. It's so bad for engineers.

Sambo
参加者 | Diamond Partner
参加者 | Diamond Partner

Merging contacts does not fire webhooks for properties that are changed

解決

There are two Ideas, that can be upvoted:
https://community.hubspot.com/t5/HubSpot-Ideas/Webhooks-to-trigger-on-merge/idi-p/437948
https://community.hubspot.com/t5/HubSpot-Ideas/Offer-a-webhook-event-for-merged-records/idi-p/432497

Hopefully, we can find a solution for this soon! 

Sami Sundberg
HubSpot Freelancer | Digital Architect



Did my post help answer your query? Help the community by marking it as a solution.

0 いいね!
KMurota
トップ投稿者

Merging contacts does not fire webhooks for properties that are changed

解決

Update please.



Kan Murota | Founder of Hyper Automation Design Studio
logo
0 いいね!
MCoghlan
参加者

Merging contacts does not fire webhooks for properties that are changed

解決

Any update or workaround please?

atoukourou
参加者

Merging contacts does not fire webhooks for properties that are changed

解決

Any update on this issue please ?

GARDUIN
参加者

Merging contacts does not fire webhooks for properties that are changed

解決

Any update on this issue please ?

GavL89
メンバー

Merging contacts does not fire webhooks for properties that are changed

解決

I'm having the same issue as well, we have external systems which rely on data being associated to company and contact ids in hubspot, the web hooks are not triggered on a merge and so the data in our systems becomes orphaned.

cbisnett
参加者

Merging contacts does not fire webhooks for properties that are changed

解決

Not only is there no way to subscribe to a merge event, but merging doesn't trigger a deleted event either. So when merging two companies the secondary company is deleted but there is no event.

 

Even if a merge subscription is not added is it possible to at least trigger a deleted webhook for the company or contact that is deleted during the merge? With this I think we could work around not having a merge event and try to resolve the data through the API. Without it, we're left with corrupt data that we only identify as bad when we try to use the API in the future.

phil_swelly
参加者

Merging contacts does not fire webhooks for properties that are changed

解決

any update from HubSpot on that?

 

Or any workaround?

Dedupely
投稿者

Merging contacts does not fire webhooks for properties that are changed

解決

To say that this is massively important for our (common) customers is an understatement. We need this functionality. Otherwise we need to do workarounds that make customers less happy with the solution and takes large amounts of time out of our schedules.

 

Any way I can push this up the dev team's priority list?

BradHarder
メンバー

Merging contacts does not fire webhooks for properties that are changed

解決

Is there any update on this?

We have some data that exists externally that requires updating when companies are merged, and there doesn't appear to be any webhook triggers available to create. It also doesn't seem to fire any of the "update" triggers that I have set for fields.

0 いいね!
Derek_Gervais
元HubSpot社員
元HubSpot社員

Merging contacts does not fire webhooks for properties that are changed

解決

Hi @nick-goloborodko,

I'm not entirely sure if this is working as designed or not; I know that we exclude contact merges from triggering certain functionality to avoid certain things like erroneous workflow enrollments. let me dig into this with my team; I'll update this thread when I have more info.

0 いいね!
PG3
参加者

Merging contacts does not fire webhooks for properties that are changed

解決

Hello,

 

Could you please update ?

 

Thank you

 

0 いいね!