---
title: "Upsert: update what exists, create the rest | Dataship Help"
description: "Load a file where some rows are already in Salesforce and some are new, and preview the split before anything is written."
url: https://www.getdataship.com/help/upsert
updated: 2026-12-01
---

[Help center](https://www.getdataship.com/help)Load 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.

About 5 minGuide 6 of 18

## Before you start

- A file with a column that identifies a record, such as an email or an external ID.

1. Upload your file, choose the object, then choose **Upsert**. It updates the records that exist and creates the rest.
    
2. Under **Find records by**, choose how rows match existing records. Email and name are offered when your file has them. ** Other fields** lets you pick up to three fields yourself, such as an external ID field on the object.
    
    [![Upsert with Email as the match field.](/help/img/g06-1-upsert-findby.jpg)](https://www.getdataship.com/help/img/g06-1-upsert-findby.jpg)
    
    Upsert with Email as the match field.
    
3. Map the columns and choose **Check rows**. The review splits your rows into ** Will update existing** and ** Will create new**, so you know the outcome before you load. For the rows that update, it shows each value that will change.
    
    [![4 rows checked: 2 will update, 2 will create.](/help/img/g06-2-upsert-review.jpg)](https://www.getdataship.com/help/img/g06-2-upsert-review.jpg)
    
    4 rows checked: 2 will update, 2 will create.
    
4. 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](https://www.getdataship.com/help/undo-load).

[PreviousUpdate existing records](https://www.getdataship.com/help/update-records) [NextLink records by name](https://www.getdataship.com/help/link-by-name)

Screenshots use sample data. Something unclear or out of date? Use **Help & feedback** in the app, or [talk to us](https://www.getdataship.com/contact). More answers are in the [Help FAQ](https://www.getdataship.com/help/faq).
