Developer & DevOps

Detect toxic language in Telegram messages

5 nodes 199 137 Automatic trigger
Download

Workflow Description

Automation template that monitors Telegram group messages in real-time, analyzes content using Google Perspective API to detect toxic language, and triggers predefined actions based on toxicity score thresholds to maintain community safety.

How it works

  1. 1.Receive new messages from designated Telegram channels or groups
  2. 2.Send message text to Google Perspective API for toxicity analysis
  3. 3.Evaluate toxicity score against configured threshold using conditional logic
  4. 4.Execute action (alert, delete, or flag) if toxicity exceeds permitted level
  5. 5.Log results and complete workflow

Use cases

  • Moderate large Telegram communities by automatically filtering harmful content
  • Protect chat groups from hate speech and abusive language in real-time

Requirements

  • Active Telegram account with channel or group administration permissions
  • Valid API key for Google Perspective API access

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Telegram Google Perspective

Details

Trigger Automatic trigger
Nodes 5
Apps 2
Views 199
Downloads 137

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (5)

Telegram Trigger

Set

#1

Google Perspective

Google Perspective

#2

IF

If

#3

Telegram

Set

#4

NoOp

No Op

#5