telegram-greenapi

n8n node for Green-API for Telegramm

Package Information

Downloads: 0 weeklyย /ย 38 monthly
Latest Version: 0.0.1
Author: GREEN API

Documentation

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-greenapi

Restart n8n after installation.

Manual installation

  1. Copy repository into ~/.n8n/custom/
  2. Run:
    npm install
    npm run build
    
  3. 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
๐Ÿ“ง support@green-api.com
๐ŸŒ https://green-api.com/en/


๐Ÿชช License

MIT License

Discussion