WPPConnect is an open-source library that exports WhatsApp Web functions to Node.js, enabling developers to build WhatsApp bots, automation tools, and chat integrations. Supports sending and receiving messages, media, contacts, and status updates. Built with Puppeteer for browser automation, it provides a programmatic API for WhatsApp Web without requiring the official Business API. Ideal for customer support bots, notification systems, and messaging automation.
git clone https://github.com/wppconnect-team/wppconnect.git
const wppconnect = require("@wppconnect-team/wppconnect");
wppconnect.create({ session: "my-session" })
.then((client) => {
client.sendText(
"[email protected]",
"Hello from WPPConnect!"
);
client.onMessage((message) => {
console.log("Received:", message.body);
});
});