# Whatsapp notifications node

**URL:** <https://discourse.nodered.org/t/whatsapp-notifications-node/55534>\
**Category:** Share Your Nodes\
**Created:** [21 December 2021 16:57 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534 "2021-12-21T16:57:58Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![MMB](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@MMB](https://discourse.nodered.org/u/MMB)\
**Post date:** [25 December 2021 20:53 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/21 "2021-12-25T20:53:17Z")

</div>

No i did not have any other issues.  
I will try again after a restart.

---

<div class="post-metadata">

**Author:** ![MMB](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@MMB](https://discourse.nodered.org/u/MMB)\
**Post date:** [25 December 2021 21:04 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/22 "2021-12-25T21:04:38Z")

</div>

After PC restart trying to install node-red-contrib-whin 0.0.9

2021-12-25T21:02:35.454Z [err] ERR! engine Unsupported engine  
2021-12-25T21:02:35.454Z [err] npm  
2021-12-25T21:02:35.454Z [err] ERR!  
2021-12-25T21:02:35.454Z [err] engine Not compatible with your version of node/npm: json-rpc2@1.0.2  
2021-12-25T21:02:35.454Z [err] npm  
2021-12-25T21:02:35.454Z [err] ERR! notsup  
2021-12-25T21:02:35.455Z [err] Not compatible with your version of node/npm: json-rpc2@1.0.2  
2021-12-25T21:02:35.455Z [err] npm  
2021-12-25T21:02:35.455Z [err] ERR! notsup Required: {"node":"0.10.x || 0.12.x"}  
2021-12-25T21:02:35.455Z [err] npm ERR! notsup Actual: {"npm":"8.3.0","node":"v17.3.0"}  
2021-12-25T21:02:35.456Z [err]

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [25 December 2021 22:56 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/23 "2021-12-25T22:56:34Z")

</div>

I do not believe this error has nothing to do with contrib-whin, as json-rpc2@1.0.2 is not a dependency of this package.

You can check it yourself: [node-red-contrib-whin - npm](https://www.npmjs.com/package/node-red-contrib-whin)

You should explore which of the nodes you've installed is calling it.

---

<div class="post-metadata">

**Author:** ![rha10](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rha10](https://discourse.nodered.org/u/rha10)\
**Post date:** [26 December 2021 05:22 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/24 "2021-12-26T05:22:13Z")

</div>

@alsak0de @lu4t Okay, its working now as it should and I'm getting the message on my phone.  
In the Config list I had 2 whin nodes configured, yours and one I configured.  
I removed both, deleted the flow and started again.  
In the edit whin node I did not configure another auth property as I did before and I just changed your auth whin with my telephone and token.  
Now I get the message on my phone WhatsApp.

 ![WeChat Image_20211226131631](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/2/12895bde3dd9e4b9f4db5a487ac9da933bb2f91e.jpeg)  
Thanks for your help and patience.

Are there any plans to make the messaging 2 way? it would be great to be able to send messages from my phone to my server.

---

<div class="post-metadata">

**Author:** ![dougle03](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dougle03/32/32979_2.png) [@dougle03](https://discourse.nodered.org/u/dougle03)\
**Post date:** [26 December 2021 10:50 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/25 "2021-12-26T10:50:48Z")

</div>

Cracking node, all works fine for me. UK based with a UK phone number.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/5/b5b865ed92e32ac047c5f1c72d8850702dd4ffc0.png)

---

<div class="post-metadata">

**Author:** ![alsak0de](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alsak0de/32/52600_2.png) [@alsak0de](https://discourse.nodered.org/u/alsak0de)\
**Post date:** [26 December 2021 17:29 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/26 "2021-12-26T17:29:22Z")

</div>

Good to hear you're up and running!!  
That's an interesting request. The thing is, receiving in your NR, is limited by your network (ip+port) listening capabilities. We're working on a workaround for something similar... will be announcing shortly.

---

<div class="post-metadata">

**Author:** ![alsak0de](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alsak0de/32/52600_2.png) [@alsak0de](https://discourse.nodered.org/u/alsak0de)\
**Post date:** [26 December 2021 17:30 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/27 "2021-12-26T17:30:04Z")

</div>

Excellent! Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![alsak0de](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alsak0de/32/52600_2.png) [@alsak0de](https://discourse.nodered.org/u/alsak0de)\
**Post date:** [12 January 2022 01:49 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/28 "2022-01-12T01:49:51Z")

</div>

Please update to 0.1.7 and you'll get your 2 way messaging feature request working!  
Pls provide feedback.

---

<div class="post-metadata">

**Author:** ![rha10](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rha10](https://discourse.nodered.org/u/rha10)\
**Post date:** [12 January 2022 05:53 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/29 "2022-01-12T05:53:34Z")

</div>

@alsak0de not sure how this works as there are no details at the moment.  
I have updated whin.  
Rebooted node-red.  
Updated the whin-send node - still works okay  
Added a whin-receive node using the SAME credentials and a debug node.  
Sent a message from my phone WhatsApp - nothing received by the server.  
Not sure what the whin-confirm node is for.  
Maybe you can give a sample flow or some instructions.  
Thanks..

---

<div class="post-metadata">

**Author:** ![alsak0de](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alsak0de/32/52600_2.png) [@alsak0de](https://discourse.nodered.org/u/alsak0de)\
**Post date:** [12 January 2022 18:24 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/30 "2022-01-12T18:24:09Z")

</div>

Hi.. our friend lu4t recorded a video that shows how to use the nodes:

![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/7/4719b2948439276a9a6c96effccfbe3f3dc0474a.gif)

---

<div class="post-metadata">

**Author:** ![rha10](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rha10](https://discourse.nodered.org/u/rha10)\
**Post date:** [13 January 2022 03:00 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/31 "2022-01-13T03:00:50Z")

</div>

@alsak0de @lu4t  
My whin-receive node does not have the green square and "Listening to whatsapp" underneath.  
When I inject into whin-confirm is does not say "awaiting response".  
The whin-send node is working perfectly.

---

<div class="post-metadata">

**Author:** ![alsak0de](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alsak0de/32/52600_2.png) [@alsak0de](https://discourse.nodered.org/u/alsak0de)\
**Post date:** [13 January 2022 08:38 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/32 "2022-01-13T08:38:19Z")

</div>

pls ensure your version is up2date. 0.1.7 or 0.1.8  
you can see the version on the palette

---

<div class="post-metadata">

**Author:** ![rha10](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rha10](https://discourse.nodered.org/u/rha10)\
**Post date:** [13 January 2022 08:54 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/33 "2022-01-13T08:54:56Z")

</div>

Version was 0.1.7  
Now updating to 0.1.8

---

<div class="post-metadata">

**Author:** ![rha10](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rha10](https://discourse.nodered.org/u/rha10)\
**Post date:** [13 January 2022 09:02 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/34 "2022-01-13T09:02:06Z")

</div>

whin-receive is still not showing "Listening to whatsapp"

---

<div class="post-metadata">

**Author:** ![rha10](https://avatars.discourse-cdn.com/v4/letter/r/df788c/32.png) [@rha10](https://discourse.nodered.org/u/rha10)\
**Post date:** [13 January 2022 09:03 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/35 "2022-01-13T09:03:26Z")

</div>

@alsak0de  
I'm running Telegram at the same time. Could that be the problem?

I am now getting "Unauthorized incoming call from undefined" on the Telegram nodes

---

<div class="post-metadata">

**Author:** ![MAK](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MAK](https://discourse.nodered.org/u/MAK)\
**Post date:** [13 January 2022 10:41 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/36 "2022-01-13T10:41:52Z")

</div>

I'm concerned to receive messages on my server, because this is a potential access vector - see log4j as an example.

Is there the possibility to configure the node as outgoing only - that is I can send whatsapp but not receive messages. Keeping my server unreachable from the outside?

---

<div class="post-metadata">

**Author:** ![alsak0de](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alsak0de/32/52600_2.png) [@alsak0de](https://discourse.nodered.org/u/alsak0de)\
**Post date:** [13 January 2022 13:12 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/37 "2022-01-13T13:12:44Z")

</div>

@MAK Sure. Just dont use whin-receive, use only whin-send node.  
And.. btw, whin does not push data into your server. The node would pull it.

---

<div class="post-metadata">

**Author:** ![alsak0de](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/alsak0de/32/52600_2.png) [@alsak0de](https://discourse.nodered.org/u/alsak0de)\
**Post date:** [13 January 2022 13:16 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/38 "2022-01-13T13:16:45Z")

</div>

@rha10 no; this ain't related to Telegram in any way.  
whin-receive will pull messages opening a connection to our backend through port 30883  
Check if port is allowed (outbound) through your VPN.

---

<div class="post-metadata">

**Author:** ![MAK](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MAK](https://discourse.nodered.org/u/MAK)\
**Post date:** [13 January 2022 20:54 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/39 "2022-01-13T20:54:44Z")

</div>

> [@alsak0de](#):
>
> Sure. Just dont use whin-receive, use only whin-send node

Great, will do that.

> [@alsak0de](#):
>
> whin does not push data into your server. The node would pull it.

Right, but I have no control who is sending me messages (the attacker only needs to guess my phone number). So if someone is sending an malicious message, the receive node will pull it. As we have learned from the log4j example, that could be enough to break into my server. Anyway, I only need "send", so this is perfect.

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [13 January 2022 21:42 UTC](https://discourse.nodered.org/t/whatsapp-notifications-node/55534/40 "2022-01-13T21:42:00Z")

</div>

> [@MAK](#):
>
> Right, but I have no control who is sending me messages (the attacker only needs to guess my phone number). So if someone is sending an malicious message, the receive node will pull it. As we have learned from the log4j example, that could be enough to break into my server. Anyway, I only need "send", so this is perfect.

Hi @MAK,  
while it's perfectly fine to use just the sender node, I think you did not understand the receiver one completely. To be clear: the only one who can send a whatsapp to your local node is you. If someone sends you a whatsapp, you won't get it on the node-red whatsapp listener - unless you forward the message to node-red 😄 -.

In other words, these nodes are a point to point channel between **your** whatsapp account and **your** Node-red environment.

I hope this helps.

[Previous page](https://discourse.nodered.org/t/whatsapp-notifications-node/55534.md?page=1)

[Next page](https://discourse.nodered.org/t/whatsapp-notifications-node/55534.md?page=3)
