Webhook events not sequential

I wonder if it is possible to get the events from the webhook in sequential order, it’s so unpredictable most times and I get events for property change before I get the event to create a contact, or I get the event for association change before the event to create a contact or company. This makes it difficult to use the data coming from HubSpot.

Hi, @PAgoma :waving_hand: thanks for your question. You have noted a limitation of how HubSpot webhooks function. I If you have a moment, adding your suggestion to the Ideas Community and getting some upvotes will be very helpful in getting your suggestion in front of the Product team.

You’ll need to look at other options on your end such as:

  • Implement a queuing system on your server where you can temporarily store the incoming webhook event. Then you can sort before by processing
  • Modifying your webhook handling logic to account for out-of-order events
  • Make a call to the corresponding endpoint as a double-check mechanism before applying changes based on webhook events

Best,

Jaycee