Templates / Moderate and govern user content with OpenAI GPT-4o, Slack and Gmail

Moderate and govern user content with OpenAI GPT-4o, Slack and Gmail

Ready for 3.0

by Cheng Siong Chin ✓ · 40 views · created 2026-02-17 · Document Extraction, 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-10-19.

What this workflow does

This AI workflow has 28 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects AI Agent, OpenAI Chat Model, Structured Output Parser and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Workflow Configuration (Edit Fields (Set)): sets 4 fields: moderationThreshold, escalationEmail, slackChannelId…
  2. Content Signal Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Content Signal; output parser: Structured Output - Content Signal
  3. Route by Validation Status (Switch): routes items into 2 branches
  4. Store Valid Content (Data table): uses Data table
  5. Governance Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Governance; 3 tools (Review Agent Tool, Appeals Agent Tool, Enforcement Agent Tool); output parser: Structured Output - Governance
  6. Merge: merges the data from its input branches
  7. Route by Action Type (Switch): routes items into 2 branches
  8. Prepare Audit Data (Code): runs custom JavaScript code
  9. Store Flagged Content (Data table): uses Data table
  10. Store Enforcement Actions (Data table): uses Data table

…plus 4 more steps. See the full node list below.

Services it uses

AI AgentOpenAI Chat ModelStructured Output ParserSlack

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.

Nodes used (13)

From the author

How It Works This workflow automates end-to-end AI-driven content moderation for platforms managing user-generated content, including marketplaces, communities, and enterprise systems. It is designed for product, trust & safety, and governance teams seeking…

Excerpt from Cheng Siong Chin'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.