How to create a training question generator in Microsoft Copilot
This tutorial shows how to create a training question generator in Microsoft Copilot that converts training material into interactive quizzes. It is useful to accelerate assessment creation, reinforce learning, and ensure consistency in training sessions.
Prerequisites
- Account with access to Microsoft Copilot (appropriate license).
- Training files in Word, PowerPoint, or plain text containing the source content.
- Basic knowledge of prompts and data structure (simple JSON).
- Text editor to adjust prompts and export files.
Step 1: Prepare the training content
Organize the training material in a clear file: sections with headings and paragraphs that explain concepts. Copilot works best when given well-structured text. Remove irrelevant elements and keep lists and definitions easy to identify.
Step 2: Create the base prompt to generate questions
Build a prompt that instructs Copilot to generate multiple types of questions (multiple choice, true/false, short answer) and to provide the correct answer and a short explanation. Be specific about the output format — for example JSON — to facilitate automatic conversion.
{
"system": "You are an educational quiz generator.",
"instruction": "Lê o texto seguinte e gera 8 perguntas: 4 múltipla escolha, 2 verdadeiro/falso e 2 resposta curta. Fornece também a resposta correcta e uma explicação de 1 frase. Responde em JSON com campos: question, type, options, answer, explanation.",
"content": "[INSERE_AQUI_O_CONTEÚDO_DE_FORMAÇÃO]"
}
Step 3: Run the prompt in Microsoft Copilot
Copy the prompt into the Copilot environment (for example in the Copilot interface in Microsoft 365 or in the extension you use). Replace [INSERE_AQUI_O_CONTEÚDO_DE_FORMAÇÃO] with the prepared text. Run the prompt and ask to strictly maintain the JSON format if you plan to process it automatically.
Step 4: Validate and correct the generated questions
Review the generated questions and answers. Look for common errors: options that are too obvious, ambiguous answers, or incorrect explanations. Edit Copilot's output directly or ask Copilot to rephrase specific questions, for example:
Reformulate question 3 to be less obvious and change distractors for more plausible options.
Step 5: Export to a format compatible with the training platform
Convert the JSON to your platform's format (for example SCORM, CSV for LMS import, or CSV for Excel). If the platform accepts CSV with columns: question,type,option1..option4,answer,explanation, you can use a small script or ask Copilot to transform the JSON into CSV.
JSON -> CSV example (ask Copilot):
Input: JSON gerado
Output: CSV com colunas: question,type,option1,option2,option3,option4,answer,explanation
Step 6: Automate generation from new content
For recurring flows, create a prompt template where you only replace the content field. Save the prompt in OneNote or a text file and integrate it with Power Automate (if available) to automatically send new files to Copilot and receive the JSON/CSV as output.
Verify the result
Import the CSV/JSON into your training platform or open it in Excel to confirm: each question should appear with the correct type, readable options, correct answer, and explanation. Run a test assessment with a pilot user to ensure question quality and adjust the prompt as needed.
Conclusion
With this process you have a training question generator in Microsoft Copilot that reduces quiz creation time and increases consistency. Next steps: integrate with Power Automate for full automation or teach Copilot to create adaptive feedback. Tip: start with small batches of content to adjust tone and difficulty of the questions.