Templates / Moderate your Discord server using chatGPT-5 & Google Sheets (Learning system)

Moderate your Discord server using chatGPT-5 & Google Sheets (Learning system)

Ready for 3.0

by Cj Elijah Garay ✓ · 210 views · created 2025-11-03 · Miscellaneous, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 12 nodes and runs on a schedule (every minute). Along the way it connects Discord, OpenAI Chat Model and Google Sheets.

How it runs

Trigger: On a schedule (every minute).

  1. Set Credentials Here (Edit Fields (Set)): sets 2 fields: discord server ID, discord moderated channel ID
  2. Get sheet knowledgebase (Google Sheets): uses Google Sheets
  3. Get recent messages (Discord): get many (message)
  4. prep messages for AI (Code): runs custom JavaScript code
  5. AI Agent: runs an AI agent, with model: GPT5 mini
  6. Get only the bad messages (Code): runs custom JavaScript code
  7. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  8. delete bad content (Discord): delete message
  9. Wait: waits 1.5 seconds
  10. update admin channel about moderation (Discord): work with message

Services it uses

DiscordOpenAI Chat ModelGoogle Sheets

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (9)

From the author

Discord AI Content Moderator with Learning System This n8n template demonstrates how to automatically moderate Discord messages using AI-powered content analysis that learns from your community standards. It continuously monitors your server, intelligently…

Excerpt from Cj Elijah Garay's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.