Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module uses AI to automatically generate quiz questions and answers in Drupal. It leverages the ECA, Quiz, and AI modules to create interactive quizzes from customizable prompts, with questions returned in JSON format for easy processing and integration into your site's content.

AI-Powered Quiz Generation for Drupal

The ECA Quiz module extends the ECA (Event-Condition-Action), Quiz and AI modules to automate the creation of interactive quizzes by providing action plugins.

This module provides the necessary AI and entity related action plugins for the Quiz Questions by ECA and AI recipe.

Key Features

  • βœ… AI-Generated Questions: Uses an AI action with customizable prompt templates (currently supporting OpenAI) to generate quiz questions in JSON format.
  • βœ… Automatic Quiz Generation: An ECA action plugin processes an AI-generated JSON string to create quiz questions with multiple-choice answers as Drupal entities.
  • βœ… Flexible integration: Based on the Quiz module for structured quiz management and ECA for workflow automation.
  • βœ… Extensible architecture: Built on a foundation of proven, well-maintained Drupal modules and best practices.

How It Works

  1. AI Prompt Action: Sends a structured prompt to an AI provider (e.g., OpenAI) to generate quiz questions.
  2. JSON Processing: The AI returns questions in JSON format, including question text, categories, options, and correct answers.
  3. Quiz Generation Action: Parses the JSON and automatically creates quiz questions and alternatives in Drupal.
  4. Ready-to-Use Quizzes: The generated quizzes are immediately available for use in courses, assessments, or interactive content.

Use Cases

  • πŸ“š E-Learning Platforms: Automate quiz generation for courses.
  • πŸ€– AI-Assisted Content Creation: Reduce manual effort in creating engaging quizzes.
  • πŸ”„ Dynamic Assessments: Generate up-to-date quizzes based on evolving content or user input.

Requirements

  • AI module with configured OpenAI provider. This requires an OpenAI platform API key. See introduction on theΒ OpenAI platform.
  • ECA (Event-Condition-Action)
  • Quiz module

Recipe

Use the Quiz Questions by ECA and AI recipe for creating a quick and ready setup for quiz question generation.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Sep 2025
Latest release
10 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha3 Pre-release 10–11 Oct 26, 2025
1.0.0-alpha2 Pre-release 10–11 Oct 26, 2025
1.0.0-alpha1 Pre-release 10–11 Sep 27, 2025