Mass uploading in Salesforce allows you to quickly import large volumes of data—such as contacts, accounts, leads, or custom objects—into your Salesforce org without manually entering each record. This saves time, reduces errors, and ensures consistency when onboarding data from spreadsheets, legacy systems, or external sources. To do this effectively, you’ll use Salesforce’s Data Import Wizard or Data Loader, depending on the object type and volume of data.

What You'll Need

  • Salesforce user account with appropriate permissions ("Import Personal Contacts" or "Data Import Wizard" access)
  • CSV (Comma-Separated Values) file with properly formatted data
  • Knowledge of the Salesforce object fields and their data types
  • For large uploads (over 50,000 records), Salesforce Data Loader (free desktop tool)
  • Field mapping reference (to match CSV columns to Salesforce fields)

Step-by-Step

  1. Prepare your data in a CSV file. Open your data in Excel or Google Sheets. Ensure each column corresponds to a Salesforce field (e.g., "First Name", "Email", "Phone"). Remove blank rows, extra formatting, and special characters. Save as a CSV (UTF-8) file.
  2. Determine which tool to use. Use the Data Import Wizard for up to 50,000 records and standard objects like leads, contacts, accounts, or person accounts. Use Data Loader for more than 50,000 records, custom objects, or complex operations like updates, upserts, or deletes.
  3. Log in to Salesforce. Navigate to your Salesforce org and log in with a user account that has data import permissions. Admin users typically have full access.
  4. Launch the Data Import Wizard. In Lightning Experience, click the gear icon (Setup), type "Data Import Wizard" in the Quick Find box, and select it. Click "Start Import".
  5. Select the object to import. Choose the type of record you’re uploading (e.g., Contacts, Leads). The wizard supports only specific standard objects. If your object isn’t listed, use Data Loader.
  6. Decide on the import action. Choose whether to add new records, update existing ones, or do both (upsert). For upserts, you must specify a matching field (e.g., Email or Salesforce ID).
  7. Upload your CSV file. Click "Choose File", select your prepared CSV, and upload it. Salesforce will preview the first few rows.
  8. Map fields. Match each column in your CSV to the corresponding Salesforce field. The system may auto-map fields with matching names. Review each mapping carefully—mismatches cause data errors.
  9. Run the import. Click "Start Import". Salesforce processes the file and shows a summary of successes and errors.
  10. Review the results. After completion, check the import status. If there are errors, download the error log to see which rows failed and why (e.g., invalid email format, missing required field).
  11. Fix and re-upload if needed. Correct errors in your CSV file, save it, and re-upload only the failed records or the entire file after validation.

Common Mistakes

  • Incorrect CSV formatting: Using spaces instead of commas, missing headers, or including formulas instead of values.
  • Field mismatches: Mapping a CSV column to the wrong Salesforce field (e.g., putting phone numbers into email fields).
  • Ignoring required fields: Leaving blank any field marked as required in Salesforce, causing record failures.
  • Exceeding limits: Trying to upload more than 50,000 records via the Data Import Wizard, which will fail.
  • Duplicate data: Not using upsert with a unique identifier, resulting in duplicate records.

Tips

  • Always test with a small batch (e.g., 5–10 records) before a full upload.
  • Use the Data Import Wizard’s sample CSV template for correct formatting.
  • Enable “Show all fields” in the field mapping step to see every available field.
  • Use external ID fields (like Email or Customer_ID__c) for upsert operations to match existing records safely.
  • Keep a backup of your original data and the final CSV used for upload.

Troubleshooting

If your upload fails or records don’t appear:

  • Check the error log: Download it from the import results. It lists each failed row and the reason (e.g., “Invalid email format” or “Required field missing”).
  • Validate data types: Ensure dates are in YYYY-MM-DD format, numbers don’t have symbols (like $ or %), and picklist values exactly match Salesforce options.
  • Verify field-level security: If a field isn’t visible to your user profile, it won’t be available for mapping.
  • Check object limits: Some objects (like Campaign Members) require parent records to exist first.
  • Use Data Loader for complex needs: If the wizard doesn’t support your object or operation, switch to Data Loader for more control.

Frequently Asked Questions

  • Can I mass upload custom objects?
    No, the Data Import Wizard doesn’t support custom objects. Use Data Loader instead.
  • What’s the maximum file size for upload?
    The Data Import Wizard accepts files up to 100 MB or 50,000 records. Data Loader handles larger files.
  • How do I prevent duplicates?
    Use upsert with a unique external ID field (like Email or a custom ID) to update existing records instead of creating new ones.
  • Why are some records failing?
    Common reasons include invalid data formats, missing required fields, or validation rules blocking the record.
  • Can I schedule recurring uploads?
    Not with the wizard. Use Data Loader with command-line interface or third-party ETL tools for automation.
  • Is there a way to roll back an upload?
    Salesforce doesn’t auto-backup imported data. Delete records manually or use a backup tool if available.