title: how to split multiple msg.payloads in a function node, node red
body: <p>I have an issue to figure out how to somehow in a httpin node (incoming multiple sensor payloads.) to split the different msg payloads into different flows to decode them.</p>
  
  <p>I have one sensor working fine, but when i add a sensor, different model it comes into the same flow of course on the httpin node.</p>
  
  <p>i need to switch, splite or code the flow into another flow so i can decode the value in the second flow.</p>
  
  <hr>
  
  <p>The incoming flow from http is: and you can see that its coming 2 sensor payloads on the same node</p>
  
  <p>Msg 1:</p>
  
  <pre><code>2018-06-28 07:48:02node: 247e95ef.12b1ca
  msg.payload : Object
  object
  DevEUI_uplink: object
  Time: "2018-06-28T07:48:03.349+02:00"
  DevEUI: "A81758FFFE03465E"
  FPort: "5"
  FCntUp: "1601"
  ADRbit: "1"
  MType: "2"
  FCntDn: "1118"
  payload_hex: "0100ed02330400d60501070df2"
  mic_hex: "9071659a"
  Lrcid: "00000201"
  LrrRSSI: "-98.000000"
  LrrSNR: "15.000000"
  SpFact: "12"
  SubBand: "G2"
  Channel: "LC8"
  DevLrrCnt: "5"
  Lrrid: "00000543"
  Late: "0"
  LrrLAT: "56.031479"
  LrrLON: "12.704159"
  Lrrs: object
  CustomerID: "100007213"
  CustomerData: object
  ModelCfg: "0"
  DevAddr: "E0155F2E"
  </code></pre>
  
  <p>Msg 2:</p>
  
  <pre><code>2018-06-28 07:48:45node: 247e95ef.12b1ca
  msg.payload : Object
  object
  DevEUI_uplink: object
  Time: "2018-06-28T07:48:46.963+02:00"
  DevEUI: "0018B20000001319"
  FPort: "1"
  FCntUp: "1"
  ADRbit: "1"
  MType: "4"
  FCntDn: "1"
  payload_hex: "8e1900000ecd"
  mic_hex: "5d7ba201"
  Lrcid: "00000201"
  LrrRSSI: "-99.000000"
  LrrSNR: "12.000000"
  SpFact: "12"
  SubBand: "G2"
  Channel: "LC4"
  DevLrrCnt: "7"
  Lrrid: "00000543"
  Late: "0"
  LrrLAT: "56.031479"
  LrrLON: "12.704159"
  Lrrs: object
  CustomerID: "100007213"
  CustomerData: object
  ModelCfg: "0"
  DevAddr: "E014801D"
  </code></pre>
  
  <p>My question is, how can i take the second flow initialy and send it to a second node red flow (split data)</p>
  
  <p><img src="https://i.stack.imgur.com/fwzXv.jpg" alt="enter image description here"></p>