The Lead Convert component converts a lead into an account and contact, as well as an opportunity.
To convert a lead:
On the Leads tab, open the lead record.
At the top right part of the page, click Convert.
In the Convert Lead form, define the type of record you want to convert the current lead into.
In the Account section, select Create New and enter the account name if you want to convert your lead into an account, or select Choose Existing and pick the appropriate account for lead conversion.
In the Contact section, select Create New and enter the contact name if you want to convert your lead into a contact, or select Choose Existing and pick the appropriate contact for lead conversion.
In the Opportunity section, select Create New and enter the opportunity name if you want to convert your lead into an opportunity, or select Choose Existing and pick the appropriate opportunity for lead conversion. You can also choose the Don’t create an opportunity upon conversion option if you don't want to create an opportunity.
Verify the record owner and converted status in the corresponding fields.
Please take into account the following points:
A lead can be converted to regulated and non-regulated objects.
The lead must always be a regulated object.
To convert a lead to other objects in other countries, the user must have access to this country. (For example,
A user OUTSIDE OF the country treated under the redacted policy cannot convert a record to the lead pertaining to the country managed under the redacted policy.
A user FROM the country treated under the redacted policy can convert a lead to the record that can be attributed to the country treated under the redacted policy and to the record that can be treated under the restricted or replicated policy.
To convert a lead record according to the applied record policy, the lead record pending conversion must have a record-level policy applied.
Converting leads in the tree-model package
In order for the leads to be converted according to the record level policy, it is mandatory to map the fields in Setup (country, address, city, state and so on) with the Lead, Account, Contact and Opportunity fields.
From Setup, select Custom Metadata Types.
Click Manage Records next to InCountry Lead Convert Mapping.
To add a compound field (e.g. country field), click New.
Add other compound fields as shown above.
Compound fields are comprised of several fields (so-called constituents), for example the Address field includes the City, Zip code, State, and other fields. When converting, all these fields should be matched between the source Salesforce object and the target Salesforce object. You need to add the logic for each constituent of the compound Address field for all Salesforce objects which a lead can be converted to.
To do this, it is necessary to add a new item to the Lead Convert Mapping. For EACH constituent of the compound Address field, you need to create a new item.
When creating, you need to specify the API name of the field on the lead object. To get API names of fields, navigate to Object Manager, open the related Salesforce objects and on the Fields and Relationships tabs you can find the API names for required fields. These fields will take values from the lead record passing through conversion.
From Setup, select Object Manager.
Select Fields & Relationships.
In the top right part of the screen, click Map Lead Fields.
Use the tabs (Account, Contact or Opportunity) to map each of your organization's custom lead fields to one of your custom account, contact, or opportunity fields.