> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/analyze/integrated-webhooks/integrated-webhooks-common-questions/integrated-webhooks-how-to-use-a-unique-id-so-there-are-no-duplicate-leads.md).

# Integrated Webhooks - How to use a unique ID so there are no duplicate leads

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FpupHCZLUsVBmiBWQuNEZ%2Fundraw_Teaching_re_g7e3.png?alt=media&amp;token=904e93c6-a948-42e5-84e5-7f4a832a57af" alt=""><figcaption></figcaption></figure>

At SprintHub, we understand the importance of maintaining data integrity and consistency on your platform. One of the most effective ways to ensure this is by using identifiers in the fields that can prevent this duplication when your leads come from the webhook.

&#x20;In this article, we will explore how you can implement and use a unique ID to prevent data duplication and improve the efficiency of your operations.

**What is a Unique ID?**

A unique ID, as the name suggests, is an exclusive identifier assigned to each record, in our case, a specific lead field. It serves as a primary key that distinguishes a specific record from all the others.

**How to Use a Unique ID in SprintHub**

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fa5RxlDk4vPp3Q4YBxYmf%2F5.png?alt=media&amp;token=f49204bd-b8db-4195-b17c-460e9c8fbf7e" alt=""><figcaption></figcaption></figure>

**Request Body and Field Identification**

If you want to ensure that no lead identical to one that already exists on the platform is created, create fields such as email, phone, or WhatsApp that are in a way "universal" and have in common between your external system and SprintHub:&#x20;

<table><thead><tr><th width="132">Key </th><th width="120">First name </th><th width="83">Type </th><th width="136">Required</th><th>Unique ID</th></tr></thead><tbody><tr><td>name</td><td>First name</td><td>Text</td><td>None</td><td>#NONE#</td></tr><tr><td>email</td><td>Email</td><td>Text</td><td>Required</td><td>(Lead) Email</td></tr><tr><td>phone</td><td>Phone</td><td>Text</td><td>Required</td><td>(Lead) Mobile Phone</td></tr><tr><td>whatsapp</td><td>WhatsApp</td><td>Text</td><td>None</td><td>(Lead) WhatsApp</td></tr></tbody></table>

When performing the mapping in SprintHub, it is recommended to include a field for each record's unique ID. This ID will serve as a primary key so that there is no duplication of leads.
