Sub topic 10
Conversion permissions and lead settings
This chapter assumes you can open Setup and edit profiles and permission sets, and that you know how a lead converts into an account, contact, and optional opportunity. Here you will learn which permissions a user needs to convert a lead, and which org-wide lead settings change what conversion does.
Who can convert a lead
Conversion creates or updates several records at once, so one permission is not enough. A user needs all of these:
| Requirement | Why it is needed |
|---|---|
| Convert Leads (system permission) | Enables the Convert button and `Database.convertLead` for that user |
| Read and Edit on Leads | The lead is updated to show it is converted |
| Create on Accounts and Contacts | Conversion creates these records, or links to existing ones |
| Create on Opportunities | Needed only when an opportunity is created |
| Access to the lead record | Sharing must give the user at least edit access |
If any item is missing, the user sees an insufficient-privileges error or no Convert button. The most common mistake is granting Convert Leads but not Create on Contacts, so the conversion fails when it tries to create the contact.
To find which profiles and permission sets grant Convert Leads, query the permission set object:
SELECT Id, Label, IsOwnedByProfile, Profile.Name
FROM PermissionSet
WHERE PermissionsConvertLeads = trueEvery profile has a matching permission set row with IsOwnedByProfile = true, so the query covers both.
Viewing converted leads
After conversion, the lead becomes read-only and is hidden from most list views. Users who need to open or change converted leads require the View and Edit Converted Leads permission. Grant it sparingly. Editing a converted lead does not change the account, contact, or opportunity that conversion already created.
Lead settings in Setup
Open Setup and search for Lead Settings. The page holds org-wide defaults for lead handling. Labels shift slightly between releases, so check your org's page rather than relying on exact wording. These are the settings that matter most:
- Default Lead Creator. The user recorded as creator of leads that arrive through Web-to-Lead.
- Default Lead Owner. The user or queue that owns a lead when no assignment rule entry matches. Set this to a queue that someone monitors, so unmatched leads do not go unnoticed.
- Require Validation for Converted Leads. When enabled, validation rules and required fields on the lead are enforced during conversion. When disabled, a lead with incomplete data can convert, and the gaps carry into the new records.
- Conversion experience options. These control the conversion screen and the options it offers, such as whether users are prompted to create an opportunity.
Some of these choices have lasting effects, so decide them early.
How the pieces fit together
The sequence below shows the checks that happen when a user clicks Convert.
Troubleshooting permission problems
- The Convert button is missing. Check Convert Leads on the user's profile and permission sets, then check that the page layout includes the button.
- Conversion fails with insufficient privileges. Check Create on Accounts, Contacts, and Opportunities, and the user's sharing access to the lead.
- Conversion fails with a validation error. Look at Require Validation for Converted Leads, then fix the lead's data or the rule.
- A converted lead cannot be opened. Grant View and Edit Converted Leads, or send the user to the new account or contact instead.
Prefer permission sets over editing profiles. A permission set called "Lead Converters" can be assigned to the people who need it, and removed again without touching their base profile.
Exercise
A sales rep has the Convert Leads permission and can edit the lead, but conversion fails with an insufficient-privileges error. Name two other things to check.
Show answer
Check that the rep has Create access on Accounts and Contacts (and Opportunities if one is being created), and that sharing gives the rep edit access to the lead record. Missing Create access on a target object is the most common cause.
Exercise
Why should Default Lead Owner be set to a monitored queue?
Show answer
Leads that match no assignment rule entry fall back to the default owner. A monitored queue makes sure those unmatched leads are seen and reassigned instead of sitting with an inactive or unaware user.