База знаний

Prevent duplicate leads in CRM integrations

A webhook can arrive more than once. Use the source system’s stable record or event ID as the matching key, and decide whether a repeat should be ignored or update the existing record.

A webhook can arrive more than once. Use the source system’s stable record or event ID as the matching key, and decide whether a repeat should be ignored or update the existing record.

Write the record and its processing state together where possible. Retry temporary failures with a limit and a visible error queue. Avoid matching people only by name.

Test the same payload twice, then simulate a timeout after the CRM has accepted it. The second attempt should not create a second customer or deal.

Vladimir Nikolaev
Vladimir Nikolaev

Разработка и SEO в WebSoftLeader. Помогаем разобраться в задаче и выбрать подходящий состав работ.

Об эксперте
ОБСУДИМ ЗАДАЧУ КОМПАНИИ

Расскажите о задаче.
Предложим решение.

Пришлите сайт, пример процесса или описание продукта. Разберём исходные условия, предложим первый этап и объясним состав работ.

WEBSOFTLEADER

Расскажите, что нужно улучшить.

Пришлите сайт или опишите процесс. Предложим первый шаг, согласуем состав работ и подготовим оценку.