Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Ai Recipe Comment Spam

No security coverage

Part of the AI ecosystem · 340 projects

View on drupal.org

This module uses AI to automatically assess incoming comments for spam risk. It assigns a score and a brief explanation to each comment, automatically unpublishes likely spam, and provides a dedicated view for manual moderation of questionable comments. This helps reduce the effort required to manage comment spam on your site.

What it does

AI Comment Spam Moderation adds an AI-assisted workflow for comments. It scores each incoming comment for spam risk, saves the score and a one-sentence reasoning, automatically unpublishes likely spam, and surfaces everything in a moderation triage view.

Why it matters

Site moderators can triage comment spam faster and reduce manual review effort. Obvious spam is unpublished automatically, while borderline cases stay visible with clear, AI-generated reasoning for a human to act on.

How it works

When applied, the recipe configures:

  • core comment support using the default `comment` comment type (via the core `article_comment` recipe),
  • a Custom Field on comments (`field_spam_assessment`) holding a `spam_score` (1-10) and a `spam_reasoning` sentence,
  • an AI automator on `field_spam_assessment` that reads the comment body and writes the score and reasoning (reasoning is the literal `ok` when the score is below 5),
  • a second AI automator that unpublishes the comment when the `spam_score` is 8 or higher,
  • a dedicated listing at `/admin/content/ai-comment-spam` for moderation triage.

Requirements & compatibility

How to get started

  1. Install module dependencies (including AI and AI Automators).
  2. Configure an AI provider/model and set a default for `chat_with_complex_json`.
  3. Apply the recipe.
  4. Post comments on an Article and verify the spam score and reasoning are saved, and that high-scoring comments are unpublished.
  5. Use `/admin/content/ai-comment-spam` for moderation triage.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jul 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
1.0.0-alpha2 Pre-release Jul 13, 2026
1.0.0-alpha1 Pre-release Jul 8, 2026