drupal / ai_recipe_content_pre_moderation
Adds an AI-assisted pre-moderation workflow for Article content before publication.
Package info
git.drupalcode.org/project/ai_recipe_content_pre_moderation.git
Type:drupal-recipe
pkg:composer/drupal/ai_recipe_content_pre_moderation
Requires
- drupal/ai: ^2.0
- drupal/core: ^11.2
- drupal/views_bulk_operations: ^4.4
This package is auto-updated.
Last update: 2026-04-30 13:45:13 UTC
README
What it does
AI Content Pre-Moderation adds an AI-assisted workflow for Article content. It evaluates submissions when they move to Reviewable, then automatically routes them to either Flagged or Pre-Published and saves AI reasoning for editor review.
Why it matters
Editorial teams can triage content faster, reduce manual review effort, and get clearer context on why content was flagged or approved for the next step. It improves consistency while keeping final publishing decisions with humans.
How it works
When applied, the recipe configures:
- a dedicated moderation workflow (
draft,reviewable,flagged,pre_published,published), - an AI automator on
moderation_statethat evaluates Article body content, - a
field_moderation_reasoningfield to store model reasoning, - a dedicated listing at
/admin/content/ai-pre-moderated(as a primary Content tab), - VBO actions in that listing: Delete.
Requirements & compatibility
- Drupal core:
^11.2 - AI module:
^1.4 - Views Bulk Operations:
^4.4
How to get started
- Install module dependencies (including AI and AI Automators).
- Configure an AI provider/model and set a default for
chat_with_complex_json. - Apply the recipe.
- Submit Article content to Reviewable and verify automatic routing + reasoning output.
- Use
/admin/content/ai-pre-moderatedfor moderation triage and bulk actions.