Salesforce Import CSV: Field Mapping Guide
Importing contacts into Salesforce from a CSV file requires more precision than other CRMs. Salesforce distinguishes between Leads and Contacts, has strict field mapping requirements, and doesn't auto-deduplicate by default. This guide walks you through the correct CSV format, field mapping, and import methods.
Leads vs. Contacts in Salesforce
Before importing, decide which Salesforce object to target:
- Leads: For prospects who haven't been qualified yet. Best for cold outreach lists and newly extracted contacts.
- Contacts: For people associated with an existing Account (company). Use this when you already have the company in Salesforce.
For most email extraction workflows, Leads is the right choice. You can convert them to Contacts later after qualification.
Salesforce Lead CSV Template
| CSV Column | Salesforce API Name | Required |
|---|---|---|
| Last Name | LastName | Yes |
| Company | Company | Yes |
| No (but recommended) | ||
| First Name | FirstName | No |
| Title | Title | No |
| Phone | Phone | No |
| Website | Website | No |
| Lead Source | LeadSource | No |
| Description | Description | No |
Important: Salesforce requires Last Name and Company for Leads. If you only have email addresses, you'll need to provide placeholder values (e.g., use the email domain as the company name).
Example CSV
Last Name,Company,Email,First Name,Title,Website,Lead Source
Doe,Acme Inc,jane@acme.com,Jane,Marketing Director,https://acme.com,Web Extract
Smith,Startup.io,bob@startup.io,Bob,CTO,https://startup.io,Web Extract
Import Method 1: Data Import Wizard
The simplest method, available in all Salesforce editions:
- Go to Setup > Data Import Wizard
- Click Launch Wizard
- Select Leads (or Contacts and Accounts)
- Choose Add new records (or Add new and update existing)
- For deduplication: select Match by Email when prompted
- Upload your CSV
- Map fields — drag columns to Salesforce fields
- Click Start Import
Limitations: 50,000 records max, only standard objects.
Import Method 2: Data Loader
For larger imports or more control:
- Download and install Salesforce Data Loader
- Choose Insert (new records) or Upsert (insert + update)
- Select the Lead object
- For Upsert: choose Email as the External ID field to deduplicate
- Upload your CSV and map fields
- Execute the import
Tip: The Upsert operation is the key to avoiding duplicates in Salesforce. It inserts new records and updates existing ones based on a matching field (usually Email).
CAPT's Salesforce Export
The CAPT Salesforce export generates a CSV file with the correct Salesforce field names. Since CAPT primarily captures email addresses and source URLs, the mapping is:
| CAPT Field | Salesforce CSV Column |
|---|---|
| Source URL | Website |
| Tags | Lead Source |
| Notes | Description |
| Email domain | Company |
| Email local part | Last Name |
CAPT auto-fills the required Company and Last Name fields from the email address, so you can import immediately without manual editing.
Export Salesforce-ready CSV in one click
CAPT Pro generates CSV files with the exact field names Salesforce expects, including required fields.
Learn MoreCommon Salesforce Import Errors
- "Required field missing: Last Name": Every Lead needs a Last Name. If you only have emails, CAPT fills this automatically.
- "Required field missing: Company": Every Lead needs a Company. CAPT uses the email domain.
- "Invalid picklist value": Lead Source must match one of your configured picklist values. Check Setup > Object Manager > Lead > Fields.
- "Duplicate value found": You're trying to insert a record that matches an existing one. Use Upsert instead of Insert.
- Character encoding: Save your CSV as UTF-8. Salesforce doesn't handle other encodings well.
Deduplication Strategy
Unlike HubSpot, Salesforce doesn't auto-deduplicate on import by default. Your options:
- Use Upsert with Email as External ID in Data Loader (recommended)
- Set up Matching Rules in Setup to catch duplicates at creation time
- Deduplicate before import — CAPT's built-in deduplication ensures your export file is already clean
Conclusion
Salesforce CSV imports require more attention to field mapping than other CRMs, but the result is a well-structured lead database. Use the template above for manual imports, or let CAPT generate the correct format automatically. Always use Upsert for deduplication, and make sure your required fields (Last Name, Company) are populated.