Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

This is a Drupal recipe for automatic generation of quiz questions for the Quiz module, using the ECA (Event-Condition-Action) and the AI modules. It also leverages the ECA Quiz module to enable content-related actions.

Why Use This Recipe?

  • ✅ Generate quiz questions automatically using AI, saving time and effort.
  • ✅ Leverage ECA actions to streamline quiz creation and management.
  • ✅ Seamless integration with the Quiz, ECA, and AI modules.
  • ✅ User-friendly UI for configuring and deploying quizzes.
  • ✅ Supports OpenAI for advanced question generation (OpenAI platform API key required).

What’s Included?

This recipe installs and configures the following modules:

  • ECA and ECA UI for workflow automation
  • Quiz for quiz management
  • AI and OpenAI Provider for AI-powered question generation
  • ECA Quiz for quiz-specific ECA actions
  • Views for custom quiz displays
  • Supporting modules like Token, Paragraphs, and Tagify for enhanced functionality

Installation and usage instruction

  1. Configure your OpenAI API key (see introduction on the OpenAI platform).
  2. Download this recipe via Composer:
    composer require drupal/quiz_questions_by_eca_and_ai
  3. Install the reciple via Drush (from the web folder):
    drush recipe ../recipes/quiz_questions_by_eca_and_ai
    Note: Here you will be asked for your previously setup Open AI platform API key​​​
  4. Flush the cache. E.g. via Drush: drush cr
  5. Sign-in into your administration backend (e.g. via drush uli)
  6. Create a question prompt at /node/add/question_prompt
  7. Run the "Quiz questions generation by AI prompt" action on the question prompt view: /admin/content/ai-prompts-for-questions
  8. See the list of your AI-generated 10 quiz questions: /admin/quiz/questions

Activity

Total releases
5
First release
Sep 2025
Latest release
7 months ago
Release cadence
7 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.0.0-alpha5 Pre-release Oct 26, 2025
1.0.0-alpha4 Pre-release Oct 2, 2025
1.0.0-alpha3 Pre-release Oct 1, 2025
1.0.0-alpha2 Pre-release Oct 1, 2025
1.0.0-alpha1 Pre-release Sep 27, 2025