You can use context to hold any value you want - so you can accumulate data in a context variable - see the doc Working with context : Node-RED.
You can use context to hold any value you want - so you can accumulate data in a context variable - see the doc Working with context : Node-RED.