Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

ECA Quiz

No security coverage Under active development 1 sites

Part of the ECA ecosystem · 51 projects

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.

Ask your assistant about ECA Quiz

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
11 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP 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