Generate messages with for Loops

Yes it is possible, but rather than calling 'return' which exits the current function, you would use node.send(msg).

https://nodered.org/docs/user-guide/writing-functions#sending-messages-asynchronously

2 Likes