This module provides AI-powered content analysis to help content editors identify and review outdated or inaccurate content on their Backdrop CMS site.
- Automated Content Analysis: Uses the AI provider and model you select to analyze content based on configurable conditions
- Flexible Configuration: Set up different analysis criteria for different content types
- Batch Processing: Analyze all existing content at once or process content automatically as it's created
- Custom Prompts: Configure exactly what conditions should trigger a review flag
- Backdrop CMS 1.x
- PHP 8.2 or later
- AI module with at least one configured provider
- Entity Plus
- Entity UI
- Views (core)
- Install and enable the AI module and configure a provider
- Install and enable this module
- Visit
admin/config/ai/ai-content-lifecycleto configure
- Navigate to
admin/config/ai/ai-content-lifecycle - Select which AI model to use
- Define your default analysis conditions (e.g., "mentions outdated information")
- Select which content types should be analyzed
- Optionally set specific conditions for each content type
- Save configuration
After configuring the module, use the "Analyze Existing Content" button to process all published content of the selected types. The module will:
- Extract text content from each node
- Send it to AI with your configured prompts
- Flag content that needs review based on the AI's analysis
- Store the analysis results for editor review
Analysis results are stored as AI Content Lifecycle entities. Flagged content is listed at admin/content/ai-content-lifecycle, where each item links to its full analysis.
The module performs a two-step analysis:
- Initial Check: Asks AI if content meets the configured conditions for review (responds with XTRUE/XFALSE)
- Detailed Analysis: If flagged, requests a detailed explanation of why the content needs review
This approach minimizes API costs while providing useful feedback to content editors.
hook_ai_content_lifecycle_prepare_content($entity)
- Prepare custom content extraction for entities
- Return a string of content to analyze
hook_ai_content_lifecycle_prompt_alter(&$prompt, $entity)
- Modify the prompt before sending to AI
- Add custom tokens or context
hook_ai_content_lifecycle_content_alter(&$content, $entity)
- Modify the extracted content array before analysis
- Keys: 'title', 'content', 'updated', 'language'
Bugs and feature requests should be reported in the Issue Queue.
This module is a Backdrop CMS port of the Drupal AI Content Lifecycle module, adapted to work with the AI module instead of the Drupal AI module.
Original Drupal module maintainers:
Backdrop port: Adapted for Backdrop CMS with AI module integration
- Developed with AI assistance.
GPL-2.0-or-later