Setting up a bank of fifty maths questions in the Moodle editor takes hours: entering formulas, setting answers, adding feedback. Moodle can import questions from files, though, for example in GIFT format or as Moodle XML. If you want to generate Moodle quiz questions automatically, you have a coding agent such as OpenAI Codex write a small script that turns exercises from a spreadsheet or generator into the import format. In the workshop you build this script, import a first question bank into a test course and check formulas and scoring.
Who the Moodle import workshop is for
Teachers, university lecturers and departments who use Moodle or a comparable learning platform and no longer want to enter question banks by hand.
What you'll walk away with
- Understand the basics of the GIFT and Moodle XML import formats
- Build a script with a coding agent that converts a spreadsheet of exercises into an import format
- Encode formulas, numerical tolerances and feedback correctly
- Test imports in a test environment before they reach a live course
- Transfer the approach to other platforms and formats such as H5P
Typical scenarios
- A department builds a question bank on index laws that all classes use and extends it by script every term.
- A lecturer imports weekly calculus self-tests with numerical answers and suitable tolerances.
- A teacher moves exercises from a spreadsheet, including feedback on common errors, into a Moodle quiz.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the Moodle import workshop covers
- Getting to know import formatsGIFT and Moodle XML by example: question types, answers, feedback and formulas.
- A spreadsheet as the sourceA simple table of exercises, answers and feedback as the basis for import.
- Scripting with the agentThe coding agent writes the conversion script; you test it with edge cases.
- Import and checkA test import into a practice course, checking formula display and scoring.
- Going furtherRandom variants, connecting an exercise generator and other platforms.
Before the Moodle import workshop: prerequisites
- Access to a Moodle test site or a test course with import rights
- A laptop with Python; no programming knowledge needed
Materials you keep
- A conversion script from spreadsheet to GIFT or Moodle XML
- A spreadsheet template for exercises, answers and feedback
- A checklist for imports with formulas