Skip to content

Day, Night split action

The purpose of this plugin is to split the workflow depending on day or night of its execution.

It will check if the event happened at day or night. Then it will route the workflow to the appropriate output port.

This action minds the location of the event. Therefore, you must provide latitude and longitude in configuration.


This node requires configuration. In order to read longitude or latitude you must define path to its data. Use dot notation to do that.


  "latitude": "payload@location.latitude",
  "longitude": "payload@location.longitude"

Input payload

This node does not process input payload.


This node has two output nodes. One for DAY route and one for NIGHT node. The DAY one is active when event happened at day. The NIGHT node is active when it is night.

Active output ports will return input payload.