Import JSON records into an existing table

Map a JSON file to existing fields and choose whether to append, update, or replace records.

Use the destination table’s import action to load a .json file into fields that already exist. For example, add equipment records to your inventory or update quantities from a new inventory export.

Open the import and check the mapping

  1. Prepare a tabular JSON file with one object per record. Use consistent property names across the file.
  2. In Settings → Database, open the destination table’s actions menu and select Import. Add the .json file. In Preview, verify that the expected properties appear as columns and that the sample values look right. A count with + is a lower bound from the preview.
  3. In Mapping, check each suggested mapping. For example, map name to the record’s Title and quantity to the table’s number field. Use — Skip — or clear Include for properties you want to leave out. If you need a new destination field, add it to the table before importing.

Choose what happens to existing records

  • Use Insert new records (append) to add separate records. This mode requires permission to create records in the table.
  • Use Update existing + insert new (upsert) to update matches and add records with no match. It also requires permission to update records. Under Identify records by, select the available mapped field or combination that identifies exactly one destination record. Use complete, unique match values in the source file. If the field you need is missing from the picker, review its mapping before starting the import.
  • Use Replace all data (delete existing, then insert) only when the JSON file should replace the table’s records. This mode also requires permission to delete records. Export a copy of the current records before replacing them if you need to keep their values.

In Confirm, verify the destination, the number of mapped fields, and the mode. Select Start Import, wait for the result, and open the table to compare a few records with the file. For an upsert, verify one record you expected to update and one you expected to add.

Check formula results after importing JSON records

Recover an interrupted JSON import

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?