Modifying message properties using a change node

You can modify message properties:

  1. Open Node-RED.
  2. Add a change node from the function category to the workspace.
  3. Double-click the change node to open the Edit node dialogue.
  4. Add empty rules by clicking + add.
  5. Configure the rules by selecting a rule type from the respective drop-down list and defining the rule as necessary.
  6. Click Done to apply your changes.
  7. Connect the input of the change node to the node that outputs the message you want to modify.