ai_content_migrate
No security coverage
Automate content modeling and migration from legacy HTML into Drupal.
The module analyzes pages, proposes content types and fields,
suggests XPath selector mappings, and helps import related media entities.
Requirements
Key features
- AI-assisted suggestions for content types and fields from legacy HTML.
- Provide an out-of-the-box tool for simple migrations, with minimal setup and no heavy custom code.
- Field ↔ selector mappings (e.g.,
field_title → //h1,field_image → //img[contains(@class,'hero')]/@src). - Media discovery and import into Media entities.
- Dry run to validate results before import.
How it works
- Provides an AI Content Migrate agent you can use like other AI Agents.
- Analyzes sample HTML and proposes a content model and mappings.
- You review, adjust, and then run the migration.
Installation
- Enable AI Agents and configure your provider.
- Install chrome-php/chrome
- Enable AI Content Migrate.
- Provide representative URLs/HTML, run the analysis, review mappings, execute a dry run, then run the migration.
Notes
- Always review AI suggestions before approval.
- HTML snippets may be sent to your AI provider—check your compliance policies.