Node red works by passing messages between nodes. These message are contained in the message object. It is important to understand The msg object if you want to work with node-red.