Integrated Webhooks - How to use a unique ID to avoid duplicate leads

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

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 kind of primary key that distinguishes a specific record from all others.

How to Use a Unique ID in SprintHub

Request Body and Field Identification

If you want to avoid creating a lead identical to one that already exists on the platform, create fields such as email, phone, or WhatsApp which are in a way "universal" and common between your external system and SprintHub:

Key
First name
Type
Required
Unique ID

name

First name

Text

None

#NONE#

email

Email

Text

Required

(Lead) Email

phone

Phone

Text

Required

(Lead) Mobile Phone

whatsapp

WhatsApp

Text

None

(Lead) WhatsApp

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

Last updated

Was this helpful?