metatag_ai_bulk_update
Managing SEO metadata across hundreds or thousands of Drupal nodes is a
time-consuming, repetitive task.
The Bulk Metatag AI Generator module solves this by letting
site administrators automatically
generate SEO-friendly meta tags (title, description, keywords, and abstract)
for multiple content nodes at once —
powered by any AI provider supported by the AI Core module
(OpenAI, Anthropic, Ollama, and more).
Instead of editing each node individually, trigger a single bulk operation
that processes your entire content
library, saving hours of manual work and ensuring consistent, high-quality
metadata across your site.
Features
- Bulk AI metatag generation — Generate title, description,
keywords, and abstract for multiple nodes in a single operation. - Human approval workflow — Store AI suggestions for review
before applying them. Approve, reject, edit, or delete suggestions
individually or in bulk. - Any AI provider — Works with any provider configured in
the AI Core module: OpenAI, Anthropic, Ollama, and others. - Drupal Batch API integration — Large content libraries
are processed safely in chunks using Drupal's native Batch API. - Content type filtering — Select which content types to
process based on your Metatag AI configuration. - Language-aware processing — On multilingual sites, target
a specific language or process all languages. - Node limit control — Optionally limit the number of nodes
processed per run. - AI-powered validation — Optionally run a second AI pass
to validate generated metatags before saving (auto-apply mode only). - Results dashboard — Displays success and error tables
after batch completion with live status updates. - CSV export — Download a CSV report of generated metatags
and validation results. - Auto-cleanup — Deleting a node automatically removes its
suggestions and batch results. - Skips already-tagged nodes — Only nodes missing metatag
values are processed.
When to Use This Module
- Large Drupal sites with content missing meta tags
- Migrating content from another platform
- Sites wanting to automate SEO metadata generation with human
oversight - Teams that need consistent metadata reviewed before publishing
Setup Instructions
1. Configure an AI Provider
Install and configure the AI Core module with your preferred
AI provider.
Go to /admin/config/ai/providers and add your API key.
2. Configure Metatag AI
Go to /admin/config/content/metatag-ai and set the content types
to generate metatags for,
the metatag field name, and the AI provider/model to use.
3. Run the Bulk Update
Go to Administration → Configuration → Content → Metatag AI → Bulk
Metatags Update Using AI
(/admin/metatag-ai-bulk-update). Select your content types, set a
node limit if needed, and click
Start Bulk Metatag AI Batch.
4. Review AI Suggestions (recommended)
With Require human approval before applying changes enabled
(default), suggestions are stored
for review instead of being applied immediately. After the batch completes, a
review table appears on the same page
where you can Approve, Reject,
Edit, or Delete
each suggestion — individually or in bulk.
5. Auto-apply Mode
Uncheck Require human approval to apply metatags directly to
nodes without review.
Optionally enable Validate metatags by AI for an additional
AI quality check before saving.
Requirements
- Drupal Core ^10.3 || ^11
- PHP >= 8.1
- Metatag AI ^2.0 (Required)
- AI Core ^1.0 (Required)
Recommended Modules
- Metatag — Ensures proper rendering of saved metatag
values. - Token — Provides enhanced token browsing UI.
Related Projects
- Metatag AI — Generates meta tags for individual
nodes. - AI Core — Provides the AI provider abstraction
layer. - Metatag — Provides manual and token-based metatag
management.
Maintainers
This module is developed and maintained by Specbee.
- Leave a review on the Drupal.org project page
- Report bugs or feature requests in the issue queue
- Contribute patches or improvements
Support
- For configuration help, refer to the Metatag AI and
AI Core documentation. - For support or questions, use the Drupal.org issue queue.