Salesforce Field Mapping: How to Map Fields for Lead Conversion, Bulk Imports, and ERP Integration Without Errors
Learn how to configure Salesforce field mapping for lead conversions and data imports, plus how to map custom CRM fields to your ERP without sync errors.

Salesforce field mapping is what keeps data landing in the right record every time a lead converts, a file imports, or two systems sync. At its core, it defines how data moves from one Salesforce field to another, starting with matching lead fields to account, contact, and opportunity fields so nothing is lost after conversion.
Set it up wrong though and custom values suddenly vanish or writes fail. Done well, that mapping protects data integrity through lead conversion and bulk imports instead.
Today, we’ll look into the native Salesforce setup most teams need first, then move into custom fields, required fields, picklist values, and ways to map Salesforce data into an ERP without constant sync errors.
Key Takeaways
- Salesforce lead conversion field mapping controls how lead data moves into the "Account Object", "Contact Object", and "Opportunity Object".
- Custom lead fields need mapped destination fields with compatible data types, or conversion can fail or lose usable context.
- Picklist values, required fields, validation rules, and field level security can all affect whether mapped data writes correctly.
- Bulk data import work is cleaner when CSV header row values match field API names and source files follow the destination schema.
- Engini provides a managed execution layer for cross-system Salesforce and ERP workflows, with managed connectors, scoped permissions, and an audit trail.
Defining Salesforce Field Mapping
Field mapping in Salesforce is the configuration that connects a source field to a destination field. You use it when lead data converts into accounts, contacts, and opportunities, and when imported data maps from a file into Salesforce fields.
Mapping fields in Salesforce can describe internal movement between objects, such as "Lead to Contact", or source-to-destination mapping during imports and connected workflows.
For native Salesforce work, the main admin surface is "Object Manager". That’s where you review standard fields, create custom fields, confirm data types, and reach the lead mapping controls.
With that said, a clean field map comes down to four basics:
- The object that owns the source field.
- The object that owns the destination field.
- Whether the source and destination data types match.
- Whether required fields, picklists, validation rules, and permissions will allow the write.
Note: While a field label helps humans read the page, the API name, data type, object, and validation behavior decide whether mapped data moves safely.
How Lead Conversion Field Mapping Works
Salesforce lead conversion field mapping controls how lead fields populate the "Account Object", "Contact Object", and "Opportunity Object". Native mapping is the first place to fix lost custom lead data because Salesforce only moves custom lead field values when you map them to compatible custom fields on the destination object.
Standard fields usually follow Salesforce’s native conversion behavior, while custom fields need your setup work, especially when a sales team depends on values like MQL (marketing qualified lead) scores, product interest, partner source, or revenue attribution fields.
During conversion, Salesforce can create or update related records depending on how the user converts the lead. Your field mapping, on the other hand, decides where eligible lead values go when those destination records are created.
Step-by-Step Lead Mapping Setup
Use this setup path when you need to map custom Lead fields to account, contact, or opportunity fields.
- Go to the "Setup Menu" → "Object Manager" → "Lead".
- Open "Fields & Relationships" → "Map Lead Fields".
- Choose the destination object tab, such as "Account", "Contact", or "Opportunity".
- Match each custom lead field to a compatible destination field and save your mapping.
- Test with a lead record that contains values in the mapped custom fields.
- Convert the lead and confirm the values on the resulting account, contact, and opportunity records.
Note: The "Map Lead Fields Button" is the control point for custom lead data. If a custom lead field isn’t mapped, that value may not appear on the converted destination record.
What to Confirm Before Saving
- The destination custom field already exists.
- The source and destination data types are compatible.
- The destination field belongs to the correct object.
- The field is visible to the right profiles or permission sets.
- Required destination fields have a value during conversion.
A small test set here prevents most conversion surprises. We therefore recommend using one lead with every mapped custom field populated, then inspecting the converted records field by field.
Matching Data Types and Picklists
Data types decide which mappings Salesforce allows and which writes can succeed. Text, number, date, checkbox, and picklist fields all behave differently, so the destination field needs to match the source closely.
Here, "Text to Picklist" mapping is a common place to get it wrong. A text value can contain almost anything, but a picklist expects a value that exists in the destination field’s allowed value set. So, if your lead source field is text and the destination field is a picklist, make sure to align values before conversion.
Otherwise, a clean-looking value in the lead record can still fail when Salesforce tries to write it into a stricter destination field.
| Source Field Type | Safer Destination Pattern | Common Issue to Check |
|---|---|---|
| Text | Text | Length and formatting. |
| Number | Number | Precision and scale. |
| Currency | Currency | Currency settings and required context. |
| Date | Date | Date format in imports. |
| Checkbox | Checkbox | Blank values versus false values. |
| Picklist | Picklist | Allowed values and record type availability. |
| Text | Picklist | Value must match an allowed picklist value. |
To save yourself the hassle, your picklist planning should include:
- Exact spelling and capitalization of allowed values.
- Inactive picklist values.
- Restricted picklist settings.
- Record type-specific picklist availability.
- "Global Value Set" usage across objects.
Tip: A "Global Value Set" can reduce mismatch risk when lead, contact, and opportunity fields need the same controlled values.
Troubleshooting "FIELD_INTEGRITY_EXCEPTION" Errors
A "FIELD_INTEGRITY_EXCEPTION" usually means Salesforce rejected a field value because it doesn’t fit the destination field’s rules. In field mapping work, that often points to sync errors or mismatches between the source data and the destination schema.
This error can appear during import, API writes, conversion-related automation, or external sync. The root cause is usually more specific than “bad data”, however.
To uncover the exact reason, make sure to follow through with these checks:
- The value matches the destination field’s data type.
- The picklist value exists and is active.
- A restricted picklist is not receiving an unsupported value.
- A "lookup" value points to a valid related record.
- Validation rules allow the value in this record context.
- Field Level Security (FLS) allows the user or integration identity to write the field.
- The destination field is not read-only for that operation.
Picklist mismatches deserve extra attention here. If a CSV file sends "Enterprise customer" but the picklist value is "Enterprise Customer", the write may fail when the field is restricted.
A good approach is to apply a narrow test record to isolate the cause. Change one field at a time, retry the operation, and confirm which value triggers the error. That process is slower than changing several mappings at once, sure, but it protects the working parts of your setup.
Mapping Fields for Bulk Data Imports
Bulk data import mapping controls how each CSV header row value maps into a Salesforce field. Data loaders and other import paths rely on field labels or API Names, but API names are safer when labels look similar across objects.
A Pre-Upload Mapping Sequence
Use this sequence before a bulk upload:
- Export or document the destination object’s field API names.
- Build the CSV header row with one column per destination field.
- Confirm every required field has a populated value.
- Match each source column to the correct Salesforce field.
- Validate date, number, currency, checkbox, and picklist formatting.
- Run a small test import before the full file.
- Review success and error files after the job completes.
Using API Names Instead of Labels
API names reduce ambiguity. A label like "Status" can be reused across objects in your organization, but an API name like "Lead_Status__c" points to the custom field Salesforce expects.
Tip: For custom fields, the API name usually ends in "__c". That suffix helps you distinguish custom fields from standard fields during imports, exports, and API-based mapping.
What a Clean Import Map Captures
A clean import map should capture several key details (see the table below for reference).
| Mapping Item | Why It Matters |
|---|---|
| Object name | "Data Loader" needs the correct target object before field mapping starts. |
| Field label | Admins use labels to read the mapping quickly. |
| Field API Name | API-based imports and integrations depend on stable field identifiers. |
| Data type | Format mismatches can block the write. |
| Required status | Blank values can fail before the record saves. |
| Picklist rules | Restricted picklists reject unsupported values. |
| Validation rules | The final record state must satisfy your org logic. |
Additionally, make sure to:
- Clean the source data before you import.
- Review picklists separately, since values that don’t exist in the destination picklist can fail the import or create data quality problems.
- Use a staging file to normalize picklist values, trim whitespace, convert date formats, and split combined fields before you upload.
Beyond the CRM: Mapping Salesforce Fields to Your ERP
CRM field mapping keeps Salesforce records consistent, but ERP integration adds another layer altogether. Since your ERP is often the system of record for billing, fulfillment, invoicing, accounting, or revenue recognition, the mapping must adhere to stricter transaction rules.
This is because while a custom Salesforce field may support sales reporting, the ERP may need a required field, validated code, subsidiary context, tax treatment, or item reference before it accepts the transaction.
What Cross-System Workflows Require to Run
Cross-system workflows usually include more than a field map. They need authentication, authorization, object matching, duplicate checks, validation, error handling, and an auditable result.
For example, in an order-to-cash workflow, a Closed-Won opportunity may need to become a customer and sales order in the ERP. This requires mapping Salesforce account data, line items, required fields, and picklist values into the ERP's accepted structure.
That source event isn’t the same as a completed ERP write, though, as the destination system still validates the transaction according to its own roles, field rules, record rules, and transaction constraints.
So, when Salesforce data needs to reach an ERP, make sure to use a clear mapping model.
| Salesforce Mapping Concern | ERP Mapping Concern | What to Verify |
|---|---|---|
| Custom field value | Required ERP field | The source value exists before the write. |
| Picklist value | ERP-controlled value | Values use the destination system’s accepted codes. |
| Opportunity line item | Sales order line | Products, quantities, pricing, and item references align. |
| Account or contact | Customer record | Duplicate matching and required customer fields are defined. |
| Revenue attribution field | Finance or reporting dimension | The ERP accepts the mapped dimension. |
| Owner or territory | ERP classification | The destination field supports the mapped value. |
Deciding Which System Owns Which Data
Field mapping Salesforce data into an ERP also needs clear ownership. Salesforce may own pipeline data, while the ERP may own invoices, orders, payments, and financial records.
When a mismatch occurs, the fix may belong in Salesforce, in the mapping layer, or in the ERP configuration. Treating every failure as a Salesforce issue though will only slow down resolution.
The Maintenance Burden of Point-to-Point Integrations
Point-to-point integrations can work well for a narrow flow. A one-way sync from Salesforce to an ERP may be enough when one system publishes data and the other receives it.
Two-way sync requires significantly more control. Once both systems can change related data, you need conflict rules, source of truth rules, duplicate handling, and clear replay behavior after failures.
The maintenance burden grows even further when schemas change. This way, a new Salesforce custom field, renamed picklist value, required ERP field, or validation rule can break a mapping that worked yesterday.
That burden usually shows up in 5 places:
- Integration maintenance after Salesforce or ERP schema changes.
- Picklist value drift between CRM and ERP.
- Required field failures during order, invoice, or customer creation.
- Duplicate records after retries without idempotency checks.
- Partial writes that leave Salesforce and the ERP out of sync.
Traditional iPaaS (integration platform as a service) can handle mapping, routing, monitoring, and governance for established integration work. The remaining challenge is coordinating agent execution across Salesforce and ERP actions with one consistent policy model and one traceable transaction path.
For teams integrating Salesforce with NetSuite, the NetSuite Integration Platform (NSIP) offers native capabilities for connecting applications, mapping data, and managing predefined workflows, while agent-driven actions across multiple systems introduce additional execution requirements.
A direct API connection can also work when the scope is narrow. But your team owns the connection lifecycle, authentication changes, permission boundaries, error handling, retries, and monitoring for every system involved.
For enterprise workflows, getting Salesforce to send the field is therefore rarely the hard part – the real test is whether the business can trust the completed action across Salesforce and the system of record.
Securing Your Cross-System Data Architecture
Native Salesforce mapping handles the CRM side of the workflow, while cross-system data architecture handles what comes next, when those mapped fields drive actions in an ERP or another system of record.
An ERP write is not a mirror of a Salesforce save, however. It also needs destination validation, scoped access, duplicate checks, and a traceable outcome, or revenue attribution splits across systems when a value maps cleanly in Salesforce but fails downstream.
A governed execution layer is what protects that chain. It gives agents and automations one controlled path for cross-system work, coordinating the action between Salesforce and the ERP and recording what happened, without replacing either system’s own permissions and controls.
How Engini Helps
Engini is that execution layer, sitting between AI agents and the systems they act on. Through our Agent Gateway and managed connectors, we give agents an agent-native path to run governed actions across enterprise applications. For a field mapping problem, that means managed connectors, orchestration, scoped permissions, guardrails, and an audit trail for everything routed through it, so your team never has to build and maintain a separate integration for each connection.
At the same time, our built-in Agent Policy keeps permissions, guardrails, and auditability inside the platform, so authorization – and not just authentication – decides which objects, fields, and actions an identity can touch. Engini also keeps the connected layer current as Salesforce fields, ERP objects, or API versions drift, instead of leaving your team to monitor every connection alone.
Getting Salesforce Field Mapping Right Across Systems
Reliable Salesforce field mapping starts with understanding where data comes from, where it needs to go, and what the destination system expects. For lead conversions and bulk imports, that means matching compatible field types, checking required fields and picklist values, and testing the mappings before processing larger datasets.
When Salesforce connects to an ERP, additional considerations come into play. Both systems may have different validation rules, data structures, and ownership responsibilities, so a successful Salesforce update doesn't necessarily mean the corresponding ERP transaction will succeed.
To avoid synchronization errors, document which system owns each field, establish consistent mapping rules, and make sure failed writes can be identified and resolved. Make sure to also review these mappings whenever schemas, business rules, or integration workflows change.
Ultimately, accurate field mapping depends on more than matching field names. It requires consistent data definitions, compatible destination values, and reliable handling of every write across the systems involved.
Agent gateway
Ship agents into systems you can’t afford to break
Agent gateway and workflow automation on one iPaaS core: MCP, SDK, API, or canvas, with secure auth, audit trail and tool permissions built in.
Frequently Asked Questions
Can formula fields be mapped during Salesforce lead conversion?
Formula fields can be useful for display and calculation, but they are not always the right source for stored conversion data. If the destination record needs the value after conversion, create a real destination field and test the conversion behavior in your organization.
For critical reporting fields, avoid assuming a calculated display value becomes stored history as well and confirm the value on the converted account, contact, or opportunity record instead.
Should Salesforce or the ERP own customer data?
Ownership depends on the data type. Salesforce commonly owns sales activity, pipeline context, and CRM-level customer context, while the ERP often owns billing, orders, invoices, and financial records.
We recommend documenting the system of record for each field before you build a two-way sync. That decision reduces conflicts when both systems hold a version of the same customer attribute.
How should I test picklist mappings before a full import?
Start with a small file that includes every expected picklist value. Include edge cases like blanks, inactive values, capitalization differences, and values tied to different record types.
Additionally, review the success and error files after the test and fix the source file or destination picklist settings before you run the full import.
Why does a valid Salesforce field still fail during an ERP sync?
A field can be valid in Salesforce but invalid for the ERP transaction. The ERP may require a different value format, a related record, a classification, or a required field that Salesforce doesn’t enforce.
To fix this, make sure to trace the failure at the destination write level and not only at the Salesforce field map level.
How often should field mappings be reviewed?
Review mappings every time you add custom fields, change picklist values, modify validation rules, introduce new required fields, or change an ERP process. Make sure to also review them before large imports and before launching a new cross-system workflow.