When you need to update thousands of records at once, the Salesforce Data Loader is the industry-standard desktop application for the job. Unlike the “Import Wizard,” the Data Loader can handle up to 5 million records and allows you to map fields more precisely.
Step 1: Prepare Your Source File (CSV)
The most important part of a bulk update is the Record ID. Salesforce needs the 15- or 18-character ID to know exactly which record to modify.
- Export the data you want to change into a CSV file.
- Include the ID column and the columns you want to update (e.g., Amount, Stage, or Owner).
- Make your changes in Excel and save the file as a Comma Separated Values (.csv).
Step 2: Login to Data Loader
- Open the Data Loader application on your computer.
- Click the Update button.
- Choose your environment (Production or Sandbox) and click Log in.
- Enter your Salesforce credentials.
- Note: If your IP address isn’t whitelisted, you may need to append your Security Token to your password.
- Note: If your IP address isn’t whitelisted, you may need to append your Security Token to your password.
Step 3: Select Object and File
- Select the Salesforce Object you are updating (e.g., Opportunity).
- Click Browse to select the CSV file you prepared in Step 1.
- Click Next. Data Loader will initialize and tell you how many rows were detected.
Step 4: Map the Fields
This step tells Salesforce which CSV column matches which Salesforce field.
- Click Create or Edit a Map.
- Click Auto-Match Fields to Columns. Salesforce will try to match names (e.g., “ID” to “Id”).
- Manual Mapping: For any fields that didn’t match, drag the Salesforce field from the top list and drop it next to the corresponding CSV column in the bottom list.
- Crucial: Ensure the Id field is mapped correctly.
- Click OK, then click Next.
Step 5: Run the Update
- Choose a folder on your computer where the Success and Error logs will be saved.
- Click Finish and confirm the “Yes” prompts.
- A progress bar will appear. Once finished, a window will show the results.
Step 6: Review the Results
Never assume a bulk update worked perfectly without checking the logs.
- Successes: Open the success file to see the IDs of the records that were updated.
- Errors: Open the error file. The last column will explain exactly why a record failed (e.g., “Validation Formula Error” or “Invalid Picklist Value”).

Salesforce

