Convert a lead to a company
convert_leadConvert a qualified lead into a CRM company by carrying over fields and optionally seeding a contact. Marks the lead as won and records the resulting company.
Instructions
Convert a qualified lead into a CRM company, carrying over its fields (name, website→domain, a notes summary) and optionally seeding a contact from the lead's person/email/phone. Marks the lead won and records the company it became. Errors if already converted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Lead id, e.g. L3. | |
| project | Yes | ||
| companyName | No | Override the company name (defaults to the lead's company or name). | |
| createContact | No | Seed a company contact from the lead. |