Detect toxic language in Telegram messages — n8n Workflow
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
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 5 nodes, connecting googleperspective, if, telegram.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (5)
Telegram
telegram
Google Perspective
googlePerspective
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
detect-toxic-language-in-telegram-messagesfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Lorena
@lorenanda
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →