This library use for Whatsapp functions in node-red. This node implement and depend on whatsapp-web.js.
Run the following command in the root directory of your Node-RED
npm install node-red-contrib-waservice
You will also need whatsapp-web.js to install insinde the node-red-contrib-waservice node_modules
npm i whatsapp-web.js
or
- Go to "Manage palette" menu on your node-red
- Search "waservice" or "Whatsapp Service" on Node-RED Library
- Click "Install"
When test on macos there is a problem mention pedroslopez/whatsapp-web.js#1758, this fix by installing
npm install github:ReforwardDev/whatsapp-web.js#patch-1
Everytime deploy new nodes, node-red must restart to re init the whatsapp.
This package can use to authenticate your whatsapp, send and receive the message with node-red. Import the example from this https://gist.github.com/taufiksu/ad724c5641aee49c0114e604b6391e6c