Guides

Prioritized import flow for campus content

Use this flow when a college already holds the content and needs it in Campus Answers as draft records. It states the priority order, the supported formats, the validation each row must pass, and how duplicates are handled. Import never approves a source, never publishes an assistant, and never answers a question on its own.

Audit: what the site pack asks for and what it cannot do yet

Read this table before you promise an import. Personal import on this device already exists. Workspace import does not exist in this pack.

Requested capability, what the pack states today, and the gap
Requested capabilityWhat the pack states todayGap this flow closes
Import a source catalogue into one college workspaceSources are added one web page, file, or collection at a time in the signed-in app, with an owner office, a review date, and approval by a different person. No bulk path is stated.Priority P0 in this guide. A catalogue file creates draft source records in one dry run, with counts for valid, invalid, and duplicate rows.
Import an LMS course exportCourse pages and syllabi are added as sources by hand. No LMS export format is stated, and no roster, timetable, grade, or enrolment data is copied into a workspace.Priority P1. An LMS export in CSV form maps course page titles and links to draft sources. Roster and grade columns are rejected at validation.
Import document files as sourcesA file is added as a source one at a time. Accepted handoff attachment formats are stated for handoffs only. No document import path is stated for sources.Priority P2. Text based document files create one draft source per file, with the file text kept as the source body and the same approval rule as a typed source.
Import prior question and answer pairsPrior pairs live in My Answers on one device under campus-answers:my-answers:v1, with JSON export and import. No workspace Q and A import is stated, and a saved answer is never a source.Priority P3. A Q and A file creates draft saved items only. It never creates an approved source and never counts as answered until an approved source supports it.

An imported record is a draft until the same approval, test, and retention checks in Get started pass. A failed import row creates no record.

Priority order to ship

Ship in this order. Each tier reuses the same dry run, validation, and duplicate rules below.

Import priority tiers, with the format and the record each tier creates
PriorityIncoming contentAccepted formatRecord created
P0, ship firstSource catalogue with approved or draft sources, owners, and review datesCSV, UTF-8, with the header row named in the validation section belowOne draft source per valid row. Status is in review after submit, never approved at import time.
P1, ship secondLMS course export with course page titles, links, and course namesCSV, UTF-8, with course title, course link, and course name columns. Roster, grade, timetable, and enrolment columns are rejected.One draft source per course page row, grouped under one department collection where the export states one.
P2, ship thirdDocument files that hold the source textTXT and MD. DOCX and PDF are accepted only when the build extracts text and stores the text for review, with the original file kept as the source file.One draft source per file, with the file name as the draft title and the extracted text as the draft body.
P3, ship fourthPrior question and answer pairs with their sourcesCSV, UTF-8, with question, answer, source title, source link, workspace, and assistant columnsOne draft saved item per valid row. No approved source is created and no headline count changes.
Choose file in priority order, then run a dry run.
Dry run returns valid, invalid, and duplicate counts with no record created.
Valid rows import as drafts. Invalid rows are listed with the row number and the field that failed.
Duplicate rows are skipped with the id of the record already kept.
Submit the imported drafts for approval in the signed-in app.

Supported formats and limits

Use these limits for every tier. A file past a limit is rejected before any row is read.

Format, encoding, size, and row limits for import files
ItemRule
File formatsCSV for P0, P1, and P3. TXT and MD for P2. DOCX and PDF for P2 only with text extraction. No other format is accepted.
EncodingUTF-8. A file in another encoding is rejected with the encoding named in the error.
File sizeAt most 10 MB per file. A larger file is rejected and no row is imported.
Rows per fileAt most 5,000 data rows per CSV file. A file past the row limit is rejected in full and no partial import runs.
Field limitsTitle and source title at most 200 characters. Question at most 2,000. Answer at most 4,000. Source link at most 500 and must start with https. Workspace and assistant at most 120 each. Collection at most 80.
Workspace scopeOne file imports into one college workspace only. A row that names another workspace is rejected, never moved into the chosen workspace.

Validation each row must pass

Validation runs in the dry run and again on the server at import time. The same messages appear in both places.

Column, required rule, and the error a failed row shows
ColumnRule for P0, P1, and P3 filesError shown
Header rowFirst row must name the required columns for the tier. Unknown columns are listed and ignored. A missing required column rejects the whole file.Missing required column, with the column name.
question, title, and answerAt least one of title or question is required. Answer is required for P3. No control characters other than tab and line breaks. Length limits in the table above.Row number, field name, and the limit that failed.
source title and source linkSource link is required for a sourced row and must start with https. A not-known row leaves both fields blank and creates a saved item with no source listed.Row number and the field that failed. A link that does not start with https fails.
workspace and assistantEach is at most 120 characters. A blank value means Not recorded. A value that names another workspace fails.Row number and the workspace rule that failed.
owner office and review date, P0 and P1 onlyOwner office must name an office in the office directory for that college. Review date must be a future date in YYYY-MM-DD form. A past date fails.Row number and the office or date rule that failed.
Roster, grade, timetable, and enrolment columns, P1 onlyAny column whose name states roster, grade, timetable, or enrolment rejects the whole file. Those columns are never imported.Rejected column, with the file rejected in full.

Duplicate handling

Every tier uses the same three rules. A dry run shows the outcome for each rule before any record is created.

  • Exact duplicate. The key is college workspace, assistant, source title, source link, and question, each trimmed and compared in lower case with spaces collapsed. An exact duplicate is skipped and the dry run names the id of the record already kept. Re-running the same file makes no second copy.
  • Near duplicate. The same college and assistant with the same source link and a question that differs by one word is held for manual review. It is not imported and it is not merged. A person reviews the pair in Improve and chooses keep one, keep both, or retire one.
  • Conflict. The same key with a different answer, a different source title, or a source link that opens a different page is held as a conflict. It is not imported. The conflict row names the field that differs, so a person can fix the source before any second import.
  • Idempotency. Each file run carries one import id. A retry with the same import id and the same file hash returns the first result and creates no second record. A changed file is a new import id.
  • Test sessions. Test and staff preview sessions create no imported record and add nothing to counts. They are labeled as test in the dry run.

Try the dry run checker on this page

Example only. Nothing entered here is sent to a server and no record is created. Paste a CSV file or choose a file. The checker uses the P3 columns and the duplicate rules above.

No dry run run yet on this page.

    Checks before you ship this import flow

    Run each check in a test college workspace with test recipients. If a check fails, fix it before a live import.

    • Run the dry run on a file with one valid row, one invalid row, and one exact duplicate. Confirm valid 1, invalid 1, duplicate 1, and no record created.
    • Re-run the same file with the same import id. Confirm the same result and no second record.
    • Import a file that names another workspace. Confirm the row is rejected and no record appears in the chosen workspace.
    • Import a P1 file with a roster column. Confirm the whole file is rejected and no roster data is stored.
    • Confirm every imported source is in review, never approved, until a different person approves it in Sources.
    • Confirm a P3 row with no approved source creates a saved item with no source listed, never a sourced answer.
    • Confirm keyboard, screen reader, and phone checks pass, with focus visible and controls at least 44 pixels high.

    Follow Approve a source for the approval step, Test answers for the test step, and Set retention and access for the retention rule before publish.

    Next guide

    Approve an imported source and test it before you publish.