You would acccess the info in the function node at
msg.payload.payload.payload.rest of path
But probably better to move the object. move msg.payload.payload.payload to msg.payload. or another variable.
so at beginning of function
let data = msg.payload.payload.payload;
In case I need to collect multiple values, how can I do to keep those values in different variables? Since using msg.payload will only collect one unique value. I mean, I want to keep all values from 0 to 99 for later insert them into a JSON structure.
@rpanda I think it would be worth your while spending an hour or so working right through the Node-red Essentials video guides that are linked from the node-red docs. That would save you a lot of time in the long run.