Skip to content

Bring in existing data

Move data you already have into a new app — from a spreadsheet, a database or another tool.

Most apps replace something. The data is already somewhere, and getting it in is usually the first real task.

From a spreadsheet#

The simplest route is to show the AI the sheet and let it build the collection to match.

  1. Show it the columns

    Paste a screenshot of the first few rows, or type the header row. The AI reads the column names and the sample values and picks a field type for each.

  2. Check the types

    Look at what it made before you load thousands of rows. A column of order numbers might be read as a number when you need it as text, and that is much easier to fix now — see what a type change does.

  3. Load the rows

    Export the sheet as CSV and ask for it to be imported into the collection.

From a database or another tool#

If the data can be exported as CSV or JSON, the route above works. If it is in a system with an API, there is a better one: ask for a connector, and the app reads it directly instead of working from a snapshot that goes stale. See Connectors.

Loading a lot of records#

For anything beyond a few hundred rows, the App data API is the right tool — a short script that posts the records is faster than any interface, and it can be run again after a correction.

An AI client over MCP can also create records in bulk, which is useful when the source needs interpreting as it goes.

Relations#

Import the collections that are pointed at first, then the ones that point at them. Importing orders before customers leaves every order with a link to nothing, and fixing it afterwards means a second pass.

The order to import in
Customers → Products → Orders

Before you start, not after#

Note that collections themselves are shared by every version, so the records you import are visible to the live app as soon as they exist. See Versions and drafts.

Next#