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

# Bulk import

> Add many learning materials and quizzes to a course at once from a CSV file.

Bulk import adds learning materials and quizzes to a course from a CSV file. Every imported task is added as a draft, so you can review it before publishing.

## Import a file

1. Open the course. Add at least one module first; **Import tasks** appears once the course has a module.
2. Click **Import tasks**.
3. Click **Download template** to get `sensai-tasks-template.csv` with the expected columns.
4. Fill in the file, then drop it into **Import CSV**.
5. Click **Import tasks**.

If some rows name modules that do not exist yet, SensAI lists them ("N new modules will be created") and creates them when you confirm. New modules are added in the order they first appear in the file.

## Columns

| Column | Needed | What to put in it |
| - | - | - |
| `module` | Always | The module name. Must match exactly one module, or a new one is created. |
| `type` | Always | `learning_material` or `quiz`. |
| `task_title` | Always | The task's title. |
| `content` | To publish learning material | The page content, in Markdown. |
| `question_title` | No | The question's title in the quiz. |
| `question` | Every quiz row | The question, in Markdown. |
| `question_type` | No | `objective` (default) or `subjective`. |
| `input_type` | No | `text` (default), `audio` or `code`. |
| `response_type` | No | `chat` (default, practice) or `exam`. |
| `answer` | To publish an objective question | The correct answer, in Markdown. |
| `coding_languages` | To publish a code question | Languages separated by `\|`, for example `html\|css`. |
| `scorecard` | To publish a subjective question | The exact name of a scorecard that already exists in your school. Import never creates scorecards. |
| `allow_copy_paste` | No | `true` or `false`. Blank means allowed. |

Rows missing a column marked "to publish" still import as drafts. SensAI asks you to fill in the gap when you publish.

Assignments cannot be imported.

### Quizzes with several questions

Put each question on its own row. Consecutive rows with the same `module`, `type` and `task_title` become one quiz.

### Markdown in cells

`content`, `question` and `answer` accept Markdown: headings, lists, checklists, quotes, fenced code blocks, tables, bold, italic, strikethrough, inline code and links. Line breaks inside a quoted cell are kept.

## Limits

* Up to 500 tasks and 2,000 questions per file.
* Module and task titles can be up to 255 characters.

## Skipped rows

Rows with a problem are skipped and the rest are imported. SensAI groups the reasons, for example:

* "Module is empty" or "Task title is empty"
* A type, question type, input type, response type or language it does not recognise
* "Question is empty" on a quiz row
* A scorecard name that does not exist, or matches more than one scorecard
* More than one module with the same name

> [!WARNING]
>
> Fix only the skipped rows and import them in a new file. Importing the whole file again adds the other tasks a second time.

If the file itself cannot be read, export it as CSV again from your spreadsheet and retry.


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