Whatsapp Link
Simple node for connecting Node-Red to Whatsapp.
Currently in developing mode, Continous updated may encounter. (#smileys--emotion) 📱
To Connect with whatsapp
- Deploy any whatsapp node along with whatsappLink node.
- look in Console/ Bash/ terminal.
- whatsappLink node will initilize, connect with whatsapp and generate a QR code it terminal.
- Scan the QR code with your Whatsapp Mobile App (Go to settings > Linked device > Scan & Connect).
- Done - Whatsapp Connected.
It will create a Whatsapp Web instance in your machine and store your session locally in Node-RED.
Nodes
-
Whatsapp Admin : Node used for basic status of whatsapp.
Inputs Description test Checks the current status of whatsapp and output the same in msg.payloaddestroy Close the client and destroy the connection. restart restart the whatsapp client logout Simply log you out and close the session. Output Description statusprovide status on msg.payloadfor all and each input mentioned in above table.Connecting.. When whatsapp attempting to connect. QR Code (image) when QR code is generated. This method can also be used to get QR Code (image) generated by whatsapp. Connected When whatapp is sucessfully connected.
-
Whatsapp In : Node to recive all messages send to connected number.
- Simply deploy the node and wait for connected (green) status.
- After succesfully connection, Node is able to recive all messages.
- Messages can be read at
msg.payloadandmsg.bodyand sender number can be read atmsg.from. - Please look complete
{msg}to get all details about recived message.
-
Whatsapp Out : As simple as mention on name, node will send
msg.payloadrecived at input to the number mentiond in node.Don't forget to mention international dialing code befor your number. Number must be in format like
+11 99999 99999without any space.
Currently working on more Whatsapp Node and will be avilable soon -
- Group Message Node.
- Chat Reply node.
- Instruction (smart) Reply Node.
Complete detail for Nodes will also be updated as soon as possible.
Please don`t try to spam with your personal Number, Suspicious activities might be tracked by whatsapp.
Thanks to bear with me