Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Drupal 11.4.6 Update released for Drupal core (11.4.6)! Release: Drupal 10.6.16 Update released for Drupal core (10.6.16)! Release: Drupal 12.0.0-alpha1 First alpha version released for Drupal core (12.0.0-alpha1). Release: Website Feedback 1.2.1 Minor update available for module website_feedback (1.2.1). Release: Field Group Markup 1.0.5 Minor update available for module field_group_markup (1.0.5). Release: Website Feedback 1.2.0 Minor update available for module website_feedback (1.2.0). Release: User Registration Link Pop Up 1.2.5 Minor update available for module url_popup (1.2.5). Release: User Registration Link Pop Up 1.2.4 Minor update available for module url_popup (1.2.4). Usage Milestone: Menu Condition Module menu_condition crossed 1,000 active installs. Module Revived: EzContent API - Enhanced De-coupled CMS Experience 2.3.9 Module ezcontent_api updated after 15 months of inactivity (2.3.9).

AI Webform Enhance

No security coverage

Part of the AI ecosystem · 297 projects

View on drupal.org

This module enhances the Webform module by adding AI-powered features. It can generate complete form structures from plain English descriptions, create helpful text for individual fields, and allow front-end users to pre-populate forms by describing their needs.

AI Webform adds three AI-powered features to the webform module, generate complete form element yaml from a plain english description, generate help text for individual fields, and let front-end users pre-populate a form by describing their request in plain language.




Settings page



AI Form Generator

Features

  • AI form generator - add the "AI Form Generator" handler to any webform, describe the form you want in plain english. The AI returns ready-to-paste webform element yaml including field types, required/optional flags, drupal token defaults, and a submit button. Copy it directly into the Build > Source tab.
  • Element help text generator - when editing any webform element, expand the "AI: Generate description" panel below the Description field and click Generate. The AI writes a concise, user-friendly help text you can copy into the field.
  • Front-end fill with AI - users with the appropriate permission see a "Fill with AI" button on submission forms. They describe their request in plain language and the AI pre-populates matching fields. Rate-limited to 20 requests per user per hour. Disabled by default.

Post-Installation

  1. Visit /admin/config/ai/settings and configure a default
    chat provider and model, required before any feature will work.
  2. Visit /admin/config/ai/webform to set a module-level
    provider override, enable or disable individual features, choose which drupal
    token groups the form generator may reference, and edit the AI prompts if necessary.
  3. Grant permissions at /admin/people/permissions:
    • Administer AI Webform - to access the settings page.
    • AI Webform assistance - to use AI webform functionalities.

Additional Requirements

  • Drupal 10.3 or 11
  • Webform (^6.2), including the Webform UI submodule
  • AI (^1.4 || ^2.0) with at least one chat provider configured at /admin/config/ai/settings
  • AI Observability (included in the AI module) - logs and filters API calls by feature tag, useful for monitoring usage and cost per feature.
  • Any AI provider module compatible with the Drupal AI module: OpenAI, Anthropic, Ollama, etc.

Similar projects

There are currently no other Drupal modules that combine AI-assisted Webform building, element help text generation, and front-end field prefill in a single package.

More general AI content generation modules (such as AI CKEditor) assist with body/text fields inside the editor but do not interact with Webform's element configuration or submission forms.

Supporting this Module

The best way to support this module is to:

  • Report bugs and submit feature requests in the issue queue.
  • Leave a review on the project page if you find it useful.
  • Contribute patches or merge requests.

Community Documentation

No external documentation or walkthroughs yet, this module was recently released. The README.md in the repository covers installation, configuration, and usage for all three features.

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
1
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
2.x-dev Dev 10–11 Jul 20, 2026