Part of the AI ecosystem · 343 projects
This module automates content migration from legacy HTML into Drupal by analyzing pages to suggest content types and fields. It allows you to map HTML elements to Drupal fields and automatically imports related media, with a dry run feature to validate results before the final import.
Automate content modeling and migration from legacy websites and internal tools into Drupal.
The module analyzes the source, proposes content types and fields,
imports media and taxonomies through generated
Migrate API migrations, and creates Canvas templates for Drupal CMS.
AI is used for high-level analysis only; every proposal is reviewed by a person before anything is imported.
Modes
- AI agent mode: an AI Content Migrate agent analyzes individual pages and proposes pages and fields. Suited to simple or fragmented migrations.
- Sitemap (Drupal CMS) mode: a guided workflow starting from a sitemap. It groups pages into content types, lets you refine the model visually, generates Migrate API files (File → Media → Node) and builds a Canvas template per content type. Translations are detected from
hreflangattributes. - Database mode: migrates internal tools with no public frontend (e.g. Confluence, BookStack) from a database dump. A source profile recognizes the application from its schema and migrates spaces, the page tree, labels, attachments and authors, with URL aliases and redirects from the legacy URLs. For an unknown application, the AI drafts a profile from the database structure only; you verify and approve it, and later dumps are recognized without any AI call.
Requirements
- AI with a configured chat provider, and AI Agents
- Migrate Plus and Inline Entity Form
- chrome-php/chrome and a headless Chromium binary, for JavaScript-rendered pages
- Optional: Canvas (layouts), Pathauto and Redirect (database mode URLs and redirects)
Key features
- AI-assisted content models: content types, fields, taxonomies and media, reusing existing structures where possible.
- Native Migrate API output: standard
migrate_plusYAML with dependencies, runnable from the UI (batch, rollback) or Drush. - Field ↔ selector mappings for web pages (e.g.,
field_title → //h1), with safe fallbacks. - Canvas templates generated and validated against Canvas' own rules, fully editable in the Canvas editor.
- Database mode: source profiles (Confluence built in), an AI-assisted profile builder with local verifit from HTML exports of the legacy pages.
- Human in the loop at every step: review, adjust and approve before importing.
How it works
- Choose a mode: an agent, a sitemap, or a database dump (optionally with the application's files and HT
- The module analyzes the source and proposes a content model and mappings.
- You review and adjust them, then generate the migrations.
- Run the migrations, check the result, and roll back if needed.
Installation
- Install the module and its dependencies with Composer, and install headless Chromium on the server.Configure an AI provider in the AI module.
- Enable AI Content Migrate.
- For the database mode, configure the private file system so uploaded dumps and files stay private.
- Start from Configuration → AI: the agent, the sitemap import or the database migration.
Notes
- Always review AI suggestions before approving them.
- In agent and sitemap mode, HTML of the analyzed pages is sent to your AI provider; check your complian
- In database mode, no data of the dump is sent to the AI: only its structure, statistics and codes (e.g. a content type or status value), and a text-free outline of the HTML exports.
- The module is experimental: validate the generated models and migrations before running them on production
Ask your assistant about AI Content Migrate
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- AI (Artificial Intelligence)
- ai_agents Drupal core
- inline_entity_form Drupal core
- media Drupal core
- migrate Drupal core
- migrate_plus Drupal core
- node Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the AI ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.1.0 | Stable | 10–11 | PHP >=8.1 | Sep 28, 2026 | |
| 1.0.0 | Stable | 10–11 | Feb 6, 2026 | ||
| 1.0.0-alpha1 | Pre-release | 10–11 | Feb 5, 2026 | ||
| 1.0.x-dev | Dev | 10–11 | Oct 10, 2025 |