Skip to Content
Stoatly Docs
Records

Import records

Import brings data you already have into an object type as draft records. A spreadsheet of weapons becomes one Weapon record per row, and a record exported from another project can be added as a single record. Admins, schema designers and designers can import records. Want a whole new type from a file instead? Use Import an object type.

From a CSV file

Choose Add from CSV

Open the object type, choose the Add Record menu and choose Add from CSV. Drop a .csv file on the box or click to browse.

Map the columns

Stoatly matches each CSV Column to a Schema Field and marks the match as Exact, Fuzzy, Manual or Ignored. Check the fuzzy ones and change any that are wrong. If a required field has no column, a warning says rows missing it will be flagged as invalid.

Review the records

Choose Next: Records. Use the All, Invalid, Conflicts and Excluded filters to find problems. Select a record to fix its values, or untick it to leave it out.

Confirm

Choose Confirm Import. The number in brackets is how many records will be created.

The CSV needs a Name column. Without one, nothing is imported.

Invalid rows and conflicts

  • A row is invalid when a value breaks a field's rules, such as text that's too long, or a required field is empty.
  • A row is a conflict when its slug matches a record that already exists, or another row in the file. Rename it to resolve the conflict.

Invalid and conflicting records are skipped. Fix them in the review step if you want them imported.

From a JSON file

Choose Add from JSON to add one record from a Stoatly record export. The file must be a Stoatly record export. If none of the fields in the file match the object type, Stoatly tells you.

After you import

Imported records are drafts. They show Draft in the list, and appear in Your changes until you send them in a pull request.

On this page