Skip to main content

Upload Data

The bulk upload feature lets you import large amounts of data into ClassBuddy using CSV files — far faster than entering records one by one. Use it to get your school set up quickly, or to make bulk changes to existing data.

note

You need the data_import:create permission to create new uploads. See Roles & Permissions for details.

Go to Menu > Uploads to see your upload history.

File uploads

The list shows all past uploads with the following columns:

ColumnDescription
Request IDUnique identifier for the upload request — tap to view details
StatusCurrent processing status
ContextThe type of data uploaded
FilenameName of the uploaded CSV file
NoteAny notes attached to the upload
Last UpdatedTimestamp of the last status change

Upload Statuses

Each upload goes through the following statuses:

StatusMeaning
pending_processingUpload received and queued for processing
validatedDry run completed successfully — no data was imported
processedData successfully imported
failedValidation or import failed — tap to view errors

Creating a New Upload

Tap the + button to open the upload screen.

File uploads - create

  1. Select context — choose the type of data you are uploading (see Supported Upload Types below).
  2. Dry Run mode — toggle on to validate the file without importing any data. Use this to catch errors before committing.
  3. Overwrite Data — toggle on to replace existing values with data from the CSV. This option is hidden when Dry Run mode is on.
  4. Review the CSV Format Guide that appears below — it shows the required fields, data guidelines, an example row, and tips specific to the selected context.
  5. Tap Select and Upload File to choose a .csv file from your device. The file is uploaded and processed automatically.
tip

Always run a Dry Run first. If the validation passes, turn off Dry Run and upload again to import the data for real.


CSV Format Guide

Once you select a context, the app displays a built-in format guide with five expandable sections:

  • File Format — lists required and optional fields
  • Data Guidelines — table showing each field name, expected format, and constraints
  • Example — a sample CSV row for that context
  • Tips — best practices for that upload type
  • Additional validation tips — common mistakes to avoid

Use the ClassBuddy Google Spreadsheet Template to prepare your data, then export each sheet as a CSV file.


Viewing Upload Results

Tap any Request ID in the list to open the upload detail view.

If the upload failed, you will see a list of validation errors grouped by field. Each error shows which row and field caused the problem, so you can fix the CSV and re-upload.


Supported Upload Types

The following contexts are available:

ContextWhat it imports
entitiesStudents and teachers (shared base record)
addressesPhysical locations used by the school
classesClass definitions
schedulesSchedules linked to classes
students_classesLinks between students and classes
students_schedulesLinks between students and schedules
attributesCustom attributes for students
attributes_lookupLookup values for dropdown-type attributes
students_attributesAttribute values assigned to students
billing_plansBilling plan definitions
classes_billing_plansLinks between billing plans and classes
students_billing_plansBilling plans assigned to students
students_contactsContacts (parents/guardians) linked to students

If you are setting up a new school, import data in this order to avoid dependency errors:

  1. Addresses
  2. Classes
  3. Teachers (via entities)
  4. Schedules
  5. Students (via entities)
  6. Contacts
  7. Student Schedules
  8. Student Classes
  9. Billing Plans
  10. Class Billing Plans
  11. Student Billing Plans
  12. Attribute Lookups
  13. Attributes
  14. Student Attributes