n8n-nodes-pyrogram-plus
Full-featured Telegram MTProto client for n8n with session management.
This node is a complete Telegram client (like Pyrogram for Python) that allows you to perform any client-side Telegram operations directly from n8n workflows.
Features
- ✅
25+ Operations: Messages, Chats, Users, Media, Channels
- 🔐
Session Management: Automatic session persistence with StringSession
- 📱
Client-side: Full MTProto implementation (not a bot API)
- 🚀
No External Server: Everything runs directly in n8n
Installation
npm install n8n-nodes-pyrogram-plus
Or install directly in n8n GUI:
1. Go to
Settings →
Community Nodes
2. Click
Install
3. Enter:
n8n-nodes-pyrogram-plus
First Time Setup
1. Get API credentials from https://my.telegram.org/apps
2. Create new
Telegram MTProto API credentials in n8n
3. Enter your API ID, API Hash, and Phone Number
4.
Leave Session String empty for first run
5. Run the workflow - you'll get an error with your session string
6. Copy the session string and save it in credentials
7. Now you can use the node without authentication prompts!
Supported Operations
$3
- Send Text, Photo, Video, Document, Audio, Voice
- Forward, Edit, Delete Messages
- Get Messages, History, Search
- Send Poll, Pin/Unpin Messages
$3
- Get Chat Info, Dialogs, Participants
- Join/Leave Chat
- Create Group/Channel
- Ban/Unban/Promote Users
$3
- Get Me, Users, Profile Photos
- Update Profile, Username
- Get Full User Info
$3
- Download Media
- Send Album (Media Group)
$3
- Get Admin Log, Participants
- Edit Admin Rights
License
MIT
Credits
Built with
GramJS - Telegram MTProto library for JavaScript