Trail Map โ€บ Use-Case Catalog โ€บ Import / Export
๐Ÿ“ฅ Admin & Extend ยท Module 17

Import / Export: Thousands of Records, Minutes Not Days

Bulk-load a spreadsheet of leads with a clear error report for anything that didn't make it โ€” and export any list back out just as easily.

4
Units
~8 min
Time to Complete
80 pts
Available
1 Badge
Data Migration Specialist
Unit 1 ยท Business Problem

Why bulk import/export matters

DR
Dana Reyes ยท Sales Operations

"We just came back from a trade show with 5,000 business cards' worth of leads sitting in a spreadsheet. Nobody has time to type those into the CRM one record at a time before they go cold."

Manual, one-record-at-a-time entry doesn't scale past a handful of rows โ€” and a single bad row shouldn't hold the other 4,999 hostage.

๐Ÿ’ก
Business outcome
Thousands of records loaded in minutes instead of days, with full visibility into exactly which rows need manual attention โ€” nothing silently lost.
Unit 2 ยท How It Works

Anatomy of the Import Wizard

๐Ÿ“„ Upload CSV
โ†’
๐Ÿ”— Map Columns
โ†’
โœ… Run Import
StepDetail
Header detectionThe backend reads the CSV's header row and returns the column names for mapping
Field mappingEach CSV column is mapped to an object field (or skipped) โ€” done client-side before the final import call
Per-row processingEach row runs through the normal createRecord pipeline โ€” type coercion, required-field checks, validation rules, and workflows all apply
Result reportTotal rows, success count, fail count, and a per-row error list with the reason each failure occurred
โœ…
One bad row โ‰  a failed batch
Import is per-record transactional. A single row failing a required-field check doesn't roll back or block any of the other rows โ€” you get a clear list of exactly what to fix.
Unit 3 ยท Hands-On Challenge

Import a trade-show lead list

Prepare a CSVMake a small test file with columns: Company, First Name, Last Name, Email โ€” include one row with a missing required field on purpose.
Open the Import WizardImport โ†’ pick object: Lead โ†’ upload your CSV.
Map the columnsMap "Company" โ†’ company, "First Name" โ†’ first_name, "Email" โ†’ email, etc.
Run the importReview the result: success count, fail count, and the specific error for your intentionally-broken row.
Export it back outGo to Export โ†’ pick Lead โ†’ download the CSV and confirm your imported records are in it.
Unit 4 ยท Knowledge Check

Test what you learned

1. Row 42 of a 1,000-row CSV import fails a required-field check. What happens to the other 999 rows?
The entire import is rolled back
They still process normally โ€” only row 42 is reported as failed
2. Does a record created via CSV import trigger the same Workflow Rules as one entered manually?
Yes โ€” each row goes through the same createRecord pipeline as manual entry
No โ€” imported records skip workflows and validation rules