Decisions & Control

There are several nodes that control the flow to implement logic. You can control the flow and its properties by using the nodes below.

Decision

  • delay : slows down the messages passing through a flow
    • by fixed delay
    • by random delay
    • by delay with 'msg.delay' value
  • trigger : send a message
    • after a defined time
    • when it be reset
    • at regular interval
  • switch : route a message based on a context value
  • split : split text into one message
    • per line
    • per specific delimiter
  • join : combine texts into a single block of text
    • automatically
    • using specific delimiter
  • change : Set a message property to a fixed value
  • range : Map a property between different numeric ranges

Refer to the node-red cookbook : https://cookbook.nodered.org/#flow-control