Extract and separate payload data


Using an HTTP request, I want to get the 100 last messages of my sigfox device.
The problem is that the 100 messages are put one after the other in the msg.payload.
It looks like this :

So, I want to organise this data in the following way :

payload :
message 1 :
seqnumber :
data :
message 2 :
seqnumber :
data :
message n :
seqnumber :
data :
message 100 :
seqnumber :
data :

I have no idea how to obtain this result.

Someomne know how to do that ?

Best regards,


First things first, set the http request node to parse JSON to object


Then you can access any element you need.

Here is some canned text to help...

There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path to any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.


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