This project is not covered by Drupal’s security advisory policy.
This Drupal module introduces a comprehensive survey system that integrates seamlessly with OpenAI's powerful AI capabilities. Designed for both novice and advanced Drupal users, this module enables the creation, distribution, and analysis of surveys within a Drupal site. It leverages custom content types and entity references to structure surveys with related questions and answers, which are then displayed as forms on the site. This solution is ideal for anyone looking to engage their audience through interactive surveys and gather insightful data through intuitive graphical representations like pie charts.
Features
This module provides a dynamic and flexible solution for creating and managing surveys on Drupal-based websites. It allows site administrators to easily construct surveys using a hierarchical system of custom content types for answers, questions, and survey containers. The integration with OpenAI enhances the module's functionality by enabling AI-driven suggestions for questions and answers, making the survey creation both innovative and user-friendly.
The module's basic functionality includes:
Creation of custom content types for answers, questions, and surveys.
Ability to link these content types through entity references, forming a structured survey system.
A front-end form that collects responses, which are then visualized as pie charts.
Unique features include:
OpenAI integration to suggest relevant questions and answers based on the survey type.
The ability to manage and display survey results graphically, providing clear insights into data collected.
This module is particularly useful for organizations that require detailed feedback on various topics and wish to engage their audience interactively. It is ideal for academic research, customer feedback, and internal company surveys.
Post-Installation
Upon installing the module, follow these steps to configure and utilize its features:
- Navigate to Admin > Configuration > Development > OpenAI API Settings to enter your OpenAI API key and select the desired model. This step is crucial for enabling AI-driven functionalities.
- To create a survey, go to Content > Add Content > Survey Content. Add questions and their corresponding answers by leveraging the entity reference system.
- Use the 'Survey Type' field to fetch AI-suggested questions and answers tailored to your survey's focus.
- To display the survey on your site, go to Admin > Structure > Block Layout and place the 'Survey Form Block' on the desired page by configuring it to reference the specific survey node.
- Results can be viewed under Admin > Content > Survey List, where each survey node provides a detailed pie-chart analysis of responses.
Additional Requirements
Besides Drupal core, this module requires:
- Entity Reference Module: Ensures the linking between answers, questions, and surveys.
- An active OpenAI API key and an appropriate AI model setup.
Ensure these dependencies are met and configured properly to harness the full potential of the module.
Project information
- Project categories: Content display
1 site reports using this module
- Created by mansi agarwal on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


