Auto-moderate Instagram comments with Perspective API & Slack alerts
Needs changesWhat this workflow does
This workflow has 11 nodes and runs on a schedule (legacy Cron node) (plus 1 other trigger). Along the way it connects Slack and Google Sheets. It also calls graph.facebook.com and api.moderatehate.com over HTTP.
How it runs
Trigger: On a schedule (legacy Cron node) (plus 1 other trigger).
- Get Instagram Posts (HTTP Request): calls graph.facebook.com
- Get Comments (HTTP Request): calls an HTTP API
- Loop Over Comments (Loop Over Items (Split in Batches)): loops over the items in batches
- Detect Toxicity (HTTP Request): calls api.moderatehate.com
- If: checks a condition and branches into true / false
- Hide Comment (HTTP Request): calls an HTTP API
- Alert Team (Slack) (Slack): uses Slack
- Store Evidence (Google Sheet) (Google Sheets): append
- End (Non-Toxic Path) (Edit Fields (Set)): sets or maps fields
Services it uses
Other Google Sheets + Slack templates (1,314) · Other Facebook + Google Sheets templates (127) · Other Facebook + Slack templates (47)
HTTP calls to: graph.facebook.com, api.moderatehate.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Cron in Schedule Trigger: replace with Schedule Trigger.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| Cron Schedule Trigger | Schedule Trigger |
Nodes used (8)
- Cron
n8n-nodes-base.cron - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - Edit Fields (Set)
n8n-nodes-base.set - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Webhook
n8n-nodes-base.webhook
From the author
Automatically detects and hides hate speech/toxic comments, alerts your team, and logs flagged content for review. Workflow Overview - Trigger: A Schedule node runs every 15 minutes to poll for new comments (Instagram doesn't natively push notifications…