max-greenapi

n8n node for Green-API for MAX

Package Information

Released: 4 mo ago
Downloads: 34 weeklyย /ย 139 monthly
Latest Version: 0.0.8
Author: GREEN API

Documentation

n8n-nodes-max-green-api

Integration node for Green API in n8n.
This community node allows automation of MAX 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-max-greenapi

Authentication

To use this node, you need to have an instance and token from Green-API platform and MAX account:

  • Sign up at Green-API
  • Create an instance
  • Get idInstance and apiTokenInstance
  • Authorize the instance in the Console

๐Ÿงฉ Features

Category Methods
๐Ÿ‘ค Account getSettings, setSettings, getStateInstance, reboot, logout, getAccountSettings
โœ‰๏ธ Sending sendMessage, sendFileByUrl, sendLocation, sendContact
๐Ÿ“ฅ Receiving webhookTrigger, downloadFile
๐Ÿ“œ Journals getChatHistory, getMessage, lastIncomingMessages, lastOutgoingMessages
๐Ÿงพ Queues showMessagesQueue, clearMessagesQueue
๐Ÿ‘ฅ Groups createGroup, updateGroupName, getGroupData, addGroupParticipant, deleteGroupParticipant, setGroupAdmin, removeGroupAdmin, leaveGroup
๐Ÿงฉ Service getContacts, getChats, getContactInfo, editMessage, deleteMessage

โš™๏ธ Usage Examples

๐Ÿ’ฌ Send Message

{
  "operation": "sendMessage",
  "chatId": "41234567",
  "message": "Hello from n8n and Green API!"
}

๐Ÿ“Ž Send File by URL

{
  "operation": "sendFileByUrl",
  "chatId": "41234567",
  "urlFile": "https://example.com/image.jpg",
  "fileName": "photo.jpg"
}

๐Ÿ‘ฅ Create Group

{
  "operation": "createGroup",
  "groupName": "My Team",
  "participants": ["12365498", "41234567"]
}

๐Ÿงญ Send Location

{
  "operation": "sendLocation",
  "chatId": "41234567",
  "latitude": 40.7128,
  "longitude": -74.0060
}

๐Ÿ”„ Check Account

{
  "operation": "checkAccount",
  "phoneNumber": 79000000000
}

๐Ÿ”— Resources


๐Ÿ‘ค Author

Developed by Green API
๐Ÿ“ง support@green-api.com
๐ŸŒ https://green-api.com/en/


๐Ÿชช License

MIT License

Discussion