We have a custom webhook being fired when. a user subscribes and also when a user unsubscribes. But, the webhook events are fired in an aync manner and the user activity is not reliable.
eg. user subscribed and then unsubscribed as per below screen print, but the backend system received the unsubscribed event first and then the subscribed event, hence creating data inconsistency in the backend system.
how can we ensure the sequence of webhook events?

