Description
π Telegram GramPro for n8n
The ultimate MTProto automation engine for n8n. Enterprise-grade security, high-performance userbot triggers, and seamless Telegram integration.
GUIDE.md”>π Operations Guide | GUIDE.md”>π§ Troubleshooting | my.telegram.org
2. Create Session String
Use our built-in authentication operations. For detailed step-by-step instructions, see our Authorization Guide.
3. Configure Credentials
In n8n β Settings β Credentials:
π― Comprehensive Operations Guide
For detailed documentation of all operations with parameters, examples, and use cases, see our Operations Guide.
π§ Available Operations
| Resource | Operations |
| ——————— | ———————————————————————————————————– |
| Auth | Request Login Code, Resend Login Code, Sign in, Request QR Login, Complete QR Login |
| Message | Send Message, Get Chat History, Read Messages History, Edit, Delete, Pin, Forward, Copy, Edit Media, Create Poll, Copy Restricted Content, Clear History, Unpin Message |
| Chat | Get Chat Info, Get Chats List, Join Channel/Group, Leave Channel/Group, Create Group/Channel, Send Chat Action |
| User | Get My Profile, Get Profiles Photo, Update My Profile, Update My Username, Update My Status, Get User Profile (Bio & Common Chats) |
| Media | Download Media Files |
| Channel | Add Member, Remove Member, Ban User, Unban User, Promote to Admin, Get Members |
π‘οΈ Security Features
Session Encryption
All session strings are automatically encrypted using AES-256-GCM with:
Input Validation
Comprehensive validation ensures data integrity and security:
Enhanced Error Handling
The node handles common Telegram errors gracefully:
β‘ Performance Optimizations
Smart Client Management
Intelligent Rate Limiting
Smart Caching
In-memory caching for frequently accessed data:
Memory Efficient Design
Enhanced Request Handling
π¨ Troubleshooting
For comprehensive troubleshooting guidance, common issues, and solutions, see our Troubleshooting Guide.
Project Structure
n8n-nodes-telegram-grampro/
βββ π Root Files
β βββ .gitignore, .prettierrc.js, eslint.config.mjs
β βββ LICENSE, README.md
β βββ package.json, package-lock.json
β βββ tsconfig.json
β
βββ π .github/
β βββ CODEOFCONDUCT.md, CONTRIBUTING.md, SECURITY.md
β βββ workflows/
β βββ build.yml
β βββ publish.yml
β
βββ π credentials/
β βββ TelegramGramProApi.credentials.ts
β βββ telegram-grampro-credentials.svg
β
βββ π docs/
β βββ AUTHORIZATION_GUIDE.md
β βββ CHANGE_LOG.md
β βββ OPERATIONS_GUIDE.md
β βββ TROUBLESHOOTING_GUIDE.md
β
βββ β‘ nodes/
βββ π¦ TelegramGramPro/
β βββ TelegramGramPro.node.ts
β βββ telegram-grampro.svg
β βββ core/
β β βββ cache.ts, clientManager.ts, fileSizeUtils.ts,
β β βββ floodWaitHandler.ts, logger.ts,
β β βββ messageFormatting.ts, operationHelpers.ts,
β β βββ payloadBuilders.ts, qrPng.ts,
β β βββ rateLimiter.ts, sessionEncryption.ts,
β β βββ telegramErrorMapper.ts, types.ts, validation.ts
β β
β βββ resources/
β βββ authentication.operations.ts
β βββ channel.operations.ts
β βββ chat.operations.ts
β βββ media.operations.ts
β βββ message.operations.ts
β βββ user.operations.ts
β
βββ π TelegramGramProTrigger/
βββ TelegramGramProTrigger.node.ts
βββ trigger.shared.ts
βββ telegram-grampro.svg
Workflow Examples
Ready-to-import workflow examples are available in docs/Workflows-Examples:
Send messages from one user to multiple users.jsonSend messages from folder chats to user.jsonHow to Import in n8n
1. Open n8n and create a new workflow.
2. Use the workflow menu and select Import from File.
3. Choose one of the JSON files from docs/Workflows-Examples/.
4. Re-map telegramGramProApi credentials to your own Telegram GramPro credential.
5. Replace placeholders such as source/target chats, admin usernames, and sub-workflow IDs.
Advanced Configuration
Environment Variables
GRAMPROLOGLEVEL=error|warn|info|debug – Control log verbosityN8NLOGLEVEL=error|warn|info|debug – Fallback if GRAMPROLOGLEVEL not setPerformance Tuning
Security Best Practices
π₯ Contributors
Krushnakant Sadiya
Project Lead & Developer
We welcome contributions to make Telegram GramPro even better! For comprehensive contributions guidance, see our Contributions Guide.
β Star History
Publishing Status





NPM Status











GitHub Status









Dependency Status







π License
MIT License – see LICENSE file for details.
π Resources
—



