# Function node sends multiple messages instead of one

**URL:** <https://discourse.nodered.org/t/function-node-sends-multiple-messages-instead-of-one/83843>\
**Category:** General\
**Tags:** function-node\
**Created:** [20 December 2023 00:24 UTC](https://discourse.nodered.org/t/function-node-sends-multiple-messages-instead-of-one/83843 "2023-12-20T00:24:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ChrisG](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@ChrisG](https://discourse.nodered.org/u/ChrisG)\
**Post date:** [20 December 2023 07:17 UTC](https://discourse.nodered.org/t/function-node-sends-multiple-messages-instead-of-one/83843/4 "2023-12-20T07:17:01Z")

</div>

Thanks Guys,

UnborN, you are right re the function node reacting to every message, but I was hoping the trigger sending one message per minute would mean the function node would do one message per minute.

I'll look more at the context you mentioned.

jbudd, you are right, with the inject node name being what shows, but the node was also configured to 1 minute.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e3d3ef9ed9849898b33e90a53ef615e4fd98a395.png)  
the msg-speed is a node that just counts the rate of messages being received. This is what it looks like after running all night:-  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/9/a96efdaad62e78af439900f41a1973f0f2c2a623.png)  
60/hour indicates it's receiving 1 per minute.

I'll re-jig the flow and post shortly.

thanks

---

_[View the full topic](https://discourse.nodered.org/t/function-node-sends-multiple-messages-instead-of-one/83843)._
