Drupal is a registered trademark of Dries Buytaert
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)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

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
5 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