How to Import Records to a Database via CSV
Learn how to import records in bulk into a database in octapipe using a CSV file based on a template, including downloading the model and completing the import
Support Team
Last Update 7 months ago
Importing records into Databases using CSV allows you to add data in bulk quickly, ensuring that the information follows a correct and system-validated structure.
1st Step: Accessing the Databases Module
4th Step: Completing the Import
Conclusion:
You have learned how to import records in bulk into a database using CSV, from downloading the template to verifying the import. If you have any questions, contact our support team.
1st Step: Accessing the Databases Module
In the upper left side menu, click “Databases” to open the list of databases.
Select the desired database to view its records.
- In the upper right corner of the records screen, click the “Import to CSV” button represented by the upload icon.
- In the import window, click “Download Template” to get the CSV model file, which includes columns in the exact order:
- name (record name)
- base_de_dados_name (database name)
- owner_user (responsible user)
- creator_user (creator user)
- base_de_dados_uuid (database universal unique identifier)
- owner_user_uuid (responsible user universal unique identifier)
- creator_user_uuid (creator user universal unique identifier)
- created_at (creation date and time)
- updated_at (last update date and time)
3. Open the template in a spreadsheet editor and fill each row with record data, respecting the column order and headers.
4. Save the completed CSV.
- Still in the import window, click “Drag a file or click to select”, choose your completed CSV, and click “Open”.
- Click “Import Data” to start the process.
4th Step: Completing the Import
- If everything is correct, a success notification will be displayed in the lower left corner.
- The records list will be automatically updated, displaying the newly imported records.
Best Practices:
- Use the official template to avoid formatting errors.
- Verify column order and exact names before filling the file.
- Test with a small number of records before performing a bulk import.
- Keep a backup of the original CSV for future reimports or corrections.
Conclusion:
You have learned how to import records in bulk into a database using CSV, from downloading the template to verifying the import. If you have any questions, contact our support team.
