npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-nowely-y-test

v0.3.1

Published

n8n node for Green-API for WhatsApp

Downloads

435

Readme

n8n-nodes-whatsapp-green-api

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.


📖 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 SettingsCommunity NodesInstall, then enter n8n-nodes-whatsapp-green-api

Install via npm

npm install n8n-nodes-whatsapp-green-api

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 WhatsApp 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, 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 |


⚙️ Usage Examples

💬 Send Message

{
  "operation": "sendMessage",
  "chatId": "[email protected]",
  "message": "Hello from n8n and Green API!"
}

📎 Send File by URL

{
  "operation": "sendFileByUrl",
  "chatId": "[email protected]",
  "urlFile": "https://example.com/image.jpg",
  "fileName": "photo.jpg"
}

📣 Send Text Status

{
  "operation": "sendTextStatus",
  "message": "Working with Green-API and n8n!",
  "backgroundColor": "#228B22",
  "font": "SERIF",
  "participants": []
}

📤 Send Interactive Buttons Reply

{
  "operation": "sendInteractiveButtonsReply",
  "chatId": "[email protected]",
  "header": "",
  "body": "Do you confirm the appointment for tomorrow?",
  "footer": "",
  "buttons": [
        {
            "buttonId": "1",
            "buttonText": "Yes"
        },
        {
            "buttonId": "2",
            "buttonText": "No"
        }
    ]
}

👥 Create Group

{
  "operation": "createGroup",
  "groupName": "My Team",
  "participants": ["[email protected]", "[email protected]"]
}

🧭 Send Location

{
  "operation": "sendLocation",
  "chatId": "[email protected]",
  "latitude": 40.7128,
  "longitude": -74.0060,
  "name": "New York",
  "address": "NY, USA"
}

🔄 Check Whatsapp

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

🔗 Resources


👤 Author

Developed by Green API
📧 [email protected]
🌍 https://green-api.com/en/


🪪 License

MIT License