@green-api/n8n-nodes-telegram-greenapi
v0.0.1
Published
n8n node for Green-API for Telegramm
Readme
n8n-nodes-telegram-green-api
Integration node for Green API in n8n.
This community node allows automation of Telegram interactions using Green API — including messaging, file transfer, contacts, groups, statuses, and instance management.
📖 Overview
The GreenAPI Node provides full access to Green API endpoints, enabling you to send messages, manage chats, groups, and retrieve account information.
Installation
Install community node
Go to Settings → Community Nodes → Install, then enter @green-api/n8n-nodes-telegram-greenapi
Install via npm
npm install @green-api/n8n-nodes-telegram-greenapiRestart n8n after installation.
Manual installation
- Copy repository into
~/.n8n/custom/ - Run:
npm install npm run build - Restart n8n
You can also check out the installation guide in the n8n community nodes documentation.
Authentication
To use this node, you need to have an instance and token from Green-API platform and Telegram account:
- Sign up at Green-API
- Create an instance
- Get idInstance and apiTokenInstance
- Authorize the instance in the Console
🧩 Features
| Category | Methods | |-----------|----------| | 👤 Account | getStateInstance, reboot, getAccountSettings | | ✉️ Sending | sendMessage, sendPoll, sendFileByUrl | | 📥 Receiving | webhookTrigger | | 📜 Journals | getChatHistory, getMessage, lastIncomingMessages, lastOutgoingMessages | | 🧾 Queues | showMessagesQueue, clearMessagesQueue | | 👥 Groups | getGroupData | | ✅ Readmark | readChat | | 🧩 Service | getContacts, getContactInfo, checkAccount |
⚙️ Usage Examples
💬 Send Message
{
"operation": "sendMessage",
"chatId": "7596558806",
"message": "Hello from n8n and Green API!"
}📎 Send File by URL
{
"operation": "sendFileByUrl",
"chatId": "7596558806",
"urlFile": "https://example.com/image.jpg",
"fileName": "photo.jpg"
}🔄 Check Account
{
"operation": "checkAccount",
"phoneNumber": 77780738519
}🔗 Resources
👤 Author
Developed by Green API
📧 [email protected]
🌍 https://green-api.com/en/
