# Send message from config node to other nodes?

**URL:** <https://discourse.nodered.org/t/send-message-from-config-node-to-other-nodes/80839>\
**Category:** Developing Nodes\
**Created:** [27 August 2023 12:00 UTC](https://discourse.nodered.org/t/send-message-from-config-node-to-other-nodes/80839 "2023-08-27T12:00:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FezVrasta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fezvrasta/32/2182_2.png) [@FezVrasta](https://discourse.nodered.org/u/FezVrasta)\
**Post date:** [27 August 2023 12:00 UTC](https://discourse.nodered.org/t/send-message-from-config-node-to-other-nodes/80839/1 "2023-08-27T12:00:16Z")

</div>

I have multiple config nodes that start a server and listen for events, I would like to forward these events to a different (non config) node that subscribes to the events of a specific config node.

I tried to use `node.send` and `node.emit` but none worked, I never receive the event on the other node (`node.addEventListener`, `node.on('input'`).

Could someone provide guidance please?

---

<div class="post-metadata">

**Author:** ![FezVrasta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fezvrasta/32/2182_2.png) [@FezVrasta](https://discourse.nodered.org/u/FezVrasta)\
**Post date:** [27 August 2023 12:03 UTC](https://discourse.nodered.org/t/send-message-from-config-node-to-other-nodes/80839/2 "2023-08-27T12:03:11Z")

</div>

Ah! Answering myself.

I have to use `RED.nodes.getNode` to retrieve the config node, and then attach `addListener` to it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [26 October 2023 12:03 UTC](https://discourse.nodered.org/t/send-message-from-config-node-to-other-nodes/80839/3 "2023-10-26T12:03:58Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
