n8n.io
n8n.io
Product
Product overview
Integrations
Templates
AI
Use cases
IT operations
Security operations
Embedded automation
Lead automation
Supercharge your CRM
Limitless integrations
Backend prototyping
Docs
Self-host n8n
Documentation
Our license
Release notes
Community
Forum
Discord
Blog
Creators
Contribute
Expert partners
Support
Enterprise
Pricing
GitHub
109,194
Sign in
Get Started
Back to Templates
Google Sheets
Merge
Redis
+6
Manage User Authentication with Telegram, Redis Cache and Google Sheets
Buy for $5
Created by
Archit Jain
Last update
Last update 16 days ago
Categories
Engineering
Share
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.