Quiz Questions By Eca And Ai
This project automatically generates quiz questions for your Drupal site using AI and the ECA (Event-Condition-Action) framework. It integrates with existing Quiz, ECA, and AI modules to help you quickly create and manage quizzes, with support for OpenAI for advanced question generation.
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
- Configure your OpenAI API key (see introduction on the OpenAI platform).
- Download this recipe via Composer:
composer require drupal/quiz_questions_by_eca_and_ai - 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 - Flush the cache. E.g. via Drush:
drush cr - Sign-in into your administration backend (e.g. via
drush uli) - Create a question prompt at
/node/add/question_prompt - Run the "Quiz questions generation by AI prompt" action on the question prompt view:
/admin/content/ai-prompts-for-questions
- See the list of your AI-generated 10 quiz questions:
/admin/quiz/questions
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
Release Timeline
Releases
| Version | Type | Core | Notes | 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 |