Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.4 Update released for Drupal core (2.1.4)! Release: File Entity (fieldable files) 8.x-2.9 Minor update available for module file_entity (8.x-2.9). Release: Moderated Content Bulk Publish 2.0.53 Minor update available for module moderated_content_bulk_publish (2.0.53). Release: Mailchimp 2.2.9 Minor update available for module mailchimp (2.2.9). Release: Mailchimp 3.1.4 Minor update available for module mailchimp (3.1.4). Release: Seven 1.1.0-beta5 New beta version released for theme seven (1.1.0-beta5). Release: Domain 301 Redirect 2.0.7 Minor update available for module domain_301_redirect (2.0.7). Release: Moderated Content Bulk Publish 3.0.0-rc8 New release candidate for module moderated_content_bulk_publish (3.0.0-rc8). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Module Revived: Menu tree 2.1.2 Module menu_tree updated after 13 months of inactivity (2.1.2).

AI Webform

No security coverage

Part of the AI ecosystem · 296 projects

View on drupal.org

This module enhances the Webform module with three AI-powered features. It can generate entire form structures from simple text descriptions, create helpful text for individual form fields, and allow users to pre-fill forms based on their natural language requests.

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

Releases

Version Type Core Release date
2.0.0-beta2 Pre-release 10–11 Jul 19, 2026
2.0.0-beta1 Pre-release 10–11 Jul 19, 2026