Telegram Profanity Detection and Alert
detail.loadingPreview
Automatically detect and alert on profanity in Telegram messages using Google Perspective API. This workflow triggers on new messages, analyzes text for toxicity, and sends a warning if profanity is detected.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow automates the detection of profanity within Telegram messages. It leverages the Telegram Trigger node to receive incoming messages, then uses the Google Perspective API to analyze the message's text for toxicity, specifically looking for profanity. An IF node then checks the 'summaryScore' for profanity against a threshold. If the score is above the threshold, a warning message is sent back to the original chat via the Telegram node. Otherwise, the workflow proceeds to a NoOp node, indicating no action is needed. This workflow is ideal for moderating community chats or ensuring a safe communication environment.
Key Features
- Real-time Telegram message monitoring
- Advanced profanity detection via Google Perspective API
- Configurable profanity threshold
- Automated warning messages for inappropriate content
- Easy integration with existing Telegram bots
How To Use
- Set up a Telegram bot and obtain its API token.
- Configure the 'Telegram Trigger' node with your bot's credentials and desired update types (e.g., 'message').
- Obtain API access for the Google Perspective API and set up your credentials in n8n.
- Configure the 'Google Perspective' node with your API credentials and ensure it correctly extracts the message text from the Telegram trigger.
- Adjust the 'IF' node's condition to set your desired profanity detection threshold (e.g.,
0.7). - Configure the 'Telegram' node to send your desired warning message and ensure the
chatIdandreply_to_message_idare correctly mapped from the trigger node.
Apps Used
Workflow JSON
{
"id": "63a388c9-79f2-45c2-9efc-9e7db1d6a356",
"name": "Telegram Profanity Detection and Alert",
"nodes": 0,
"category": "Communication Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 63a388c9-79f2...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Automate Local Business Outreach with AI-Powered Yelp Scraper
This workflow automates the process of scraping local business details from Yelp using AI, then leverages that data to send personalized partnership proposals via Gmail. It's perfect for sales and marketing teams looking to streamline lead generation and outreach campaigns.
Automate Getty Images Editorial Search & CMS Integration
This n8n workflow automates searching for editorial images on Getty Images, extracts key details and embed codes, and prepares them for seamless integration into your Content Management System (CMS), streamlining your content creation process.