K
K
Kairr2021-10-28 16:27:55
Bitrix24
Kairr, 2021-10-28 16:27:55

How to convert a lead using a webhook?

I need to convert a lead into a deal using a webhook. I found the crm.lead.convert
method in the documentation , but it is not in the list of methods in webhooks. If you still try this method, then an error is returned stating that there is no such method. I also found out that the deal has a LEAD_ID field, which cannot be changed using crm.deal.update (the documentation says that it is read-only). Tell me how to eventually convert a lead into a deal using webhooks? UPD: In the end, we decided to do it as a robot in the leads
617aa5081dd86640176381.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2021-11-03
@gromdron

There is no such method in the REST documentation . For the boxed Bitrix24 , there is a component that can do this, but this is not REST and will not work for the cloud.
At the moment there is only one way to convert a lead:
- Create a BP that converts the lead.
- Using the REST method bizproc.workflow.start, start the BP for conversion

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question