Message Properties

Hello community,

I have been working on a project of a my friend. There are several occurings of msg.from and msg.to, but I cannot find it when logging the msg(Json-object). The msg has only been changed/created by a http request. Are those properties linked to the IPs?

Is there a complete list of properties of msg?

Thanks and many regards
Rumei M.

PS: It's my first post on this forum, so if there is any formal mistakes, don't hesitate to tell me :slight_smile:

Hi @Rumei

In a nutshell - no - the msg is what it is & it completely depends what you or a node adds to the message.

If you use a debug node set to show complete message - to see what is in a message.

There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.

https://nodered.org/docs/user-guide/messages

Thank you for the quick reply. After seeing your message I have gone through the whole project again and found where the above mentioned properties are set.

1 Like

For future reference, if the properties were added by a Change or Function node or by something else explicit in your flows then you could have used the Search feature (Ctrl+F) and searched for from to find it. That would not work if they were added by a node such as the email node for example.

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