CSV Import
Import CSV or JSON data into Budibase
Use CSV import when you already have data and want to create a table from it.
Budibase can also import JSON files using the same flow.
Before you start
For CSV files:
- Include a header row
- Use one column per field
- Keep column names unique
- Check date and number formats before importing
For JSON files, use an array of objects where each object represents a row.
Create a new table
- Open the Data tables link
- Click
Add source - Select
Upload CSV / JSON - Upload the file
- Enter a table name
- Review the detected columns
- Choose the data type for each column
- Click
Create
When you import a CSV, the first row is used as the column header row.
Import into an existing table
Use this flow when you want to add rows to an existing Budibase table.
- Open the target table
- Click
Import - Upload the CSV or JSON file
- Match the source columns to the destination columns
- Ignore any columns that do not match
- Click
Import
Update existing rows
You can also update rows from an import.
- Open the import flow for the target table
- Enable
Update existing rows - Select the identifier field
- Import the file
Budibase uses the identifier field to match incoming rows against existing records.
Review imported data
After importing, open the new or updated table and check:
- Column names and data types
- Date and number formatting
- Empty values
- Relationship fields that may need to be configured manually
If the import does not look right, adjust the source file and import again before building screens or automations on top of the table.
Notes
- CSV imports need a header row
- JSON imports use the same import flow
- Rows without a matching identifier are imported as new records
Updated about 2 months ago
Did this page help you?