I
I
Ilia Malashko2020-06-12 11:49:02
Bitrix24
Ilia Malashko, 2020-06-12 11:49:02

Is it possible to remove a duplicate lead about adding it through a hook in Bitrix24?

Hello.

We add duplicates to the CRM via a webhook.
It is necessary to implement the functionality so that when a lead changes on the site, the lead is overwritten in the CRM, and not a new one is created.
I know about Duplicate Control, the question is about automating the process, so that the litas would be combined immediately when a new lead is added.

Can this be implemented?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2020-06-12
@Ramapriya

Try checking for duplicates first with the crm.duplicate.findbycomm method and if you find any, use crm.lead.update

Y
Yuri Paimurzin, 2020-06-15
@rusellsystems

you can also use a filter for existing leads in crm.lead.list,
for example, by phone -> filter[PHONE]="79.........."
and if [total] > 0 then do an update, otherwise create a new

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question