Sub topic 1
Which Tool to Use: Wizard or Data Loader
Prerequisites
You should understand Salesforce objects, records, and fields. You also need permission to create records and edit CSV files. Practice in a sandbox or Developer Edition org before changing production data.
Choosing the Import Tool
Salesforce provides two main tools:
| Tool | Best for | Main characteristics |
|---|---|---|
| Data Import Wizard | Smaller, guided imports | Browser-based, simple mapping, duplicate matching |
| Data Loader | Large or repeatable jobs | Insert, update, upsert, delete, and export operations |
Use the Data Import Wizard when you want a guided process and the job uses a supported object. It is useful for common imports such as accounts, contacts, leads, and custom objects.
Use Data Loader when you need more control. It supports more objects and operations, handles larger files, and can be used in repeatable or automated processes. Export with Data Loader before a risky update or delete so you have a backup.
Preparing Your CSV File
A CSV file stores table data as rows and columns. The first row should contain field names. Each later row represents one Salesforce record.
Use one column for each field you want to set. Remove unused columns, extra spaces, and accidental blank rows. Save the file as UTF-8 CSV when possible.
Name,Phone,Industry,Website
Acme Corp,555-0100,Manufacturing,https://www.acme.example
Globex Ltd,555-0101,Technology,https://www.globex.exampleRequired Fields, Data Types, and Validation Rules
Required fields must contain valid values. For an Account insert, Name is commonly required. Dates, numbers, checkboxes, picklists, and email fields must use values Salesforce accepts.
Validation rules can reject a row even when all required fields are present. Review the target object’s required fields, field types, picklist values, and validation rules before importing.
> callout warning > Do not assume a blank CSV value clears an existing Salesforce value. Test update behavior in a sandbox first.
Importing with the Data Import Wizard
Open Setup, search for Data Import Wizard, and select the target object and operation. Upload the CSV, review the field mapping, and correct any unmapped columns. Choose the duplicate-matching settings when available, then start the import.
Review the completion message and download the result details. Correct failed rows in a new CSV instead of repeatedly submitting the entire file.
Exercise
Which tool should you choose for a small account import that needs guided duplicate matching?
Show answer
Use the Data Import Wizard. Use Data Loader when the job needs broader operations, larger files, exports, or repeatable automation.