Detect toxic language in Telegram messages — n8n Workflow

Low complexity Trigger5 nodes🏷️ Miscellaneous👁 2,180 viewsby Lorena

Overview

This workflow detects toxic language (such as profanity, insults, threats) in messages sent via Telegram. This blog tutorial explains how to configure the workflow nodes step-by-step.

Telegram Trigger: triggers the workflow when a new message is sent in a Telegram chat.

Google Perspective: analyzes the text of the message and returns a probability value between 0 and 1 of how likely it is that the content is toxic.

IF: filters messages with a toxic probability value above 0.7.

Telegram: se

Nodes used

TelegramGoogle Perspective

Workflow Preview

T
Telegram Trigger
Google Perspective
I
IF
Telegram
N
NoOp
5 nodes4 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 5 nodes, connecting googleperspective, if, telegram.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (5)

TE

Telegram

telegram

#1
GO

Google Perspective

googlePerspective

#2

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded detect-toxic-language-in-telegram-messages file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Detect toxic language in Telegram messages", "nodes": [...], ...}

Integrations

googleperspectiveiftelegramtelegramtrigger

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes5
Complexitylow
Triggertrigger
Views2,180

Created by

Lorena

Lorena

@lorenanda

Tags

googleperspectiveiftelegramtelegramtrigger

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →

Related Miscellaneous Workflows