update_lead
Update an existing lead's name, price, pipeline, status, and custom fields in Kommo. Automatically maps custom field names to IDs and formats timestamps.
Instructions
Update an existing Lead in Kommo. Automatically maps custom field NAMES to their IDs, formats timestamps for dates. Does NOT update contacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | Lead ID to update | |
| lead_name | No | New Lead Name | |
| price | No | Lead price/value (MUST BE AN INTEGER no decimals. e.g. 150.50 -> 150) | |
| pipeline_id | No | Pipeline ID | |
| status_id | No | Status ID inside the pipeline | |
| custom_fields | No | Key-value pairs of LEAD custom fields (keys are exact field NAMES). |