> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uflo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Imported From an LMS

> Export quiz responses from your LMS, then grade them in Uflo.

When students answer a quiz in your LMS, Uflo can still grade their work. You export the responses as a CSV, fix it to match Uflo's rules, and upload it to the grader.

> [!WARNING]
>
> Use CSV import only as a last resort. Grading works best when students answer in Uflo.

## Before You Start

> [!CAUTION]
>
> Your [roster](https://docs.uflo.io/instructors/courses/manage-roster.md#upload-a-roster) must be uploaded, with the same student IDs as your LMS.

## Export the Responses

> [tab] Canvas
>
> Export the quiz's **Student Analysis** report as a CSV. Canvas has two quiz tools, so choose the one your quiz uses.
>
> > [tab] New Quizzes
> >
> > 1. In Course Navigation, select **Quizzes**.
> > 2. Find the quiz, select its **Options** icon, and select **Build**.
> > 3. Open the **Reports** tab.
> > 4. Under **Student Analysis**, select **Generate Report**, then **Export CSV**.
> >
> > The report needs at least three submissions.
> >
> > [Canvas's guide](https://community.instructure.com/en/kb/articles/661090-how-do-i-view-reports-for-a-quiz-in-new-quizzes) shows each step with screenshots.
>
> > [tab] Classic Quizzes
> >
> > 1. In Course Navigation, select **Quizzes**, then the quiz's title.
> > 2. Select **Quiz Statistics**.
> > 3. Select **Student Analysis**. Once Canvas generates the report, download the CSV.
> >
> > [Canvas's guide](https://community.instructure.com/en/kb/articles/661032-once-i-publish-a-quiz-what-kinds-of-quiz-statistics-are-available) shows each step with screenshots.
>
> Canvas's export breaks two of the [CSV rules](#prepare-the-csv). Before you upload it:
>
> * **Extra rows:** Canvas gives each attempt its own row. Keep one row per student.
> * **Choice answers:** Canvas writes the chosen answer's text. Replace each one with its letter, such as `B`, or `A, C` for several.

## Prepare the CSV

The grader reads answers exactly as written, and refuses a file that breaks these rules.

> [tab] File Format
>
> * Save it as **CSV UTF-8**, with column names in the first row. Any names and order work, and extra columns are ignored.
> * Give each student exactly one row.
> * Include a column of roster IDs, or of full names exactly as the roster shows them.
> * Give each question its own column.

> [tab] Supported Questions
>
> | Question type | What each cell holds |
> | - | - |
> | **Multiple Choice** | One letter, A to E, in Uflo's choice order, such as `B`. |
> | **Multiple Correct Choices** | Letters separated by commas, such as `A, C`. |
> | **Number** | The number first. Units after it are fine, such as `4 kg`. |
> | **Free Response** | Any text. |
>
> Leave a cell blank when the student gave no answer. Blank answers score 0.
>
> **Not supported:** Fill In The Blank, Math Input, Draw on Whiteboard, and Image Upload.

## Import the Responses

**1. Create the Assessment**

Select your course on **Courses**, then the chapter, then **Test** at the top of **Lessons**. Name the assessment, choose its [settings](https://docs.uflo.io/instructors/assessments/assessment-settings.md), and select **Submit**.

Then select the new assessment under **Lessons** to open it.

![The Uflo dashboard with Introduction to Biology open. Cells and systems is selected under Chapters, and Cell structure quiz is selected and outlined under Lessons. Beside them, the quiz's details panel shows its settings, an empty Files list with the Import Questions button, and the Submissions row with Select Student and SYNC.](https://mintcdn.com/uflo/dfYcR1qfGQBFSrA0/images/illustrations/screenshot/assessment-open-page/light.webp?fit=max\&auto=format\&n=dfYcR1qfGQBFSrA0\&q=85\&s=664fdc0a7f035eaf051ce09c5363c9b7)

The new assessment opens beside the Lessons list, with Import Questions next to Files.

**2. Import the Questions**

Import the same questions as the LMS quiz, with their choices in the same order.

Select **Import Questions** under **Files**, and upload your questions. If a question has no answer or rubric, Uflo writes one. [Import Questions](https://docs.uflo.io/instructors/assessments/import-questions.md#prepare-the-file) shows how to lay out the file for each question type.

![Cell structure quiz's details with an empty Files list and the Import Questions button highlighted.](https://mintcdn.com/uflo/8xbLRsO4v4KMmoLa/images/illustrations/screenshot/assessment-import-button/light.webp?fit=max\&auto=format\&n=8xbLRsO4v4KMmoLa\&q=85\&s=7ef41086457a38a980a4c0b6de8002f4)

Import Questions appears on a new assessment.

> [!TIP]
>
> [Check the imported question](https://docs.uflo.io/instructors/assessments/import-questions.md#check-every-question) to ensure the import was accurate.

**3. Open the Grader**

On the assessment's page, under **Submissions**, open **SYNC** and select **Import Submissions (CSV)**. The grader opens in a new tab.

<video autoPlay muted loop playsInline controls poster="/images/illustrations/video/lms-import-sync-menu/light.webp" src="https://mintcdn.com/uflo/QbXH4A4dnOos4hAt/images/illustrations/video/lms-import-sync-menu/light.webm?fit=max&auto=format&n=QbXH4A4dnOos4hAt&q=85&s=702074670d9b32e6572f1cad8e04b0e3" aria-label="With no student selected, Submissions shows its empty-state placeholder. The cursor opens the SYNC menu beside Submissions, showing Import Submissions (PDF), Import Submissions (CSV), Uflo Format, and Canvas Format, and moves to Import Submissions (CSV)." />

SYNC holds both import options and the grade exports.

**4. Upload the CSV**

Drop the CSV on the upload box, or select the box to browse. The grader shows how many rows and columns it found. Select **Continue**.

![Upload & Map step of the grader with the notice Use CSV import only as a last resort, above kinematics\_quiz.csv loaded with 32 rows and 19 columns, a Replace button, and an active Continue button.](https://mintcdn.com/uflo/SKdI6adHFChqjgkO/images/illustrations/screenshot/lms-import-upload-csv/image.webp?fit=max\&auto=format\&n=SKdI6adHFChqjgkO\&q=85\&s=3f3dabb8d39bb59616839fc6e96c9944)

The grader found 32 rows, one per student, and 19 columns.

**5. Map the Columns**

Tell the grader which CSV columns hold what.

![Map Columns with markers 1 to 3. Student ID uses the sis\_id column and Student name the name column, each with two sample values. The Question responses table maps questions 1 to 4 to their CSV columns.](https://mintcdn.com/uflo/SKdI6adHFChqjgkO/images/illustrations/screenshot/lms-import-map-columns/image.webp?fit=max\&auto=format\&n=SKdI6adHFChqjgkO\&q=85\&s=5918f0a16e814d293417aae0aa2cb7e6)

Each question maps to the column that holds its responses.

1. **Student ID:** the column with the same IDs as your roster.
2. **Student name:** used to match a student whose row has no ID.
3. **Question responses:** each question's column. Every question needs one.

> [tab] Canvas
>
> For **Student ID**, choose **SISID** or **sis\_id**, not **ID**, Canvas's own user ID.
>
> If SIS ID is not available, choose **— Not included —** to match students by name.

> [!WARNING]
>
> Continuing locks the CSV. To use a different file later, you'll have to reset the assessment in the grader and start again.

Select **Continue**. Before saving, the grader checks every row against the [rules](#prepare-the-csv). If a row breaks one, it names the student. Fix the file, then upload it again.

**6. Check the Summary**

**Review & Continue** sums up the import:

* **Students:** the students in the file.
* **Questions Mapped:** the questions you mapped to columns.
* **Needs Matching:** students Uflo couldn't match to your roster.

Select **Continue to Matching**.

![Review summary with 32 students, 4 questions mapped, and 1 student that needs matching, with Needs Matching outlined above the Continue to Matching button.](https://mintcdn.com/uflo/SKdI6adHFChqjgkO/images/illustrations/screenshot/lms-import-review-summary/image.webp?fit=max\&auto=format\&n=SKdI6adHFChqjgkO\&q=85\&s=a6c9950503f8c9f6d65a477b18a7fb07)

One student in the file still needs matching.

**7. Match the Students**

The **Submissions** step matches each CSV student to your roster by ID. A row with no ID matches by name, as long as only one roster student has it.

Fix any flagged rows:

| Flag | What to do |
| - | - |
| **Student not in roster** | Assign the right student, or delete the row. |
| **Multiple roster students share this name** | Assign the right student. |
| **No answers found in CSV** | Confirm to grade as blank, or delete submission. |

<video autoPlay muted loop playsInline controls poster="/images/illustrations/video/lms-import-match-students/light.webp" src="https://mintcdn.com/uflo/QbXH4A4dnOos4hAt/images/illustrations/video/lms-import-match-students/light.webm?fit=max&auto=format&n=QbXH4A4dnOos4hAt&q=85&s=5995e925a27aac80d724abbb458a6f43" aria-label="The student table shows Sam Rivera with ID A1047 flagged as Student not in roster. The cursor types Rivera in Assign student and picks Samuel Rivera with ID A10478. The row then shows Samuel Rivera, A10478, and Confirmed, and the Warnings count drops to 0." />

Assigning the right roster student fixes the row.

For a student missing from your roster, select **Save**, [add them to the roster](https://docs.uflo.io/instructors/courses/manage-roster.md#upload-a-roster), and reload the grader. Then assign them.

When every row is fixed, select **Grade Submissions**.

## Grade and Import

From here, the grader works the same way as for paper exams. [Grade Scans and Imports](https://docs.uflo.io/instructors/grading/submitted-by-instructors/grade-scans-and-imports.md) explains how to grade the responses, check the results, and import the scores into Uflo. Each imported submission shows the import time as its submission time.

> [card] [Next: Grade Scans and Imports](https://docs.uflo.io/instructors/grading/submitted-by-instructors/grade-scans-and-imports.md)
>
> Grade the responses, check the results, and import the scores into Uflo.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.