Integration node for Green API in n8n.
This community node allows automation of WhatsApp interactions using Green API — including messaging, file transfer, contacts, groups, statuses, and instance management.
The GreenAPI Node provides full access to Green API endpoints, enabling you to send messages, manage chats, groups, and retrieve account information.
Go to Settings → Community Nodes → Install, then enter @green-api/n8n-nodes-whatsapp-greenapi
To use this node, you need to have an instance and token from Green-API platform and WhatsApp account:
- Sign up at Green-API
- Create an instance
- Get idInstance and apiTokenInstance
- Authorize the instance in the Console
| Category | Methods |
|---|---|
| 👤 Account | getSettings, setSettings, getStateInstance, reboot, logout, getWaSettings |
| ✉️ Sending | sendMessage, sendPoll, sendFileByUrl, sendLocation, sendContact, forwardMessages, sendInteractiveButtons, sendInteractiveButtonsReply |
| 📥 Receiving | webhookTrigger, downloadFile |
| 📜 Journals | getChatHistory, getMessage, lastIncomingMessages, lastOutgoingMessages |
| 🧾 Queues | showMessagesQueue, clearMessagesQueue |
| 👥 Groups | createGroup, updateGroupName, getGroupData, addGroupParticipant, deleteGroupParticipant, setGroupAdmin, removeGroupAdmin, leaveGroup |
| 📣 Statuses | sendTextStatus, sendVoiceStatus, sendMediaStatus, deleteStatus, getStatusStatistic, getIncomingStatuses, getOutgoingStatuses |
| ✅ Readmark | readChat |
| 🧩 Service | getContacts, getContactInfo, editMessage, deleteMessage, archiveChat, unarchiveChat, setDisappearingChat |
{
"operation": "sendMessage",
"chatId": "79001234567@c.us",
"message": "Hello from n8n and Green API!"
}{
"operation": "sendFileByUrl",
"chatId": "79001234567@c.us",
"urlFile": "https://example.com/image.jpg",
"fileName": "photo.jpg"
}{
"operation": "sendTextStatus",
"message": "Working with Green-API and n8n!",
"backgroundColor": "#228B22",
"font": "SERIF",
"participants": []
}{
"operation": "sendInteractiveButtonsReply",
"chatId": "79001234567@c.us",
"header": "",
"body": "Do you confirm the appointment for tomorrow?",
"footer": "",
"buttons": [
{
"buttonId": "1",
"buttonText": "Yes"
},
{
"buttonId": "2",
"buttonText": "No"
}
]
}{
"operation": "createGroup",
"groupName": "My Team",
"participants": ["79001234567@c.us", "79007654321@c.us"]
}{
"operation": "sendLocation",
"chatId": "79001234567@c.us",
"latitude": 40.7128,
"longitude": -74.0060,
"name": "New York",
"address": "NY, USA"
}{
"operation": "checkWhatsapp",
"phoneNumber": 79000000000
}Developed by Green API
📧 support@green-api.com
🌍 https://green-api.com/en/