๐Ÿ’ฌ Protect Telegram groups with math CAPTCHA verification and Google Sheets

โšก 41 views ยท ๐Ÿ’ฌ Support Chatbots

Description

Why this template rocks

๐Ÿš€ Lightning-fast setup - Deploy in under 5 minutes
๐Ÿ’ก Zero AI costs - Uses simple math instead of expensive LLM calls
๐Ÿ›ก๏ธ 99% spam blocking - Mathematical CAPTCHAs stop bots instantly
โšก Ultra-efficient - Runs on minimal resources, scales to thousands of users
๐ŸŽฏ Plug-and-play - Just add your bot token and Google Sheet ID

Whoโ€™s it for

Smart community managers who want maximum protection with minimum complexity. Perfect for:

What it does

This isnโ€™t another complicated AI bot - itโ€™s a lean, mean spam-fighting machine that works smarter, not harder.

๐Ÿง  Simple brilliance: Instead of expensive AI that can be fooled, we use basic math (1+1=?) that bots consistently fail
๐ŸŽฏ Instant results: New member joins โ†’ Gets math question โ†’ Answers correctly = Welcome! / Wrong answer = Banned
๐Ÿงน Auto-cleanup: All verification messages disappear automatically - your chat stays pristine
๐Ÿ“Š Smart tracking: Google Sheets integration tracks everything without bloating your database

The genius is in the simplicity - real humans solve โ€œ7+3=?โ€ in 2 seconds, bots struggle or ignore it completely.

How it works (the magic behind the simplicity)

Step 1: ๐Ÿ‘๏ธ Bot detects new member instantly
Step 2: ๐ŸŽฒ Generates random math question (like โ€œ4 + 7 = ?โ€)
Step 3: โ“ Sends personalized challenge mentioning the user
Step 4: ๐Ÿ“ Stores answer in Google Sheets for verification
Step 5: โœ… User responds โ†’ Bot checks answer โ†’ Success = Welcome / Fail = Ban
Step 6: ๐Ÿงน All verification messages auto-delete for clean chat

Why this crushes AI-based solutions:

Requirements (minimal setup, maximum power)

Total setup time: 5 minutes max โฑ๏ธ

How to set up

  1. Configure Bot Credentials:

    • Replace YOUR_TELEGRAM_BOT_TOKEN_HERE in the โ€œโš™๏ธ Bot Configurationโ€ node with your actual bot token from @BotFather
    • Ensure your bot has necessary permissions (delete messages, ban users, read messages)
  2. Set up Google Sheets Integration:

    • Create a new Google Sheet with three columns: id, answer, msg_id
    • Replace YOUR_GOOGLE_SHEET_ID_HERE with your Google Sheet ID
    • Configure Google Sheets credentials in N8N with proper service account access
    • Ensure the sheet is accessible by your service account
  3. Configure Telegram Group:

    • Add your bot to the target Telegram group
    • Promote the bot to administrator with permissions to ban users and delete messages
    • Test bot permissions by manually invoking admin functions
  4. Customize Welcome Message:

    • Edit the welcome message template in the โ€œโš™๏ธ Bot Configurationโ€ node to match your communityโ€™s tone and style
    • Include any group rules, links, or specific information new members should know
  5. Activate and Test:

    • Enable the workflow in N8N
    • Test the complete flow by joining the group with a test account
    • Verify CAPTCHA delivery, answer verification, and both success/failure paths work correctly

๐Ÿ’ก Pro tip: The simple math foundation makes ANY customization easy - no AI complexity to break!

Why youโ€™ll love this template

โšก Instant impact: Deploy once, protect forever
๐Ÿ’ฐ Zero ongoing costs: No AI bills, just pure efficiency
๐Ÿ›ก๏ธ Battle-tested: Stops 99% of spam bots in real communities
๐Ÿ”ง Maintenance-free: Set it and forget it reliability
๐Ÿ“ˆ Scales infinitely: From 10 to 10,000 members witho

๐Ÿ”— Nodes Used

Google Sheets, HTTP Request, Telegram, Telegram Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup