# Workflow webhooks deduplication

**URL:** <https://community.hubspot.com/t/workflow-webhooks-deduplication/69822>\
**Category:** APIs & Integrations\
**Created:** [November 23, 2022, 6:14am UTC](https://community.hubspot.com/t/workflow-webhooks-deduplication/69822 "2022-11-23T06:14:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JurajMartinka](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jurajmartinka/32/59606_2.png) [@JurajMartinka](https://community.hubspot.com/u/JurajMartinka)\
**Post date:** [November 23, 2022, 6:14am UTC](https://community.hubspot.com/t/workflow-webhooks-deduplication/69822/1 "2022-11-23T06:14:05Z")

</div>

I’m looking for a way to de-duplicate _ **workflow** _ webhooks, to make sure I do not process them twice.

I found several posts about duplicated events but they seem to be talking about regular Webhooks API: E.g.

[https://community.hubspot.com/t5/APIs-Integrations/App-triggers-two-webhook-events-for-one-propertyChange/m-p/296277](https://community.hubspot.com/t5/APIs-Integrations/App-triggers-two-webhook-events-for-one-propertyChange/m-p/296277) links **Webhooks documentation here:** [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview)[-](https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview)there is a note in the payloads section:

- _ **NOTE ON UNIQUENESS** __: We do not guarantee that you will only get a single notification for an event__. Though this should be rare, it is possible that we will send you the same notification multiple times._
- _ **eventId** _ : The unique ID of the event that triggered this notification.

It seems that _eventId_ would be the field to use to detect duplicates but I do not get that in the workflow webhook payload, only the contact data.

This is an example of the request I can get:

> **[Webhook.site](https://webhook.site/#!/296876dc-8405-4828-9eb7-5417f3d2d91c/bbf65715-e191-4003-89e3-02eb63497a05/1)**
>
> Webhook.site takes away the frustration of building software and automations that communicate via webhook or email.

Only headers seem to be useful for the purpose of de-duplication.

I’ve been looking at “x-hubspot-correlation-id” but I’m not sure if that’s the right thing to use - it looks like it’s only for [internal use](https://community.hubspot.com/t5/APIs-Integrations/What-can-I-do-with-a-correlationId/td-p/635123).

I could also try to use the request signature (“x-hubspot-signature-v3” ) but I suspect its value will be different because the timestamp can change when the request is retried?

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [November 25, 2022, 9:58am UTC](https://community.hubspot.com/t/workflow-webhooks-deduplication/69822/2 "2022-11-25T09:58:58Z")

</div>

Hi @JurajMartinka

Thank you for reaching out.

I want to tag some of our experts here - @LMeert @louischausse @Teun do you have any thoughts for @JurajMartinka on this?

Thank you!

Best

Tiphaine
