Telegram AI Assistant with Rate Limiting & Auto-Reset via Google Sheets
Production-ready Telegram bot with AI responses, user message rate limiting using Google Sheets, and automated counter resets to control costs and prevent abuse.
This workflow implements a robust Telegram AI assistant that tracks user interactions via Google Sheets to enforce rate limits, preventing excessive API usage and service abuse. The main flow triggers on Telegram messages, logs counters per user (chat ID in Column A, count in Column B), uses switch logic to check limits (default: 3 messages), and routes to AI processing or block/warning responses. A separate scheduled reset flow clears all counters at configurable intervals (e.g., daily, hourly)
- Platform
- n8n
- Category
- Health & Fitness
- Price
- $24.99
- Creator
- Maxim Luong
- Telegram
- AI Agent
- Rate Limiting
- Google Sheets
- Cost Control
- Automation
- Bot Management
- Quota System
- Anti-Abuse
- Scheduled Reset
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Health & Fitness workflows
- Nutrition Tracker & Meal Logger with Telegram, Gemini AI, and Google Sheets$24.99
- Automated Telegram Command Filtering and Workflow Management$15.04
- Automate Food Calorie Tracking via Telegram with GPT-4 Vision and Google Sheets$4.99
- Automate Personalized Diet Plan Creation from Health Reports via Email$4.99
- Reinforced Learning Chatbot for Enhanced User Support$24.99
- AI-Powered Triathlon Coaching with Strava Data Analysis$9.99
More from Maxim Luong
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.