Socket
Socket
Sign inDemoInstall

node-red-contrib-whatsapp-link

Package Overview
Dependencies
133
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-red-contrib-whatsapp-link

Whatsapp connection with Node-Red | No third party APIs


Version published
Maintainers
1
Created

Readme

Source

Simple node for connecting Node-Red to Whatsapp :iphone:

Currently in developing mode, Continous updated may encounter. :sweat_smile:

To Connect with Whatsapp

  1. Deploy any whatsapp node along with whatsappLink node.
  2. look in Console/ Bash/ terminal.
  3. whatsappLink node will initilize, connect with whatsapp and generate a QR code it terminal.
  4. Scan the QR code with your Whatsapp Mobile App (Go to settings > Linked device > Scan & Connect).
  5. Done - Whatsapp Connected.

It will create a Whatsapp Web instance in your machine and store your session locally in Node-RED.

Nodes

  1. Whatsapp Admin : Node used for basic status of whatsapp.

    InputsDescription
    testChecks the current status of whatsapp and output the same in msg.payload
    destroyClose the client and destroy the whatsapp connection.
    restartRestart the whatsapp connection.
    logoutSimply log you out and close the session.

    OutputDescription
    statusprovide status on msg.payload for 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.
    ConnectedWhen whatapp is sucessfully connected.
    Group Joined or Removedmsg.paylod : Group Name.
    msg.type : joined / Removed from group.
    msg.notification : Complete notification.
    msg.chat : Complete Group Details.
  2. Whatsapp In : Node to recive all messages send to connected number.

    • Simply deploy the node and wait for green (connected) status.

    • After succesfully connection, Node is able to recive all messages.

    • Messages can be read at msg.payload and msg.body.

    • Sender number can be read at msg.from.

    • Please look complete {msg} to get all details about recived message.

Try to send a message !nodered to connected whatsapp number and get a Hi in reply from Node-Red.

  1. Whatsapp Out : As simple as mention on name, node will send msg.payload recived at input to the number mentioned in node.

    Don't forget to mention international dialing code befor your number. Number must be in format like +11 99999 99999 without any space.

Future Nodes

Currently working on more Whatsapp Node and will be avilable soon -

  1. Group Message Node.
  2. Chat Reply node.
  3. 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

Keywords

FAQs

Last updated on 09 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc