Generate Exam Questions

Generate Exam Questions automates the creation of high-quality exam questions from Google Docs content, producing both open-ended and multiple-choice questions. This workflow saves educators hours of manual work while ensuring assessments are aligned with curriculum standards. It leverages AI analysis and vector database retrieval to generate 10 tailored questions, enhancing comprehension and knowledge retention.

7/8/2025
37 nodes
Complex
manualcomplexlangchainsticky notegoogledocsconverttofilesplitinbatchesgooglesheetsadvancedapiintegrationfilesstorage
Categories:
Complex WorkflowManual TriggeredData Processing & Analysis
Integrations:
LangChainSticky NoteGoogleDocsConvertToFileSplitInBatchesGoogleSheets

Target Audience

This workflow is designed for educators, instructional designers, and academic professionals who need to create exam questions efficiently. It is particularly beneficial for:

- Teachers: Looking to save time in generating assessments from educational content.
- Tutors: Aiding in creating tailored quizzes for individual students or groups.
- Curriculum Developers: Seeking to automate the assessment creation process for various subjects.
- Educational Institutions: Aiming to streamline the exam preparation process across departments.

Problem Solved

This workflow addresses the challenge of manually creating high-quality exam questions from educational materials. It automates the process by utilizing AI to analyze content from Google Docs and generate:

- Open-ended Questions: Encouraging critical thinking and comprehension.
- Multiple-choice Questions: Testing knowledge retention with plausible distractors.

By automating this process, educators can focus more on teaching and less on administrative tasks, ultimately improving educational outcomes.

Workflow Steps

  • Manual Trigger: The workflow starts when the user clicks ‘Test workflow’.
    2. Refresh Collection: It refreshes the Qdrant vector store to ensure the latest data is available.
    3. Get Document: Retrieves the educational content from a specified Google Docs document.
    4. Convert to Markdown: Converts the document content into markdown format for easier processing.
    5. Open Questions Generation: The AI analyzes the article and generates 10 open-ended questions based on the content.
    6. Answering Open Questions: Each question is analyzed, and optimal answers are retrieved from the vector database.
    7. Closed Questions Generation: The AI creates 10 multiple-choice questions, ensuring one correct answer and three plausible distractors.
    8. Answering Closed Questions: Each closed question is analyzed, and the correct answer along with three wrong options are generated.
    9. Write Open Questions: The generated open questions and answers are written into a Google Sheet.
    10. Write Closed Questions: The generated closed questions along with their options are also written into a Google Sheet.

    This entire process is designed to be efficient and comprehensive, ensuring that educators can generate assessments quickly and effectively.

  • Customization Guide

    Users can customize this workflow by:

    - Modifying Document Source: Change the documentURL in the Get Doc node to point to a different Google Docs document.
    - Adjusting Question Types: Modify the parameters in the Open questions and Closed questions nodes to adjust the number or types of questions generated.
    - Changing Vector Store Collection: Update the qdrantCollection parameter in the Qdrant Vector Store nodes to use different collections for varied content.
    - Customizing Output Sheets: Change the sheetName and documentId in the Write open and Write closed nodes to direct the output to different Google Sheets.

    By making these adjustments, users can tailor the workflow to fit specific subjects, formats, or educational needs.