by open-wa
💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
# Add to your Claude Code skills
git clone https://github.com/open-wa/wa-automate-nodejsGuides for using ai agents skills like wa-automate-nodejs.
See how wa-automate-nodejs compares with popular alternatives.
wa-automate-nodejs is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by open-wa. 💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!. It has 3,684 GitHub stars.
wa-automate-nodejs's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/open-wa/wa-automate-nodejs" and add it to your Claude Code skills directory (see the Installation section above).
wa-automate-nodejs is primarily written in TypeScript. It is open-source under open-wa on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh wa-automate-nodejs against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
[!WARNING] When you use this project, you explicitly agree to the Terms of Service.
This project is unofficial and is not affiliated with WhatsApp or Meta. Use it at your own risk.
[!NOTE] Version 5 is the current release line. Existing v4 applications should use an explicit v4 version while they migrate; unqualified installs use v5.
Turn a WhatsApp account into an API, bot runtime, webhook bridge, and AI tool surface.
Project site · npm package · GitHub repository
@open-wa/wa-automate is a Node.js toolkit for WhatsApp Web automation. You can make a local API, bot backend, webhook source, plugin host, or MCP server.
This repository is the v5 monorepo. Its packages are released together under one version number and use separate modules for the runtime, drivers, API, and integrations.
Starting from nothing? Run npm init @open-wa@latest my-bot and the project generator sets everything up. Need a WhatsApp API running quickly? Start with Easy API. Want the browser/runtime inside your own app? Use the embedded runtime. Building integrations, proxying sessions, or exposing WhatsApp to an AI agent? Those surfaces are in this repo too.
| Surface | What it gives you | Start here |
|---|---|---|
| Project generator | Create an Easy API or SDK project, with the plugins you pick, from one command | Start a project |
| Easy API | Run WhatsApp as a local HTTP API with docs and generated schemas | Quick start |
| SocketClient | Connect another Node.js app to a running Easy API instance | Simple automation |
| Embedded runtime | Own the runtime lifecycle directly through createClient |
Deep integration |
| Browser drivers | Choose Puppeteer, Playwright, or Lightpanda-backed runtime packages | Embedded runtime |
| Plugins | Load reusable integrations with plugins and pluginConfig |
Plugins and integrations |
| Webhooks | Push WhatsApp events into your own service | Plugins and integrations |
| Chatwoot | Bridge WhatsApp into Chatwoot conversations | Plugins and integrations |
| Cloudflare proxy | Get remote access to a local session without direct exposure of local ports | Cloudflare Session Proxy |
| MCP | Let AI agents discover and call Easy API methods as tools, and watch chats with MCP Events | AI-agent integration |
| Assistants | Add Voxtral for voice notes and audio calls, and Jev for text chats with buttons, lists, forms and booking cards | Plugins and integrations |
| Stickers | Send images as stickers, including stickers that play a sound | Media guide |
| If you want to... | Start here |
|---|---|
| create a new project with one command | Start a project |
| get a WhatsApp-backed API running in minutes | Quick start: Easy API |
| build a bot without owning the browser runtime | Simple automation: SocketClient |
| own the runtime inside your own Node.js app | Deep integration: embedded runtime |
| move an existing v4 application to v5 | Migrating from v4 to v5 |
| publish or share reusable automation pieces | Plugins and integrations |
You can use this project in a few practical ways:
The project generator asks whether you want the Easy API or the Node.js SDK, JavaScript or TypeScript, and which plugins to add. Then it writes the project and installs it:
npm init @open-wa@latest my-bot
cd my-bot
npm start
Scan the QR code from WhatsApp → Linked devices → Link a device. Later starts from the same folder reuse the saved login. To add the assistants at the same time, pass the plugins on the command line:
npm init @open-wa@latest my-assistant -- --plugins jev,voxtral
The quick start continues from here to your first message, and the project builder makes the same choices in the browser.
Want to convert a WhatsApp account into an API with the least ceremony? Run the CLI:
npx @open-wa/wa-automate@latest --port 8080
That starts an Easy API instance, launches the first-run authentication flow, and exposes interactive docs for the live session.
Use an explicit version in deployments that need repeatable installs.
For first login, the runtime will ask you to authenticate. Depending on your setup, either:
Once the session is connected, open:
http://localhost:8080/api-docs/
That page is your first proof of life: the session is up, the API is reachable, and the method surface is discoverable.
Other useful generated artifacts:
http://localhost:8080/meta/swagger.json
http://localhost:8080/meta/postman.json
Useful first commands:
# choose a port
npx @open-wa/wa-automate@latest --port 8080
# provide your own API key
npx @open-wa/wa-automate@latest --port 8080 --api-key "your-secure-key"
# run a named session
npx @open-wa/wa-automate@latest --session-id sales --port 8081
Good defaults for a first real session:
sessionId early if you might run more than one account--api-key before exposing it outside your machineIf your goal is simply "connect WhatsApp to another service", configure @open-wa/integration-webhook in wa.config.*. The v5 CLI parses --webhook but currently warns that CLI webhook registration parity is not restored, so that flag does not enable source-backed delivery. See Receive webhooks for the working configuration.
If you prefer Docker:
docker run -p 127.0.0.1:8080:8080 --init openwa/wa-automate
Docker notes:
WA_SESSION_DATA_PATH, as the Docker guide shows--init so the init process removes zombie processesW_A_V, for example -e W_A_V=5.13.0Building a bot, worker, or app integration? Keep the WhatsApp runtime in Easy API and let your Node.js app act as a clean remote consumer.
Start the runtime:
npx @open-wa/wa-automate@latest --port 8080 --api-key "your-secure-key"
Install the remote consumer in your app:
npm install @open-wa/socket-client
Keep the Easy API process running. Your app is a remote consumer, not the runtime host.
Then connect from your app:
import { SocketClient } from '@open-wa/socket-client';
async function start() {
const client = await SocketClient.connect('http://localhost:8080', 'your-secure-key');
client.onMessage(async (message) => {
if (message.body === 'Hi') {
await client.sendText(message.from, '👋 Hello!');
}
});
}
start().catch(console.error);
Why this path is good for most builders:
Use this choice to deploy automation quickly. The Easy API process owns browser setup, session lifecycle, and API hosting.
If