CSV & spreadsheets

Flat files remain the fastest path from legacy systems into Primicornis.

  1. Profile — open the CSV, check for duplicate headers, inconsistent currencies, embedded commas.
  2. Normalize — trim whitespace, standardize ISO dates, collapse ambiguous labels.
  3. Map — align headers to property keys (use the analyzer endpoint to preview errors).
  4. Dry-runanalyze without apply.
  5. Commit — import run with logged statistics.

File prep

StepDetail
EncodingUTF-8 without BOM
DelimiterComma or TSV (declare explicitly in UI/API)
Primary keyProvide external ID column for idempotent upserts
RelationsEither separate join files or encoded foreign keys (slug or UUID)

Spreadsheet hygiene

Remove filter views before export, freeze header row, and never import calculated columns that won’t exist in Primicornis unless you recreate them as plain fields.

Error handling

Expect row-level errors on first import — capture them, fix source data, and rerun only the failing scope when possible.