Manage User Authentication with Telegram, Redis Cache and Google Sheets
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (8)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Google Sheets
n8n-nodes-base.googleSheets - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - Redis
n8n-nodes-base.redis - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set
What it does
How It Works - Telegram bot listens for messages and uses chat ID as the unique user identifier. - Checks Google Sheets for existing users; registers new users if not found. - Caches active sessions in Redis for fast lookup and login-state handling. - Stores and retrieves user data (UserID, Name, Telegram Chat ID) in Google Sheets. - Can be triggered by other n8n workflows to fetch or update user/session data. Setup Steps - Obtain Telegram Bot token, Google Sheets “Users” sheet with API credentials, and a Redis instance. - Import the n8n workflow and configure Redis, Telegram Bot, and Google Sheets credentials. - Expect 30–45 minutes to complete workflow import, Redis setup, and API wiring. - Refer to sticky notes inside the workflow for exact field mappings and node configurations.