Help centerLoad data
Upsert: update what exists, create the rest
Load a file where some rows are already in Salesforce and some are new, and preview the split before anything is written.
Before you start
- A file with a column that identifies a record, such as an email or an external ID.
-
Upload your file, choose the object, then choose Upsert. It updates the records that exist and creates the rest.
-
Keep Back up current values so this load can be undone ticked, then choose the button at the bottom right. It names the exact counts, for example Update 2 and create 2 Contacts.
If something goes wrong, and good to know
- Matching from another system works best with an External ID field marked Unique in Salesforce. Upsert by an External ID field is matched by Salesforce itself. If you keep matching on the same fields again and again, the review suggests asking your Salesforce admin for one.
- A row that finds none creates a new record. A row that finds several is never guessed: pick the record in the review, or leave it on Skip.
- Upserts can be undone: updated records go back to their old values and created records are deleted. See Undo a load.
Screenshots use sample data. Something unclear or out of date? Use Help & feedback in the app, or talk to us. More answers are in the Help FAQ.