CRM, data, and object reference
Lead conversion
Convert Leads into Contacts, Accounts, Opportunities, or any custom object — with configurable field mappings, field defaults, and output object settings that control what gets created and how.
What lead conversion does
Lead conversion transforms a Lead record into one or more target records in a single action. Every workspace starts with two outputs, Account (required) and Contact (optional); you can add outputs to other objects. Each converted Lead is marked as converted and linked back to the records that were created from it via the ConvertedFromLeadId field.
On the Lead record page, setting the lead's Status to a closed status (from the Lifecycle Bar, or by editing the lead and saving) opens the Convert Lead dialog instead of saving the Status. The dialog lets the user choose which outputs to convert, match an existing record instead of creating a new one, pick each created record's Record Variant and, when the settings allow it, its Owner and field values, before clicking Convert Lead. Leads can also be converted by a flow's Convert Lead step (see Converting leads in a flow below).
The dialog's Status After Conversion is the Lead's Status once converted: one of the closed Lead Statuses the Lead's variant ticks, starting on the first (or on the one the lead was set to). The conversion writes exactly that Status. Through the API or Kraftter AI, the only closed Status is used when the variant ticks one; with several, it must be given (Kraftter AI asks). Every active Lead variant keeps at least one closed Lead Status.
What a Lead's Before Save flows set during a conversion gets the normal Lead checks: a value the Lead's variant doesn't offer, or a required field left empty, stops the whole conversion with a message naming the field, the value and the variant, and nothing is converted.
Global settings
Go to Setup () → Objects → Lead → Conversion to configure workspace-level settings.
- Allow user field overrides — when enabled (default), the conversion dialog lets users edit field values before the records are created. When disabled, field values come entirely from mappings and defaults, with no user input at the time of conversion.
Output configs
An Output Config defines one target object that gets created or matched during conversion. A new workspace starts with an Account and a Contact output; like any other output, they can be renamed or removed. Add outputs to convert Leads into additional objects — an object can have more than one output (for example, two Account outputs).
The outputs are converted in the order of the list: drag a row by its handle to move it. A mapping can only read a record made by an output above its own (see converted: below).
Each output config has:
- Label — shown in the conversion dialog as the section header for this output.
- Target Object — the CRM object type to create or match.
- Enabled — whether this output is active. Disabled outputs are hidden from the conversion dialog.
- Create Mode:
- Optional — the user can choose whether to create this output or skip it.
- Required — this output must be created; the user cannot skip it.
- Allow Create — whether a new record can be created for this output (default: on).
- Allow Match — whether the user can match the output to an existing record instead of creating a new one. When matching, field mappings still run with the configured match merge mode.
- Match Merge Mode — controls what happens to the existing record's fields when a match is used:
- Fill blank — only populate fields that are currently empty on the existing record (default).
- Overwrite — overwrite all mapped fields regardless of their current value.
- Do nothing — do not update any fields on the matched record.
- Default Record Variant — a specific active variant for newly created records of this output, or The converting user's default: the default variant of the converting user's Access Permission for that object. An inactive variant can't be chosen. Either way, the user converting must be able to use the variant: if they can't, the conversion is refused with “Variant Id is not valid or can't be found.” and nothing is created.
- Account classification (each Account output has its own) — whether the Account made from a Lead is B2B or B2C: Always B2B, Always B2C, Company blank means B2C (B2B when the Lead has a Company), User chooses during conversion (the conversion dialog asks), or Use default Account variant. Default B2B Variant and Default B2C Variant are the Record Variants each kind starts with. In the conversion dialog, the Account's Record Variant lists only the variants the user can use, of the kind the classification gives (any kind with Use default Account variant), starting on that kind's default. The Account gets the variant the user picks; a variant of the other kind, or one the user can't use, is refused and nothing is converted.
Field mappings
Field mappings define how Lead field values are transferred to the target object's fields at conversion time. Configure mappings under each output config's Field Mappings tab. An Account output has a list for each kind, switched with B2B / B2C: a B2B Account gets the B2B list (its Name from the Lead's Company, never the Lead's person names), a B2C Account the B2C list (its First Name and Last Name, which build its Name). A matched Account uses the list of its own kind.
Records are linked only by mappings: nothing links them by itself. A new workspace maps the Contact's Account from the Account output (converted:Account.Id); remove or change that mapping to link them differently.
Each mapping has:
- Source field — a field on the Lead record, or a cross-output reference (
converted:OutputKey.FieldApiNamereads a field from another output's created record, e.g. the Account ID created in the Account output). - Target field — a writable field on the target object. System fields, formula fields, rollup fields, and auto-number fields cannot be used as targets.
- Behavior:
- Fill if blank — copy the Lead value only if the target field is currently empty (default). Relevant when Allow Match is on.
- Overwrite — always write the Lead value, replacing whatever the target field currently holds.
Field type compatibility is enforced — you cannot map incompatible types. Compatible examples: text → text/long_text/rich_text/url; picklist → picklist/text; date → date/datetime; datetime → datetime/date/time; time → time/datetime/text/long_text (as text, the time it shows on the clock of the person converting, like 9:00 AM); lookup → lookup (same object only); address fields map to address fields with individual address component sub-fields (_street, _city, _state, _postal_code, _country) also available as individual source paths.
A few mappings are refused because they would lose data: a Tags field can only be mapped to a Tags field, and an address can't be mapped both as a full address and as one of its parts.
Field defaults
Field defaults set a calculated value on a target field at conversion time, independent of the Lead's data. Useful for setting a fixed status, a date relative to today, or a boolean flag on every converted record.
Each default has:
- Target field — the field to set.
- Mode:
- Literal — a fixed value you provide.
- Today — the current date at conversion time.
- Today + N / Today - N — today plus or minus a number of days (set Offset Days).
- Now — the current date and time.
- Now + N / Now - N — now plus or minus a number of days.
Field defaults apply after field mappings. If both a mapping and a default target the same field, the default takes precedence.
Validation at conversion time
Before the conversion dialog lets a user proceed, the system validates that all required fields on each enabled output will be covered — by a field mapping, a field default, or a value the user provides in the dialog. The fields always filled automatically are: OwnerId, RecordVariantId and ConvertedFromLeadId. A mapping that reads an output that is switched off doesn't count. Any required field not covered will block conversion until a mapping or default is configured.
Global Settings
Where a converted Lead's activities and campaign memberships go, each to an output, with a fallback output used when the first one isn't converted (offered only while that output isn't required):
- Activity Person — a Contact or an Account output (a new workspace: the Contact output).
- Activity Related To — an output that isn't a person (a new workspace: the Account output). An activity's Related To is filled only when it has none.
- Move campaign memberships to — a Contact or an Account output (a new workspace: the Contact output).
With none set, or neither output converted, the activities stay on the Lead and the campaign memberships end. Users can override where to move activities (off at first) lets the conversion dialog and a flow's Convert Lead step choose the Activity Person and Related To for one conversion.
When a conversion can't be done, everything that stops it is listed at once, one line per output, each starting with the output's name — for example Account: Missing required fields: Website and Contact: Missing required fields: Title — so all of it can be fixed before trying again. This covers required fields, picklist values, lookups, field limits and validation rules. Nothing is saved. When the Account the conversion makes has a problem, the Contact doesn't report its Account as missing too. The same list is the error of a flow's Convert Lead step.
The Convert Lead dialog also checks the conversion when it opens and after every change, without saving anything. When a required field of an output would be empty:
- with Users can override mapped values on, the output shows a box for each such field, of the field's own type, to fill in before converting;
- with it off, an optional output is left out (unticked, with “Left out:” and the reason) and a required output stops Convert Lead (“Can't be created:” and the reason). The reason says where the value would come from: a lead field that is empty (fill it in on the lead), another record the conversion makes, or nothing in Lead Conversion (map a lead field to it or give it a default here). Each reason is on its own line.
Any other problem the check finds, such as a value a picklist doesn't allow, shows in red in that output's card.
Converting leads in a flow
A flow's Convert Lead step converts a lead with these same settings, without anyone opening the Convert Lead dialog. The full description of the step is in Flows. It offers exactly what the dialog offers, and nothing more:
- the outputs turned on here: a required output is always converted, an optional one is included or left out (True, False, or a variable or formula decided for each lead), and records are linked only by their mappings, as by hand;
- matching an existing record only for an output that allows matching, and only matching for an output that can't create;
- the match mode choices (Fill Blank Values, Overwrite Current Values, Do Nothing);
- field values only when Users can override mapped values is on, and only for the output's mapped fields (for a mapped address, its Street, City and other parts) and its Owner;
- the Record Variant of each created record (for Account, of the kind the classification gives, or a B2B and a B2C one when the kind is only known for each lead), and B2B or B2C for each Account output only when its Account classification is User chooses during conversion (B2B, B2C, or a variable or formula that gives one as the flow runs);
- where the lead's activities go (Activity Person and Activity Related To), only when Users can override where to move activities is on;
- Status After Conversion, one for each active Lead variant: a closed Lead Status that variant ticks, starting on its first. Save and Activate refuse a step without one.
As in the dialog, a record the step creates without an Owner is owned by the person converting — in a flow, the user it runs as — when user field overrides are allowed, and by the lead's Owner when they aren't or when the flow runs as System.
Changing settings that flows use
Saving settings that a published flow's Convert Lead step no longer fits shows Flows Use These Settings before anything is saved. It lists each of those flows, with a link to open it, and what no longer fits. Changes that can do this include:
- turning off an output the step uses, or removing it;
- making an output required that the step leaves out;
- no longer allowing matching for an output the step matches;
- removing the mapping of a field the step sets;
- turning off Users can override mapped values while the step sets field values;
- no longer letting the person converting choose B2B or B2C while the step chooses it.
Cancel keeps everything as it was. Save Anyway saves and turns those flows off in the same save; turn them back on by hand once they're fixed. A flow that was already broken before the change doesn't hold up an unrelated save. Flows that aren't published aren't listed; they can't be activated until their step fits the settings again. This applies to every way of saving the Conversion settings: the page's Save, adding, editing or removing an output, and Map Fields.
Permissions
- Leads: Convert — needed to convert a Lead, by hand or in a flow that runs as the user (a flow that runs as System needs no permission).
- Converted Leads: Read — converted Leads are left out of lists, searches, pickers, and import matching for users without it.
- Converted Leads: Edit — needed to change, delete, or reassign a Lead after it has been converted, on top of the usual Lead permissions and sharing. It applies to everyone, admins included, and to every way of changing a record: record pages, the API, imports, Kraftter AI, and flows running as the user.
Neither permission is part of the default Permissions; give them to the people who should see or maintain converted Leads.