Who is this workflow for? This workflow automatically identifies and manages toxic language—such as profanity, insults, and threats—in Telegram messages. By integrating Telegram with Google Perspective via n8n, it ensures a healthier and more respectful communication environment within your Telegram chats..

What does this workflow do?

  • Telegram Trigger: The workflow begins by monitoring a specified Telegram chat. Whenever a new message is sent, the Telegram Trigger node activates the workflow.

  • Google Perspective Analysis: The message text is sent to the Google Perspective API, which evaluates the content and returns a toxicity probability score ranging from 0 to 1.

  • IF Condition: The workflow checks the returned toxicity score. If the score exceeds 0.7, indicating a high likelihood of toxic language, the workflow proceeds to the next step. Otherwise, it follows the “NoOp” branch.

  • Telegram Response: For messages deemed toxic (score > 0.7), the workflow sends a predefined warning message, such as “I don’t tolerate toxic language,” back to the Telegram chat to address the issue immediately.

  • NoOp (No Operation): If the toxicity score is below the threshold, the workflow takes no further action, allowing the conversation to continue unhindered.

🤖 Why Use This Automation Workflow?

  • Maintain Community Standards: Automatically monitor and uphold the behavioral guidelines of your Telegram groups or channels.
  • Reduce Manual Moderation: Save time by automating the detection of inappropriate language, minimizing the need for constant human oversight.
  • Enhance User Experience: Foster a positive and safe communication space by promptly addressing toxic messages.

👨‍💻 Who is This Workflow For?

This workflow is ideal for Telegram group administrators, community managers, educators, and organizations who manage active Telegram chats and seek to promote respectful and constructive interactions among members without extensive manual moderation.

🎯 Use Cases

  1. Community Management: Automatically monitor and handle inappropriate language in large Telegram groups to maintain a positive environment.
  2. Educational Platforms: Ensure respectful communication among students and educators in Telegram-based learning communities.
  3. Customer Support Channels: Filter out toxic language in support chats to maintain professionalism and address issues effectively.

TL;DR

This n8n workflow seamlessly integrates Telegram with Google Perspective to automatically detect and address toxic language in real-time. By implementing this automation, you can maintain a respectful and positive communication environment in your Telegram chats with minimal manual effort.

Help us find the best n8n templates

About

A curated directory of the best n8n templates for workflow automations.