CRM, data, and object reference
Data import
Load records into any object from a CSV file with full control over field mapping, duplicate handling, and error recovery.
What data import does
Data import lets you create, update, upsert, or delete records in bulk from a CSV file. Use it to migrate data from a previous system, backfill records in a new object, or apply a mass correction to existing records.
Prepare your file
- Export your data as a CSV with a header row. Column names do not need to match Kraftter field names — you will map them in the next step.
- Remove blank or duplicate header columns before uploading. The importer will reject files with missing or repeated column names.
- For updates, upserts, and deletes, include a column that uniquely identifies each record, such as a record ID or an external reference field.
Run an import
- Go to Data Import and upload your CSV file.
- Select the destination object.
- Choose the operation: Create, Update, Upsert, or Delete.
- For Update, Upsert, and Delete, select the identifier column in your CSV and the matching field on the object. The record's Id can be the matching field, for example the Id column of an exported file; it finds the record and is never written, so it isn't offered for any other column.
- Map each CSV column to its target field. A column whose name is a field's API Name is mapped automatically, and so is one whose name is a field's label (capitals and spaces around it don't matter), unless two fields share that label. A field is mapped to one column at most.
- Review the preview, resolve any mapping issues, then start the import. Preview checks up to the first 2,000 rows of the file, whether the import will later run immediately or as a background job.
The buttons beside Data Import (Previous, Next, Preview Import, Run Import, Start Import Job, Refresh Job or Upload another file, depending on the step) stay on one line, in their order. When the window is too narrow for all of them, the ones that don't fit move, in the same order, into a ⋮ button at the end of the line. On a phone the buttons sit on their own line under the title.
Match relationship fields by an external ID
When a CSV column is mapped to a single relationship field, you choose how its values find the related record:
- Match by Kraftter Id (default) — the column contains the related record's Kraftter record ID.
- Match by External Id — the column contains a value from another field on the related object, such as an ID from your previous system. Pick that field in Select Field to use as External Id. Read-only fields such as auto-number, formula, and rollup fields can be used.
External-ID matching is not available for polymorphic relationship fields. It also works for the identifier column of an Update, Upsert, or Delete when that column is a relationship field set to Match by External Id.
A blank value leaves the relationship empty. A value that matches no related record, or matches more than one, fails that row with an error that names the value. Only related records you can see count as matches, and you need read access to the related object and to the match field.
A match on a Date/Time field reads the value the way the import saves one: without a zone, like 2026-01-19T06:30:00, it is on the clock of the person importing (their Time Zone, or the workspace's); with one, like 2026-01-19T14:30:00Z, it is that moment. The same goes for the identifier column of an Update, Upsert, or Delete.
Commit modes
Before starting, choose how errors are handled:
- Partial success — valid rows are saved; rows with errors are skipped. Use this when you want to import as much clean data as possible and handle errors separately.
- All-or-nothing — if any row fails, nothing is saved. Use this when every row must succeed or none should be saved, such as when loading related records together.
In a background job, all-or-nothing covers the whole file, not just one batch. The job stops at the first batch with a failing row and undoes every earlier batch: records it created are permanently deleted, updated records are reverted, and deleted records are restored. The job then ends as failed. The job keeps its file, so Retry Job starts again from row 1. If something can't be undone automatically, the job message says so and you can use Rollback Processed Records to finish it.
Large imports and background jobs
Kraftter decides whether an import runs immediately or as a background job from the number of rows and mapped fields, not from the file size. An import of more than 500 rows always runs in the background. Smaller imports also run in the background when rows × mapped fields exceeds 5,000.
For a background job, set the Batch size: the number of rows saved per commit, from 1 to 200 (default 100). The job page shows progress, the current processing stage, and a live count of completed rows. You can cancel a running job, retry a failed or cancelled job, or roll back the records the job processed with Rollback Processed Records. Rollback is offered only on the page of the job you just started. It is not offered on past jobs opened from the Import Jobs list, because their records may have changed since.
Import Jobs
The Import Jobs tab on the Data Import page lists background imports. It shows the Job Id, object, operation, status, progress, file name, and created date. Select a Job Id to open the job's page, which shows its progress, results, and row errors.
Missing identifier behavior
For Update, Upsert, and Delete operations, you can configure what happens when the identifier value in a row does not match any existing record:
- Error — treat the unmatched row as a failure.
- Skip — silently ignore the unmatched row and continue.
Permissions and checks
Imports use the Imports permissions: Create to preview and start an import, Read to see jobs, Edit to cancel or retry one, and Delete to roll one back. Every row is then checked exactly like the same change made by hand by the person importing:
- their Object Access (Create, Edit, or Delete on the object) and record sharing — an update or delete only reaches records they can edit or delete;
- field access — changing a field they can't edit fails the row (“You can't edit these fields: …”);
- variants — a new record with no Record Variant gets the default variant of the importing user's Access Permission (for Accounts, the default of the kind the row is: a row with a Last Name is a B2C Account). A Record Variant the importing user can't use fails the row with “RecordVariantId not found or inactive.”, the same as one that does not exist;
- picklist values — a value that isn't one of the field's values, written exactly (capitals included:
webis notWeb), fails the row. If the field has Accept values not in value set turned on, the row is imported and the new value is added to the field as an inactive value; - enforced lookup filters, validation rules, and Duplicate Management;
- required fields — a new record needs a value in each required field, but a required field with a default value may be left out of the file (or left blank in a row): the record gets the default, as when it is created with the New button.
Each new record is saved once, as when it is created with the New button: its flows that run on create see it as imported, and what they change is kept (they can even delete it). Flows that run on update don't run for it.
Rollback Processed Records also runs with the importing user's access, all or nothing: if undoing any row would change a record they no longer have access to, nothing is rolled back and Kraftter lists the records (“This import can't be rolled back: it would change records you don't have access to … Nothing was changed.”). The automatic undo of a failed all-or-nothing job is not limited this way.
Review import results
After the import completes, a results window shows how many rows were created, updated, deleted, or skipped, and how many had errors. From there you can close it with Done or begin another import with Start a New Import. The results on the page also list error messages for failed rows. Each error gives the row number and the CSV column, and an invalid picklist or multi-select picklist error includes the rejected value. A row refused by a Duplicate Management setting names the records it looks like a duplicate of (“A Duplicate Management blocked this record: it looks like a duplicate of ‘Acme’.”), and a row refused by a validation rule shows the rule's error message. Saves made by an import are imports for a Duplicate Management's bypass settings. Use the error output to correct your source file and re-run only the failed rows.