APIs & Integrations

nickgoloborodko
Colaborador

Merging contacts does not fire webhooks for properties that are changed

resolver

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 Soluciones aceptada
VMackay
Solución
Miembro

Merging contacts does not fire webhooks for properties that are changed

resolver

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,
  }
]

Ver la solución en mensaje original publicado

14 Respuestas 14
VMackay
Solución
Miembro

Merging contacts does not fire webhooks for properties that are changed

resolver

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
Miembro

Merging contacts does not fire webhooks for properties that are changed

resolver

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

Sambo
Participante | Partner nivel Diamond
Participante | Partner nivel Diamond

Merging contacts does not fire webhooks for properties that are changed

resolver

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 Me gusta
KMurota
Colaborador líder

Merging contacts does not fire webhooks for properties that are changed

resolver

Update please.



Kan Murota | Founder of Hyper Automation Design Studio
logo
0 Me gusta
MCoghlan
Participante

Merging contacts does not fire webhooks for properties that are changed

resolver

Any update or workaround please?

atoukourou
Participante

Merging contacts does not fire webhooks for properties that are changed

resolver

Any update on this issue please ?

GARDUIN
Participante

Merging contacts does not fire webhooks for properties that are changed

resolver

Any update on this issue please ?

GavL89
Miembro

Merging contacts does not fire webhooks for properties that are changed

resolver

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
Participante

Merging contacts does not fire webhooks for properties that are changed

resolver

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
Participante

Merging contacts does not fire webhooks for properties that are changed

resolver

any update from HubSpot on that?

 

Or any workaround?

Dedupely
Colaborador

Merging contacts does not fire webhooks for properties that are changed

resolver

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
Miembro

Merging contacts does not fire webhooks for properties that are changed

resolver

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 Me gusta
Derek_Gervais
Exmiembro de HubSpot
Exmiembro de HubSpot

Merging contacts does not fire webhooks for properties that are changed

resolver

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 Me gusta
PG3
Participante

Merging contacts does not fire webhooks for properties that are changed

resolver

Hello,

 

Could you please update ?

 

Thank you

 

0 Me gusta