Importing data
Getting your existing data into Tessule is a guided pipeline: upload CSV, JSON or YAML files, let the analyzer propose where every table and column should land, check and adjust that proposal on one screen, and run the import as a background job you can watch and cancel. One wizard covers both starting from scratch (files become new tables, with cross-table relationships detected automatically) and topping up tables you already have.
If you only remember one thing:
Analysis proposes; the job disposes. Everything the wizard shows before you press Import — inferred types, suggested names, detected relationships, suggested rules — is a suggestion computed from a sample, and nothing is created until the job runs. Conversely, once the job is running it writes as it goes: rows already imported stay even if you cancel. When in doubt, use a dry run first — full validation, zero writes.
Who can do what
Section titled “Who can do what”| Action | Governs | Held by default |
|---|---|---|
records:create |
Uploading files, running analysis, importing into an existing table, cancelling a job | Member, Admin |
records:update |
Additionally required for update-mode deduplication (rows that overwrite existing records) | Member, Admin |
schema:apply |
Table-creating imports (POST /imports/jobs) — these apply a schema plan |
Admin |
records:backfillHistory |
Additionally required to write migrated history: a stageHistory file, or autonumber values (writeAutonumber) |
Admin |
tables:read |
Listing jobs and reading job status/results | Reader, Member, Admin |
A job can be cancelled only by its creator or a workspace admin. The
wizard itself lives in the Build area (Table Administration → Import CSV,
or Import CSV on a table’s data page), which is visible only with the
builder:access action — held by admins by default. A member without builder
access can still import into an existing table through the API
(POST /tables/{tableId}/import needs only the actions above); the
table-creating flow is admin territory on both surfaces.
Sources and formats
Section titled “Sources and formats”The import pipeline reads CSV files (.csv) — one table per file —
Excel workbooks (.xlsx), one table per sheet, and JSON and YAML
documents (.json, .yaml, .yml), which may describe several related
tables in one file. For CSV the delimiter is detected automatically and
headers become column names. There are no direct connectors to other
systems: to migrate from one (a CRM, say), export its objects and upload
them together.
The analyzer is deliberately good at exports from other systems, CRMs included:
- Uploading related files together (say
accounts.csvandcontacts.csv) detects cross-file relationships by checking whether one file’s column values are contained in another’s key column, and proposes proper reference fields instead of loose text IDs. - Salesforce ID columns are recognised, including the 15- and 18-character forms of the same ID — a child file using 18-character IDs links correctly to a parent exported with 15-character ones.
- A nested JSON or YAML export needs no such detection: an array of records inside a record is a child table, with a link that is certain.
Pulling records from an API
Section titled “Pulling records from an API”A licensed data source with a JSON API (a company database, a market data
feed) can be pulled straight into the import pipeline: Pull records from an
API on the Imports page, or POST /imports/sources/http. You give it the
records URL with its fixed filters, the workspace secret that authenticates
(and where it goes: a bearer token, an API-key header or query parameter,
or HTTP Basic) or No credential for a public API (auth: { "kind": "none" }, with no secret named), how the source pages (page number, record offset, or a
cursor or next link), where the records sit in a response, and a cap on how
many to fetch. A preset fills in a provider’s conventions; every field stays
editable.
The pull runs as an import job of kind fetch_http: it pages through the
source in the background, reports the records fetched as it goes, resumes at
the next page if interrupted, and stages what it fetched as one JSON
document. Nothing is imported at that point. Review and import takes the
document through the ordinary steps — the same analysis, mapping, rules,
duplicate handling and row report an uploaded file gets — so the job that
follows reports rows inserted, updated and failed exactly as for a file.
Every fetched record gains two columns, _source (the pull’s label, such as
capiq) and _fetchedAt (when the pull started), which you can map onto
fields to keep the lineage of each record.
The credential is a workspace secret: it is chosen by name, decrypted only by
the import worker, and sent only to the host of the URL you configured — a
next-page link on another host fails the pull rather than being followed.
Requests go through the same outbound guard the flows’ HTTP step uses:
HTTPS only, public addresses only, no redirects, and a bounded read per page
(a page over 4 MB fails the pull; ask for smaller pages). A keyless pull
goes through the same guard. Starting a pull needs secrets:manage, keyless
or not, since a pull sends requests, and usually a secret, to a URL of your
choosing.
Excel workbooks
Section titled “Excel workbooks”An .xlsx upload becomes one table per sheet, and the sheets of one workbook
are checked for links between them exactly as a set of CSVs is — an Orders
sheet whose Customer column holds the ids of a Customers sheet is
proposed as a reference field.
A sheet is rarely just a table, so the analysis finds the table on it:
- The header row is the row that looks most like one — wide, made of text, and followed by rows that fill the same columns. A title above it, a “prepared by” line, a blank row or two are skipped and reported.
- The data rows run from the header down to the first break: two blank
rows, or a blank row followed by a footnote. A trailing
Total,Subtotal,SumorAveragerow is dropped, by name. - Columns are the header’s extent; a blank header cell becomes
Column F, and values beside the table with no header are skipped and reported. - Sheets that hold no table (a notes page, an empty sheet) and sheets hidden in the workbook are skipped and named.
Each table’s card on the review screen shows the sheet and the cells it was
read from ('Customers'!A4:H120: the header row first, the data rows under
it). When the guess is wrong, type the header row into the card and the
workbook is analysed again from that row; Leave out this sheet drops a
sheet from the import, and a sheet left out can be brought back from the
notice that replaces it.
Cells are read as values, never as formatted text: a cell showing
$1,234 imports as 1234, one showing 12% as 0.12, a formula as its
last calculated result, a date as a date (whatever its display format), a
checkbox as a boolean. A cell merged across several rows applies to each of
them. Workbooks are read whole and are limited to 32 MB; the older binary
.xls format is not read — save it as .xlsx or CSV first.
JSON and YAML
Section titled “JSON and YAML”A JSON or YAML upload is read into virtual tables: one per array of records in the document. Everything after that is the CSV pipeline — the same type inference, the same review screen, the same job — so a document is simply a way of uploading several related tables at once.
What each shape becomes:
| In the document | Becomes |
|---|---|
| The root is an array of objects | One table, named after the file |
The root is an object with one array of objects ({ "records": [...] }) |
That array is the table, named after the file; the properties beside it are metadata and are skipped |
The root is an object whose properties are arrays of objects ({ "accounts": [...], "contacts": [...] }) |
One table per property, named after the property — the multi-CSV case in a single file |
A nested object of plain values ("address": { "city": … }) |
Flattened into the parent’s columns with dotted names (address.city), so it is an ordinary column |
A nested array of objects ("line_items": [...]) |
A child table <parent>_<key>, with a column holding its parent’s key and a reference field back to the parent |
A nested array of opening times ("opening_times": [{ "day": "Monday", "open": "09:00", "close": "17:00" }, …]), or an object of them by day ("hours": { "monday": "09:00-17:00", … }) |
One opening hours field on the parent, in place of the child table or the dotted columns — see Values spread over several columns |
A nested array of plain values ("tags": ["a", "b"]) |
One column holding the values joined with ; — proposed as a multi-select field when the values are short and few, otherwise as text |
| An array of arrays, an array mixing records and values, a property that is one shape in some records and another in others, or nesting more than four levels deep | Refused, not guessed: the column is skipped and the review screen says which path caused it |
Keys and links. A child table’s rows carry their parent’s identifier, so
they can be linked once both tables are loaded. The identifier is the
record’s own — id, _id, uuid, guid, key, or a property ending in
Id/_key — chosen from the document’s first record. When the first
record has none, every record gets a stable ordinal instead, published as a
<table>_key column. This is why the first record matters: a homogeneous
export (which is what exporters produce) gives the same answer whichever part
of the file is read, and analysis only reads the beginning of a large one.
Types come from the document. JSON and YAML have types where CSV has only
text, so they are believed: a number is never read as a date, "01234" stays
the reference it was written as rather than becoming the integer 1234, true
is a checkbox, and an array becomes a multi-select vocabulary.
Worked example. An orders.json of the shape:
[ { "id": "o1", "customer": "Acme Corp", "placed_on": "2026-01-05", "total": 120.5, "tags": ["priority", "new"], "address": { "city": "London", "postcode": "SE22 9QT" }, "line_items": [ { "sku": "A-1", "qty": 2, "price": 50 }, { "sku": "B-2", "qty": 1, "price": 20.5 } ] }]becomes two tables:
- orders —
source_id(fromid, renamed becauseidis reserved),customer,placed_on(a date),total(a number),tags(a multi-select ofnew,priority),address_city,address_postcode. - orders_line_items —
orders_key(a reference to orders),sku,qty,price.
The two are shown as a tree on the review screen, with the link as a fixed chip rather than a suggestion to confirm: it came from the file’s structure.
Size. A large JSON export is sampled at analysis time exactly as a large CSV is — the reader trims the sample back to the last complete record, so analysis never sees half a record. The import itself reads the whole document, which is parsed in memory, so JSON and YAML uploads are limited to 64MB (CSV’s limit is far higher — see Limits). Split a larger export, or convert it to CSV.
Importing a JSON or YAML file always goes through the full wizard, which creates the tables the document describes. To load one into an existing table, export that part as CSV.
The two flows
Section titled “The two flows”| Full wizard (new tables) | Per-table import | |
|---|---|---|
| Start from | Table Administration → Import CSV | Import CSV on a table’s data page |
| Files | Up to 25 files at once (CSV, Excel, JSON, YAML), or a document pulled from an API | One CSV |
| What it does | Decides per table whether to create it, extend an existing one, or load straight into one, then loads every table | Maps CSV columns onto the table’s existing fields; it never adds a field |
| Deduplication | append / skip / update, on any table that already existed | append / skip / update against existing records |
| Dry run | Checkbox in the wizard | Checkbox in the wizard |
| Endpoint | POST /imports/jobs |
POST /tables/{tableId}/import |
| Needs | schema:apply (admin) |
records:create (members may run it) |
Both flows share the same upload and analysis steps, the same review screen and the same job lifecycle. They differ only in what the review may change: the per-table import loads into its one table, so it has no destination to choose and no field to add.
Step 1 — Upload
Section titled “Step 1 — Upload”Files upload directly to storage via presigned URLs (POST /imports/uploads;
large files upload in parts and complete via POST /imports/uploads/complete
— the wizard handles this invisibly). Each upload returns a workspace-scoped
file handle that the later calls take; you cannot analyze or import a file
uploaded by another workspace.
Uploads are temporary staging, not attachments: imported files are kept for about a week after the job finishes and then deleted.
In new-tables mode the upload step is cumulative: Add more files puts another file beside the ones already uploaded, each file has a Remove, and Back from the review returns here with everything still in place. The files are analysed together each time the set changes, so a relationship between two files is detected whenever both are present, whichever was uploaded first. A table whose analysis comes back the same keeps every edit you made to it (a name, a target, a rule); one whose analysis changed — a new file linked to it, say — starts again from the new proposal, since edits made against the old one may no longer mean the same thing.
Step 2 — Analysis
Section titled “Step 2 — Analysis”POST /imports/analyze reads a bounded sample of each file (up to a few MB /
several thousand rows — the response flags when a file was sampled and
estimates its total row count) and returns one analysis per table: one
for a CSV, and one per virtual table for a JSON or YAML document, each
carrying the sourcePath it was cut from ($.orders[*].line_items[*]).
Per column it returns:
- a proposed field: name, display name, type, and required/unique suggestions, with confidence-ranked alternative type candidates;
- consistency warnings — e.g. a column that is mostly numbers with a few stray strings, or malformed rows in the file;
- skip suggestions for columns that don’t look worth importing;
- for picklist-shaped columns, the detected option list. A column whose
values are
;-separated lists with a small vocabulary of parts (a Salesforce multi-select picklist) is proposed as a multi-select picklist of those parts (MULTI_SELECT_INFERRED), and the import splits each cell on the separator; aRecordTypeIdcolumn of Salesforce record type ids is proposed as a picklist of the ids (RECORD_TYPE_IDS), with amapValuesrule from the record type export the way to turn them into names.
Where your organization has it, a column that analysis could only read as
text, could only guess a picklist for, or typed “mostly consistently” may also
carry a rule suggestion (ruleProposal). See
Suggested rules below.
With multiple tables it also returns the relationships and a ready-to-edit
schema-plan proposal. A relationship is detected — a value-overlap guess
between two files, carrying a match percentage and alternative parent
candidates — or certain: nested, from a document’s own structure, or
declared, read from the source platform’s metadata (below). Analysis
creates nothing; it exists to prime the review step.
Typing from Salesforce metadata
Section titled “Typing from Salesforce metadata”Exports from Salesforce can be typed from the objects’ own metadata instead
of from their values. Export one CSV per object, named after it
(Account.csv, Custom_Object__c.csv), and for each object run
sf sobject describe --sobject Account --jsonThen send adapter: salesforce with the describes in adapterMetadata
(in the wizard: choose Salesforce object exports under “Where is this data
from?” and paste them, one after another or as a JSON array):
{ "files": [{ "s3Key": "…/Account.csv", "filename": "Account.csv" }], "adapter": "salesforce", "adapterMetadata": { "describes": [ { "status": 0, "result": { "name": "Account", "fields": [ … ] } } ] }}A describe pairs with the upload named after its object (one describe and
one file pair whatever the name). Every column the describe names is typed
from it — the field type, its label as the display name, required and
unique as Salesforce holds them, a picklist’s active values, the record’s
name field as the table’s label — and says so with sourceType; the
value-based inference stays in typeCandidates as the alternatives. A
lookup to an object uploaded alongside comes back as a declared
relationship on the files’ Id columns (15- and 18-character ids match),
already a reference field in the proposed plan; a lookup to a user or
queue is a skip suggestion; one to an object not in the upload keeps the id
as text with a warning naming the file that would link it. Columns the
describe does not name are typed from their values and listed in the file’s
adapter.unknownColumns. What the adapter cannot carry is flagged on the
column: a currency amount is imported as a plain number
(SF_CURRENCY_AS_NUMBER), a rich text area as the exported HTML
(SF_RICH_TEXT), a type newer than this build as text (SF_TYPE_UNKNOWN).
A describe that does not parse is refused (ADAPTER_METADATA_INVALID, with
the path). The migration converter CLI covers the whole org — users,
provenance, stage history, files — from an export bundle; the adapter types
one upload.
Fit: the table may already exist
Section titled “Fit: the table may already exist”Every analysis also carries a fit: whether this table already exists in
your workspace, and so what the import should do with it.
| Outcome | What it means | What the plan does |
|---|---|---|
create |
Nothing in the workspace resembles it | Creates the table, as before |
extend |
An existing table fits, but is missing some of the file’s columns | addFields on that table for the missing ones |
map |
An existing table fits and already has every column | Nothing — the rows load as they are |
A fit also carries the table it matched, a score from 0 to 1, the columns an existing field already covers (and what made each one match), and the columns that would become new fields.
How it is decided. Half the score is the table name and half is how much of the file an existing table already covers:
- By name — the file’s proposed table name against existing tables’ names
and display names, through the same identifier rules the schema-plan
validator uses, so
Line Items,line_itemsandlineItemsare one name. A plural counts: a file calledaccount.csvfits a table calledaccounts. Columns match fields the same way. - By values — for each candidate table, a sample of its rows is read and the file’s column values are overlapped against it. A column at least half of whose distinct values are already in a field matches that field, even if neither name says so.
What it refuses, deliberately:
- a column with fewer than two distinct values is never evidence — one shared
yesor0“overlaps” everything; - a couple of shared values is not an overlap either;
- multi-select, address, coordinate, opening-hours and attachment fields have no comparable text form, so their values never match anything;
- a table whose name does not match needs at least two matched columns
before it is proposed at all — a lone
namecolumn matching anamefield is true of half of any workspace; - no two columns of a file map onto the same field.
You only ever see your own data in a score. Candidate rows are sampled through the same row and field permissions that govern reading the table normally. If you cannot read a table’s rows, its values contribute nothing and the fit falls back to the names alone; if you cannot read fields, those fields contribute nothing. A private table you own no records in will never match a file by value, and it will never show you a value from it.
Two related decisions follow from a fit:
- Links follow the table the rows land in. If a nested child’s parent maps onto an existing table, the child references that table. If the existing table has nothing that tells its rows apart — no label field, no unique field, no nominated key — the link is dropped with a warning naming the table, rather than proposing a plan that cannot apply.
- An extension never redesigns the table it extends. Fields added to an existing table are plain and optional, whatever the file’s shape suggested: the table already has its label and its keys, and a new mandatory column cannot be added to a table that already has rows.
Step 3 — Review the proposal
Section titled “Step 3 — Review the proposal”The analysis is a proposal for the whole import, and one screen shows all of it — whether you started from Table Administration → Import CSV or from a table’s own Import CSV. Nothing is applied until you submit, and the button says what it will do: Import into 1 table, Create 2 tables and import, or both at once (Validate, on a dry run).
Tables, and where each one lands
Section titled “Tables, and where each one lands”Each table gets a card, in the order the analysis found them. A JSON or YAML
document’s tables form a tree: each child table sits under its parent, shows
the path in the document it came from ($[*].line_items[*]), and says what it
is nested in.
The card’s Destination says what the analysis decided the table already is in your workspace, and on what evidence — The analysis proposed to add 2 fields to Leads (84% match by name and sampled values) — and is the one place to decide otherwise:
- Create a new table — name it in Table name (sanitised as you type).
- Load into any existing table — the one the analysis matched, or another. For the matched table the analysis’s own column matches are used; for any other, a column loads into the field of its proposed name (or its header’s), and every other column is added to the table as a new field.
A chip on the card says what the destination amounts to: Creates a new table, Adds 2 field(s) to Leads, or Loads into Leads as it is. When the destination already existed, the card also offers duplicate handling — see Duplicates below.
Values spread over several columns
Section titled “Values spread over several columns”Some values arrive in pieces. The analysis recognises two and proposes each as one field, on a card above the table’s columns:
- A latitude and a longitude — two columns under one name, such as
coordinates.latitudeandcoordinates.longitude(a nested object),latandlng, orLatitudeandLongitudein a CSV, holding numbers on the globe. They become one geolocation field, named after what they share (coordinates,home_location, orlocation). A row whose pair is off the globe is reported as that row’s error, naming the number. - Opening times in a JSON or YAML document — a nested list of rows with a
day, an opening time and a closing time (
day/dayOfWeek/weekday,open/opens/openTime/from,close/closes/closeTime/to, andclosed: truefor a closed day), or an object with one entry per day. They become one opening hours field on the record, instead of a child table. Days are read asMonday,monor a number, times as09:00,0900or9am; a row that does not read is reported as that record’s error, naming the entry.
Each is proposed accepted. Keep separate (or Import as a table) gives the import the file has without it: the columns load into fields of their own, and the list of opening times becomes its child table again. A list with anything else in its rows — a shift with the person working it — is never read as opening times.
Columns: where each goes, and how it is read
Section titled “Columns: where each goes, and how it is read”Each column shows a few of its sample values and Goes to: an existing field of the destination (a field another column already loads is not offered), A new field with a name and a type, or Skip this column. A new field of a table the import creates also has Required and Unique: the analysis ticks them when every sampled value was present, or distinct, which a small file can make true by accident — untick what is not a rule. A column the analysis matched to an existing field says why (Matched: same name, 50% of its values are already there).
Under it is the column’s rule chain — see Rules. Add rules opens it; each rule is edited in its own small form (a vocabulary for Map values, a pattern with named groups for Extract parts, a layout for Date layout, …), and rules can be reordered or removed. A chain that writes more than one field lists the others under Also writes, each with a type you can change: those fields join the plan as the rule adds them and leave it when the rule goes. A field can only be written by one column; an edit that would write one twice is refused, with the reason, and nothing changes.
Every edit to a chain re-runs the preview for that column: the first sample rows as the chain transforms them, one column per field it writes, with each row a rule refused highlighted and its reason, and each refusing rule’s count over the whole sample. Loading into an existing field, the preview also reads each value as that field’s type, so its refusals are the import’s; for a field the import is still to create, it shows the rules’ text, and the types are checked when the job runs (a dry run checks them first). A chain the server will not run at all — a pattern it refuses as unsafe, a rule in the wrong place — shows the server’s refusal instead.
Suggested rules on the screen
Section titled “Suggested rules on the screen”A column with a suggestion shows it before anything is applied: Suggested by AI: check it before you use it, the model’s one-line reasoning, the chain in words, the fields it would set up, and the sample values the chain could not read. Use these rules adopts it (the documented adoption, exactly — nothing else changes), Dismiss sets it aside; Use all at the top adopts every pending one.
An adopted chain is marked Proposed by AI only while it is the chain the model proposed. Change any rule and the mark becomes Edited from an AI suggestion: the chain is yours now, and the screen does not pretend otherwise. Undo (or Drop the rules, once edited) puts the column back exactly as it was before the suggestion was adopted. A suggestion from a source the screen does not know is shown as a plain suggestion, never as the AI’s.
The links between tables are listed under the tables. A link that came from a document’s nesting is a fixed chip — it is a fact about the file. A link the analysis detected from overlapping values is a guess, so it is a picker: the proposed parent, any alternative parent that also qualified (each with how many of the values it holds), or No link, which keeps the column as the plain field the analysis inferred. A link follows its parent: rename the parent’s table, or send it to an existing one, and the reference goes with it.
Issues, where they point
Section titled “Issues, where they point”The schema plan the proposal adds up to is validated as you edit, and each issue is shown against the column or table it names — a reserved field name on its column, a missing label on its table. The same happens to the issues of a job the server refuses on submit. Issues from the analysis itself (a document path that could not be read, a table analysis could not consider) are on their tables too.
Then: the cell policy, and the job
Section titled “Then: the cell policy, and the job”Below the tables are the controls every import has — When a cell can’t be read as its type, Read as empty, Skip invalid rows and report them and Dry run — described in the sections that follow. A dry run is available from both entry points.
Through the API, the review is yours to do: POST /imports/jobs takes the
plan and the per-file mappings (rules included) the proposal adds up to, and
POST /tables/{tableId}/import a single table’s mapping. A file whose target
already exists takes duplicateHandling and matchFieldName on its file
entry, the same way the per-table import does: rows whose match value equals
an existing record’s are skipped or overwrite it. The match field must already
be on the table — a field this import is adding cannot identify a record that
predates it — and update additionally requires records:update plus write
access to every field the file writes. The schema plan is validated when the
job is submitted: structural problems come back immediately as teaching issues
and nothing is enqueued.
Auto-mapping, through the API. A file whose header already uses the
table’s field names needs no mapping at all: omit mapping and every column is mapped to
the field of the same name, or failing that the same display name
(case-insensitive, whitespace-trimmed). Give mapping for the exceptions
and set autoMap: true to fill in the rest; list columns to skip in
ignoreColumns. A header that names a computed, lookup, rollup, autonumber
or attachment field is skipped and reported, not refused (an autonumber
field is mapped like any other when the job sets writeAutonumber, below). The job returned
by the request carries a mapping block — the resolved column → field
list with how each was matched, the columns skipped and why, the columns
nothing matched, and any required field left unmapped — so a dry run shows
what auto-mapping decided before anything is written. An explicit mapping
on its own keeps its meaning: the columns it does not name are skipped.
Reference columns take the target’s key, not only record ids. A cell in
a reference column may hold the referenced table’s reference-key value —
its unique label, its one unique field, or the single field of its
nominated reference key — and each cell resolves to the matching record;
a cell that matches no key value but is an existing record’s id is taken
as that record, so files holding ids keep working. Set matchBy on the
mapping entry to match on another unique field of the target instead. A
cell that matches nothing is a row error naming the key (“no venues record
has Name ‘X’”), so a dry run shows every unresolved reference before
anything is written. The job’s mapping block reports how each reference
column resolves (matchBy: the key field, or id when the target has no
single-field key). A table keyed by several fields still needs record ids.
A reference to users resolves by email. A cell in a column that
references users may hold a workspace member’s email address (compared
case-insensitively), and resolves to that member; a cell holding an active
member’s user id is taken as that member. An address that belongs to no
active member is a row error naming it, so invite the people first (the
organization’s bulk invite endpoint takes a whole directory at once) and run
the import after they are members. The job’s mapping block reports such a
column as matchBy: email; it is the only value matchBy accepts there.
How cells are read, by field type — the same forgiving parsing the grid uses:
| Field type | Accepted cell values |
|---|---|
| number, integer, percent | 1234, 1,234.50, 12%. An integer must be whole. |
| currency | An amount, optionally with a symbol or an ISO code on either side: 120, 1,250.50, €120, 120 EUR, GBP 80. A code in the cell is stored with that record; a bare amount takes the field’s configured currency, and is a row error when the field has none. |
| boolean | true/false, yes/no, y/n, 1/0. |
| date | 2026-03-15, or a day-first slash date 15/03/2026 (swapped when the first number cannot be a day). |
| datetime | A date as above (midnight UTC) or any ISO 8601 timestamp. |
| time | HH:MM or HH:MM:SS. |
| duration | 4h, 4h 30m, 90m, 4:30, or a bare number in the field’s unit. |
| rating | 4, 4/5 or ★★★★☆. |
| multi-picklist | Values separated by ; — A;B;C (the Salesforce export convention). Commas, pipes and JSON arrays are not separators. |
| reference | The 12-character id of the referenced record. |
| geolocation | 51.5074, -0.1278 (latitude first), a Postgres point (-0.1278,51.5074) (x then y, so longitude first), a WKT POINT(-0.1278 51.5074) with or without SRID=4326;, or the hex (E)WKB a PostGIS geometry column exports as (0101000020E610…) — or the field’s JSON object. |
| address, opening hours | A JSON object in the field’s shape. |
An empty cell is an empty value, and so is a cell holding one of the
null tokens — by default NULL, \N, N/A, #N/A and NaN,
matched ignoring case, the spellings database and spreadsheet exports use
for a missing value. The wizard’s Read as empty box (the API’s
nullTokens) changes the list; empty it to take every cell literally.
Whether an empty value is allowed is the field’s required-ness, checked
per row.
A cell that cannot be read as its field’s type (ten in a whole-number
column) does one of two things, chosen per import (When a cell can’t be
read as its type; the API’s onCellError):
- Skip the whole row and report it (
skipRow, the default): the row is invalid and none of it is written; it appears under row errors. - Store that cell empty, keep the row, report the cell (
blankCell): the rest of the row is written and the cell is listed under Cells stored empty in the result (blankedCellCount,blankedCells), so the values can be filled in afterwards. A required field still refuses the empty cell, so its row is reported as invalid either way.
Provenance: keeping the original dates, authors and owners
Section titled “Provenance: keeping the original dates, authors and owners”An import normally stamps every record it writes with its own moment and
user: the record was created and last updated when the import ran, by the
person who ran it, who also owns it. A migration from another system loses
its history that way — every account “created” on go-live day, every record
owned by whoever pressed the button, velocity and dwell reports measured from
the wrong date. A file entry in POST /imports/jobs may instead name the
columns that carry each record’s provenance, under provenance:
{ "provenance": { "createdAt": { "column": "CreatedDate" }, "updatedAt": { "column": "LastModifiedDate" }, "createdBy": { "column": "CreatedById", "rules": [{ "rule": "mapValues", "values": [{ "from": ["005…"], "to": "ana@example.com" }], "unmatched": "empty" }] }, "ownedBy": { "column": "OwnerId", "rules": [{ "rule": "mapValues", "values": [{ "from": ["005…"], "to": "ana@example.com" }], "unmatched": "empty" }] } }}createdAtandupdatedAtcells are read as date-times (ISO 8601, or a date at midnight UTC — adateFormatrule reads anything else).createdBy,updatedByandownedBycells name an active member of the workspace, by id or by email. A legacy system’s own user ids get there through amapValuesrule, as above; a user who is not a member maps to nothing (unmatched: "empty") and the default applies.- An empty cell keeps the default — the import’s time, or the importing
user — and is counted as
defaulted. A cell that is not a date-time, or names nobody who is a member, is a cell failure and follows When a cell can’t be read as its type: the row is skipped and reported, or the default is stored and the cell listed under Cells stored empty. createdAtandcreatedByapply only to rows the import inserts. On a row overwritten underduplicateHandling: "update",updatedAt,updatedByandownedBystill apply, so a re-run can re-own records without rewriting when they were created.
Setting provenance is a capability of the import, never of an ordinary
write: it needs the records:importProvenance permission (held by
workspace admins), checked when the job is submitted and again when it runs,
so created_at stays trustworthy everywhere else. The job’s input records
which columns set which values, and the result’s provenanceByTable says,
per table and system column, how many rows took the file’s value
(preserved) and how many kept the default (defaulted). A dry run
reports the same counts without writing, so you can see what history would
survive before committing.
Autonumbers: keeping another system’s numbers
Section titled “Autonumbers: keeping another system’s numbers”An autonumber field assigns its own numbers, so an ordinary import cannot
map a column onto one. Records migrated from another system often carry
numbers people already quote — an invoice number, a job number — and
those are kept with the import option writeAutonumber: true:
- Create the autonumber field first, with the display format the source
uses (
JOB-{00000}, say). - Import the records with
options.writeAutonumberand the number column mapped onto the field.
Each cell is read as the field’s format with its literal text stripped
(JOB-16557 is 16557) or as a bare whole number. An empty or unreadable
cell, a number below 1, or a number another record or an earlier row
already holds is a row error. Before each batch is written, the field’s
numbering moves past the batch’s highest number, so a record created
afterwards gets the next unused number and never collides with an imported
one. The numbers are written on insert only: the option cannot be combined
with update duplicate handling or an atomic job. It requires
records:backfillHistory, the permission that writes migrated history, and
record creates and updates outside an import still cannot set an
autonumber.
Import the numbers into the autonumber field itself. A text field cannot be retyped to an autonumber later, and an autonumber field added to a table that has rows numbers them afresh.
Rules: reading a column that needs more than a type
Section titled “Rules: reading a column that needs more than a type”The parsing above covers a column whose cells are already the shape the field
wants. Real exports are often not: one column holds Y, yes, No and
No - moving to a competitor; another holds a whole address; a date column is
month-first. Import rules are a small closed vocabulary for saying how to
read such a column — set per mapping entry (the API’s rules), applied to the
cell before the type parsing above, and chained in order.
A column with no rules behaves exactly as it always has. A chain may write several fields from one column, which is how one address column fills street, city and postcode.
| Rule | What it does | Example |
|---|---|---|
nullTokens |
The texts this column reads as empty, in place of the import’s list. | { "rule": "nullTokens", "tokens": ["-", "none"] } — this column’s blanks are -, and NULL stays an ordinary value here. |
mapValues |
A vocabulary onto a boolean or a picklist option, case-insensitive. default catches the rest; unmatched (error, the default, or empty) says what an unknown value does. |
{ "rule": "mapValues", "values": [{ "from": ["Y", "yes"], "to": "true" }, { "from": ["N", "no"], "to": "false" }] } |
remainder |
What the extract or mapValues before it did not consume, into another field. |
{ "rule": "remainder", "target": "renewal_note" } — after the mapValues above, No - moving to a competitor becomes false plus a note. |
split |
One cell into several fields by a separator, or (into: "list") into one multi-picklist field. |
{ "rule": "split", "delimiter": "|", "into": "list", "targets": ["tags"] } — an export using | instead of ;. |
extract |
A regular expression with named groups, each group into a field. | { "rule": "extract", "pattern": "(?<street>[^,]+),\\s*(?<city>[^,]+),\\s*(?<postcode>[A-Z]{1,2}\\d[A-Z\\d]?\\s*\\d[A-Z]{2})", "targets": { "street": "street", "city": "city", "postcode": "postcode" } } |
dateFormat |
A date in a layout you name, instead of the day-first guess. Tokens: YYYY, YY, MM, MON, DD, HH24, MI, SS; anything else is literal. |
{ "rule": "dateFormat", "pattern": "MM/DD/YYYY" } — 03/04/2026 is the 4th of March, not the 3rd of April. |
combine |
Several columns into one field. Must be the chain’s first rule. | { "rule": "combine", "columns": ["First name", "Last name"], "separator": " " } |
cast |
Read the cell as a named field type — the parsing above, said explicitly. | { "rule": "cast", "fieldType": "geolocation" } |
resolveReference |
The cell holds a key of another table rather than a record id (the same thing matchBy does). With "entity": "user" and no table, the cell holds a workspace member’s email. A mode compares the cell the way a duplicate key compares (see Reference columns below); a scope narrows the candidates to records that agree with the row on a field. |
{ "rule": "resolveReference", "table": "accounts", "keyField": "code" } — or { "rule": "resolveReference", "entity": "user", "keyField": "email" } — or { "rule": "resolveReference", "table": "logos", "keyField": "company_name", "mode": "similar", "threshold": 0.8, "scope": { "field": "market_model" } } |
constant |
The same value for every row, whatever the cell holds: the parent every record of a pull belongs to, a region, a source label. Must be the chain’s first rule; the entry’s column is then only a label and need not be in the file. The value is read as the field reads a cell, so one the field cannot hold fails every row under the cell policy. A rule after it reads it like a cell. |
{ "rule": "constant", "value": "emea" } — or [{ "rule": "constant", "value": "EU-BANKS" }, { "rule": "resolveReference", "table": "market_models", "keyField": "code" }] to set a reference by its key. |
Preview before you run it. POST /imports/preview takes a mapping and an
uploaded file and returns the sample rows as the rules transform them, every
field the mapping writes, and a failure count per rule with an example — so
you can see which rows the address pattern cannot read before anything is
written. Naming tableId also coerces each cell by its real field type, so the
preview’s refusals are exactly the import’s, and looks every reference cell up
against its table the way the job will (each row’s references says, per
cell, the record it resolved to or why it did not; references on the response
tallies each field). For one table of a JSON or YAML document, pass its
sourcePath and the filename it was uploaded as. The review screen runs this
preview for you on every edit.
Reference columns: matching another table’s records
Section titled “Reference columns: matching another table’s records”A reference column rarely holds this platform’s record ids. It holds the
other table’s key — a company name, a code — and the import looks each
cell up. By default the cell must equal the key field exactly (the table’s
unique label or unique field, or the matchBy / resolveReference key you
name), and a cell that matches nothing is a row error.
A file seldom spells a label the way the table does: Banque Lutece for
Banque Lutèce, Iberia Caixa S.A. for Iberia Caixa. Give the
resolveReference rule a mode, and the cell compares with the key field
the way a duplicate key compares (the three modes under
Duplicates): normalised folds case, accents, punctuation and
legal forms; similar scores by trigram similarity against threshold
(0.5–1, default 0.8). In these modes the key field need not be unique.
A rule that names a mode also changes what happens to a cell the lookup
cannot settle. Instead of a row error, the row is held as a possible
match of that cell — several records fit (ambiguous), only records below
the threshold fit (below_threshold), or none at all (unmatched) — and
listed in the job’s result under possibleMatches with the field’s name and
its candidates. You settle it with a matchDecisions entry that names the
same rowNumber and field: resolve with the recordId to use, or skip
to leave the cell empty. A decision’s record is checked again when the job
runs; one you cannot see is a row error.
scope narrows the candidates: { "field": "market_model" } matches a logo
only among logos whose market_model equals the importing row’s own
market_model (name from when the row’s field is called something else).
A scope that reads a field the import itself looks up is resolved after it,
so both sides compare as record ids.
Review references on the proposal screen shows the sample’s uncertain and unmatched cells before the job runs, with each cell’s candidates, and your choices travel with the job. Under each column, the preview marks every reference cell as matched, needing a decision, or matching nothing, with a count per field.
Suggested rules: from AI, or not
Section titled “Suggested rules: from AI, or not”Analysis can suggest a chain for a column, so you don’t have to write it
yourself. The suggestions come from a language model, the
import rule proposer.
It only looks at columns analysis left as text, could only guess a picklist
for, or typed “mostly consistently”, and it sees only a small sample of each
one. A suggestion arrives on the column in the analysis
response, and you can tell where it came from by its source:
"ruleProposal": { "source": "ai", "fieldName": "consent", "rules": [ { "rule": "mapValues", "values": [{ "from": ["Y", "yes"], "to": "true" }, { "from": ["N", "no"], "to": "false" }] }, { "rule": "remainder", "target": "consent_comment" } ], "fields": [ { "name": "consent", "displayName": "Consent", "type": "boolean" }, { "name": "consent_comment", "displayName": "Consent comment", "type": "text" } ], "rationale": "Yes/no answers, some with a trailing comment.", "sampleCheck": { "checked": 7, "failed": 0, "failedValues": [] }}sourcesays who suggested it.aimeans a model; check it as a suggestion, not a finding. A column with noruleProposalhas no suggestion, which is most columns. Treat asourceyou don’t recognise as a plain suggestion too, because more may be added.rulesis an ordinary chain, the same document you would write by hand. Nothing about an AI-suggested chain is special once you use it. You edit it and preview it the same way, and the job runs it through the same deterministic rule engine.fieldslists the fields the chain needs that the import has yet to create. A chain can write several fields, and a plan that does not know about one of them is refused when you start the job. They go on the table the column loads into — itscreateTablesentry, oraddFieldswhen the file maps onto an existing table. The column’s own field, which the plan already declares, is retyped in place (the Y/No column’s field becomesboolean): it keeps its display name and its required, unique and label settings, and loses aconfigthat belonged to its old type, such as a picklist’s options. Any other field joins the entry, replacing one of the same name.sampleCheckis the chain run over the sample values, each value it produces read as the type its field will have. The server computes it; the model’s own claim is not used. A suggestion that could not read most of its sample is dropped before you ever see it, and so is one that would leave a guessed picklist a picklist — its options are the column’s raw answers, which the chain’s values would never be.
To use a suggestion, copy rules into that column’s mapping entry, which
names fieldName, and add fields to the plan. Then run
POST /imports/preview on the result. Nothing is applied until you do: the
rest of the analysis is exactly what it would be without the suggestion.
To leave it out, don’t copy it.
The import wizard shows suggestions on its review screen, and adopts one
exactly as above when you choose Use these rules (see
Suggested rules on the screen). To get the
analysis without asking any model, send "ai": false with
POST /imports/analyze; the wizard never does.
Two things to know about the regular expressions, both for the same reason — a rule runs once per row, so a pattern that can misbehave is refused rather than risked:
- They are anchored: an
extractpattern must match the whole cell. - A pattern with a quantifier inside a quantifier is refused, because it can
backtrack catastrophically. This includes an optional group holding one, so
write an optional part as
(?:X|)rather than(?:X)?— the refusal says so. Back-references and look-behind are not supported.
Duplicates
Section titled “Duplicates”Duplicates are handled by choice of three modes against a match key: one to five of the mapped, scalar-typed fields (JSON-shaped fields like address or multi-picklist cannot be matched on; a unique field is the best single choice and the default).
| Mode | A CSV row matching an existing record… |
|---|---|
Add anyway (append, default) |
…is inserted as a new record. No matching happens; a collision on a unique field is still a row error. |
| Skip | …is counted and not written. Only new records import. |
| Update | …overwrites the mapped fields of the matched record; unmapped fields keep their values. Non-matching rows are inserted. |
The key compares in one of three ways (match.mode):
| Compare | What matches |
|---|---|
Exactly (exact) |
The values’ text forms are equal. |
Ignoring case, punctuation and legal forms (normalised) |
Equal after folding case, accents, whitespace and punctuation, reading & as “and”, closing up dotted abbreviations (“S.A.” reads as “SA”) and dropping a trailing legal form: “Barclays PLC”, “barclays plc.” and “Barclays” are one key, and so are “Banque Lutèce S.A.” and “Banque Lutece”. “Group” and “Holdings” are kept, since they tell companies apart. |
By similarity (similar) |
The first key field compares by trigram similarity of the normalised text and the other fields must agree. A score at or above the threshold (0.5–1, default 0.8) is the match. Similarity reads the whole target table into memory, so a table past 50,000 records is refused in this mode. |
With match.salesforceIds, an exact or normalised key compares every value
on its first 15 characters, so a 15-character Salesforce Id and the
18-character form of the same record (the last three characters are a
checksum of the first 15) are one key, in the file and in the table alike.
A row that matches exactly one record is settled by the rule: updated or skipped. A row whose match is uncertain — several records fit, or in similarity mode the best score falls in the band from 0.3 below the threshold up to it — is a possible match: it is not written, it is listed in the result with its candidate records, and it waits for your decision.
Review matches on the proposal screen shows those decisions before the
job runs: the key is run over the file’s sample (POST /imports/matches),
every sampled row that found a record is listed with its candidates, and for
each uncertain row you choose to update one of them, add the row as a new
record, or skip it. The answers travel with the job as matchDecisions,
by row number, and are honoured as given — a decision to update names a
record you can see and update, checked again when the job runs. A file that
goes on beyond the sample can still hold further uncertain rows; the job’s
result lists them, and you import the file again with the decisions they
need.
Every settled row is in the job’s result (matchOutcomes: the record, the
score, and whether the rule or a reviewer decided), and every record an
import updates carries the match on its history — “via import, matched on
name + country by similarity at 87%, confirmed by a reviewer” — beside the
values that changed.
Because a matched row is a partial update, update mode does not require
every required field to be mapped: a corrections file can carry just the
match column and the field being fixed. Only a row that matches nothing —
and so would insert — is held to the required fields, as a row error naming
them (in the other two modes an unmapped required field fails the job up
front, since every row would insert). Update mode’s other sharp edges are
reported per row rather than guessed at: a row matching a record you may not
update, duplicating an earlier row’s key, or with an empty key is a row
error. Update mode also requires the records:update action and honours
your row and field permissions — an import can never update a record or
field you couldn’t edit by hand, and a record you cannot see is never a
candidate.
Step 4 — The job
Section titled “Step 4 — The job”Starting the import enqueues an asynchronous job and returns immediately.
The wizard polls it for you; via the API, GET /imports/jobs/{jobId} returns
status, progress and result, and GET /imports/jobs lists the workspace’s
jobs newest-first (tables:read) — ?ids=a,b,c narrows it to named jobs,
so one read confirms a whole batch of imports.
Importing into an existing table with wait: true holds the response until
the job has finished, for up to about 20 seconds, and returns the finished
job as a 200 — result and row errors included, so a small file needs no
second call. A job still running at the cap comes back as the usual 202
and is polled like any other; large files stay asynchronous either way.
- Status:
queued→running→succeeded,failed, orcancelled. - Progress: a phase (
pending,applying_schema,shredding,inserting,linking,linking_activities,attaching,backfilling_history,finalizing;revertingfor a revert job, below), rows processed, the file being worked on, and a total (estimated until the file has been read through once).shreddingappears only for a JSON or YAML import: it is where the document is turned into one CSV per table, after which the job is an ordinary CSV import.linking_activities,attachingandbackfilling_historyappear only for a job with an activity links file, an attachment manifest or a stage history file (below). - Result: rows inserted and updated per table, duplicates skipped, possible matches held for a decision (with their candidates), the rows the match settled, total error count, warnings, and the first batch of row errors — each with its 1-based row number, file, and messages. The wizard can download the errors as a CSV; fix those rows and re-import just them.
Activity links: attaching activities in bulk
Section titled “Activity links: attaching activities in bulk”An activity — a row of an activities table, one created with the activities
base type — regards the records it is about through links, which the record
page attaches one at a time
(POST /tables/{tableId}/items/{itemId}/activities). A migration brings
thousands of them, so a job on POST /imports/jobs may carry an
activityLinks file beside its data files: a CSV with one row per link,
naming the activity and the record by a key value each (a Table column
says which table the record is in), with activitiesTable naming the
activities table the activity keys belong to. A workspace with one activities
table may leave it out; once it has several, the job needs the name and
refuses rather than guess. After the rows are loaded, the job
resolves every row against the key field named for each side — source_id
when the data came from Salesforce — and creates the links in one pass
(created in the result’s activityLinks). A link that is already there is
counted, not duplicated, so re-running a plan is safe; a row whose activity,
table or record cannot be found is a row error, and the job goes on. The
rule is the same as attaching by hand: the record must be readable to you
and the activity yours to update (records:update), and an activity never
links to another activity or past its cap of linked records. An atomic job
cannot carry the file.
Attachments: filing uploaded bodies in bulk
Section titled “Attachments: filing uploaded bodies in bulk”An import loads values, never files: an attachment field cannot be mapped
from a column, and a file is normally uploaded to a record one at a time
(POST /tables/{tableId}/items/{itemId}/fields/{fieldId}/attachments). A
migration brings the files with the records, so a job on POST /imports/jobs may carry an attachments manifest beside its data files:
a CSV with one row per body, naming the record by a key value (with a
Table column for its table), the attachment field to fill, the file name
and media type to keep, and the body itself — uploaded first through POST /imports/uploads, whose returned handle goes in the manifest’s object key
column. After the rows are loaded, the job resolves each row against the
key field named for the record (source_id when the data came from
Salesforce), checks the body against the field’s size cap and media-type
allowlist exactly as an upload is checked, copies it server-side into the
record’s own storage and writes the field as an ordinary update, with the
record’s history and events. The result’s attachments says how many were
filed. A field that already holds a file keeps it, and the row counts as
existing, unless onExisting is replace; a row with an empty body cell
is skipped quietly; a row whose record, field or body cannot be found, or
whose body the field refuses, is a row error, and the job goes on. The
rule is the same as uploading by hand: the record must be yours to update
(records:update), and a field you may not write refuses the body. An
atomic job cannot carry the manifest.
Stage history: writing past moves as history
Section titled “Stage history: writing past moves as history”A record that arrives by import starts its stage history at the import.
When the table’s stage field is designated, each imported record gets one
null → current value transition dated at the import, and every aging,
cycle-time and time-in-stage figure counts from then — a job migrated from
another system shows its records as having just entered their stages.
Supply the history with the import if the system it came from kept one: a
job on POST /imports/jobs may carry a stageHistory file, a CSV with one
row per past move, naming the record by a key value (with a Table column
for its table), the stage field, the value entered and when, as an ISO-8601
instant. The rows of one record must sit together and in time order. A job
that carries this file writes no import-time baseline for the rows it
loads: the file’s chains are the baseline. After the rows are loaded, the
job resolves each record against the key field named (source_id when the
data came from Salesforce) and writes its chain the way POST /tables/{tableId}/stage-transitions/seed does with source import:
chained from nothing, checked against the field’s transition rules, strictly
increasing in time, and required to end on the value the record holds now,
so the log and the record can never disagree. The rows carry source
import, and every cycle-time and aging chart reads them as the real
history they are. The result’s stageHistory says how many transitions and
records were written. A record that already has history for the field is
left as it is and counted as existing, so a re-run writes nothing twice;
a chain the rules refuse, or a row naming a table, field or record that is
not found, is one row error on the chain’s first row, and the job goes on.
A table imported without the file already carries its import-time
baselines, which the seed operation refuses to write history behind. On a
sandbox workspace, POST /tables/{tableId}/stage-transitions/seed with
replace: true removes each named record’s import and seeded rows
before writing its chain, in the same transaction; rows a live write
produced are never removed, and a chain that would have to precede one is
refused as out of order. The result’s replaced says how many rows went.
The import does the same from a file: on a sandbox workspace, a
stageHistory file with replace: true replaces each named record’s
import and seeded rows for the field instead of skipping a record that
already has history, under the same rules, with no limit on the number of
moves. The job’s stageHistory result then carries replaced, and a dry
run counts the rows that would go. On any other workspace the job is
refused with SANDBOX_ONLY.
Three things to line up first. The stage field must be designated before
the job runs, and designated without a snapshot: a snapshot gives every
record a baseline, after which the job finds history in place and writes
nothing. So the order is the data job, then the plan’s stageConfigs
without snapshotExisting, then this job, and last — for the records the
file said nothing about — POST /tables/{tableId}/fields/{fieldId}/stage-config/snapshot with a
snapshotDating, which dates only the records that still have no history.
The principal running the job needs records:backfillHistory, held by
workspace admins, as well as the usual schema:apply; it is the one
permission that writes the past on a production workspace, and it writes
it as migrated history, never as demo data. And a job that carries only
this file may have an empty files list. An atomic job cannot carry it.
Invalid rows: skip or fail
Section titled “Invalid rows: skip or fail”Skip invalid rows and report them (the default, skipInvalid) imports
everything valid and reports the rest per row. Untick it and the first
invalid row fails the whole job with that row’s error. The API also
offers an atomic option — all-or-nothing in one transaction — accepted
only for jobs small enough to finish in one slice; for anything larger, dry
run first instead.
Cancelling
Section titled “Cancelling”POST /imports/jobs/{jobId}/cancel (or the wizard’s Cancel button): a queued
job cancels immediately; a running job cancels cooperatively at the next
batch boundary. Tables and rows already created stay — the result reports
exactly what landed, and a cancelled import can be reverted like a finished
one (below). The safeguards are ordered: dry run → skip-invalid run → (small
jobs only) atomic run → revert.
A job interrupted by a platform fault (rather than cancelled) is retried
automatically from its last checkpoint a bounded number of times before
being marked failed.
Reverting an import
Section titled “Reverting an import”Every committed import keeps a record of the rows it created and the rows it
overwrote. For a window after the job finishes (seven days by default; the
job’s revertableUntil says exactly when it closes), the import can be
reverted: the wizard’s history and the job view offer Revert, and the
API has POST /imports/jobs/{jobId}/revert. It needs records:delete, and
the revert is asked for by the job’s creator or a workspace admin.
A revert moves every record the import created to the recycle bin, as
one batch: restore any one of them from its table’s bin and they all come
back, edits made since the import included. Records that reference them
through a cascade reference go with them, exactly as a hand delete would
take them. Rows the reverting member could not delete under their own row
scope are left alone and counted as skipped.
Records the import updated keep the imported values. An overwritten
value is not recorded, so a revert cannot restore it; the confirmation shows
the job’s own created and updated counts per table, and the result counts
the kept ones as updatesKept. If an update-mode import landed wrongly,
re-run it in update mode from the original data.
The revert runs as a job of its own (kind: revert, phase reverting),
polled and cancelled like any other; the import it reverts carries the
revert’s id and status in revert, and the revert job’s result holds per
table what moved, what was skipped and what was kept. A revert that was
cancelled or failed can be asked for again; it moves what the first left.
What an import does not trigger
Section titled “What an import does not trigger”- Per-row record events do not fire. An import announces itself as a single table-level change per touched table, not thousands of individual record events — deliberate, so a 100,000-row import cannot fan out into 100,000 downstream reactions. If something must happen per record, run it after the import over the new rows.
- Approval rules do not hold import rows. Approvals intercept the interactive record-write path; import rows are written by the job directly. Combined with the permission checks above, the import needs to be trusted the way its runner is trusted — which is why table-creating imports are admin-only.
- Open Sheets and grids on a touched table are told to refresh when the job finishes, rather than receiving each row live.
What is enforced per row, identically to a manual edit: field validation, required/unique constraints, picklist option rules (you cannot import a row into a retired option value), and stage transition rules — in update mode, an unchanged stage is not a transition, so re-importing an export of a table with guarded stages does not fail every row.
Limits
Section titled “Limits”Fixed platform guardrails:
- File size: 1 GB per CSV (checked at upload and analysis); 64 MB per JSON or YAML document, which is parsed whole.
- Encoding: UTF-8, with or without a byte order mark. A UTF-16 file (the
“Unicode” choice of a Salesforce Data Export) is refused at analysis with
UNSUPPORTED_ENCODINGand theiconvcommand that converts it; a file decoded in the wrong encoding would otherwise read as one column of garbage, and every later message would describe it wrongly. - Files per import: 25 — and 25 tables per document.
- Nesting: four levels below a record in a JSON or YAML document.
- Row size: ~1 MB per CSV record.
- Rows per job: 1,000,000 — larger datasets should be split and imported in parts.
- An API pull: 4 MB per page, 50,000 records (10,000 unless raised), 1,000 pages, and the 64 MB document cap on what is staged.
From the organization limits framework (defaults, adjustable per plan or per-organization):
| Limit | Default |
|---|---|
| Concurrent queued/running import jobs per workspace | 5 |
| Tables per workspace (checked before a table-creating import) | 200 |
| Rows per table (checked before an import that would exceed it) | 5,000,000 |
| Days after an import finishes during which it can be reverted | 7 |
Finished jobs and their reports are retained for about 30 days, and the record of which rows a job wrote goes with the job; uploaded files for about 7.
Troubleshooting
Section titled “Troubleshooting”“Import exceeds the row limit” — the job refuses to start (or stops) when a file exceeds the per-job row cap. Split the file and import in parts; in existing-table mode, later parts can use skip/update deduplication so overlaps between parts are harmless.
Half my rows imported and the rest are “row errors”. That’s
skipInvalid doing its job. Download the error CSV, fix those rows in your
source file, and re-import just the fixed rows — with duplicate handling
set to skip or update so the rows that already landed aren’t doubled.
A relationship column imported as plain text. Either the relationship wasn’t detected (check the Links between tables on the review screen next time) or it was set to No link. You can add a reference field to the table afterwards and re-import in update mode to populate it.
The update-mode preview shows fewer updates than I expected. Duplicate matching compares the match field’s text form against the records the job’s creator can see — the import mirrors the same row scoping every record endpoint applies. A row whose only match is a record outside your visibility behaves as unmatched (it inserts — or becomes a row error if that collides with a unique field). An import can never silently update a record you couldn’t see or edit by hand.