Answer the question
In order to leave comments, you need to log in
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
Try checking for duplicates first with the crm.duplicate.findbycomm method and if you find any, use crm.lead.update
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 questionAsk a Question
731 491 924 answers to any question