# Moderate and govern user content with OpenAI and Slack: n8n workflow

> Started by another system calling it, and works across Email, Slack and n8n data table. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/moderate-and-govern-user-content-with-openai-and-slack (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Moderate and govern user content with OpenAI and Slack

Started by another system calling it, and works across Email, Slack and n8n data table. It hands the judgement calls to OpenAI. 28 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmoderate-and-govern-user-content-with-openai-and-slack)

**28 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 15 Logic 6 Service 6

The steps in the order they run, from what starts it.

- 1 **Content Moderation Webhook** Webhook *Starts it*
- 2 **OpenAI Model - Content Signal** Lm Chat Open Ai *Model*
- 3 **Structured Output - Content Signal** Output Parser Structured *Model*
- 4 **OpenAI Model - Governance** Lm Chat Open Ai *Model*
- 5 **Structured Output - Governance** Output Parser Structured *Model*
- 6 **OpenAI Model - Review Tool** Lm Chat Open Ai *Model*
- 7 **Structured Output - Review Tool** Output Parser Structured *Model*
- 8 **OpenAI Model - Appeals Tool** Lm Chat Open Ai *Model*
- 9 **Structured Output - Appeals Tool** Output Parser Structured *Model*
- 10 **OpenAI Model - Enforcement Tool** Lm Chat Open Ai *Model*
- 11 **Structured Output - Enforcement Tool** Output Parser Structured *Model*
- 12 **Workflow Configuration** Set *Logic*
- 13 **Content Signal Agent** Agent *Model*
- 14 **Governance Agent** Agent *Model*
- 15 **Review Agent Tool** Agent Tool *Model*
- 16 **Appeals Agent Tool** Agent Tool *Model*
- 17 **Enforcement Agent Tool** Agent Tool *Model*
- 18 **Route by Validation Status** Switch *Logic*
- 19 **Route by Action Type** Switch *Logic*
- 20 **Store Valid Content** Data Table *Service*
- 21 **Store Flagged Content** Data Table *Service*
- 22 **Store Enforcement Actions** Data Table *Service*
- 23 **Merge All Paths** Merge *Logic*
- 24 **Check Escalation Required** If *Logic*
- 25 **Prepare Audit Data** Code *Logic*
- 26 **Notify Moderation Team** Slack *Service*
- 27 **Escalation Email** Email Send *Service*
- 28 **Audit Log** Data Table *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 28, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Email, Slack, n8n data table
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Email and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 28 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 28 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmoderate-and-govern-user-content-with-openai-and-slack)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Email](https://millionrounds.com/workflows?service=Email#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Summarize RSS articles with Gemini and OpenAI** 28 steps · calls a model · Google Drive, RSS](https://millionrounds.com/workflow/summarize-rss-articles-with-gemini-and-openai)
- [**Curate and publish LinkedIn tech posts with NewsData** 27 steps · calls a model · LinkedIn, Slack](https://millionrounds.com/workflow/curate-and-publish-linkedin-tech-posts-with-newsdata)
- [**Generate and post Apple App Store review replies with Claude** 29 steps · calls a model · Google Drive, Slack](https://millionrounds.com/workflow/generate-and-post-apple-app-store-review-replies-with-claude)
- [**Generate videos for realtors from Zillow links** 29 steps · Email](https://millionrounds.com/workflow/generate-videos-for-realtors-from-zillow-links)
- [**Weekly Google Search Console SEO pulse: Catch top movers across** 29 steps · Gmail, Slack](https://millionrounds.com/workflow/weekly-google-search-console-seo-pulse-catch-top-movers-acro)
- [**AI-powered social media ad creation with Pinterest** 26 steps · calls a model · Slack](https://millionrounds.com/workflow/ai-powered-social-media-ad-creation-with-pinterest)
