Hopefully this will help. Below is the subflow I created to handle the scenes.
[{"id":"8bbb84eb.bdfcd8","type":"subflow","name":"Inovelli Scenes","info":"","category":"","in":[{"x":120,"y":220,"wires":[{"id":"b730e51e.fbb038"}]}],"out":[{"x":620,"y":60,"wires":[{"id":"d8379d0.d18406","port":0}]},{"x":620,"y":100,"wires":[{"id":"d8379d0.d18406","port":1}]},{"x":620,"y":140,"wires":[{"id":"d8379d0.d18406","port":2}]},{"x":620,"y":180,"wires":[{"id":"d8379d0.d18406","port":3}]},{"x":620,"y":240,"wires":[{"id":"efedc958.a57f78","port":0}]},{"x":620,"y":280,"wires":[{"id":"efedc958.a57f78","port":1}]},{"x":620,"y":320,"wires":[{"id":"efedc958.a57f78","port":2}]},{"x":620,"y":360,"wires":[{"id":"efedc958.a57f78","port":3}]}],"outputLabels":["Double tap down","Triple tap down","Quad tap down","5 taps down","Double tap up","Triple tap up","Quad Tap up","5 taps up"]},{"id":"b730e51e.fbb038","type":"switch","z":"8bbb84eb.bdfcd8","name":"Scene ID","property":"payload.event.scene_id","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"str"},{"t":"eq","v":"2","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":260,"y":220,"wires":[["d8379d0.d18406"],["efedc958.a57f78"]]},{"id":"d8379d0.d18406","type":"switch","z":"8bbb84eb.bdfcd8","name":"Scene Data","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"3","vt":"str"},{"t":"eq","v":"4","vt":"str"},{"t":"eq","v":"5","vt":"str"},{"t":"eq","v":"6","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":430,"y":180,"wires":[[],[],[],[]],"outputLabels":["Double Tap Down","Triple Tap Down","Quad Tap Down","5 Tap Down"]},{"id":"efedc958.a57f78","type":"switch","z":"8bbb84eb.bdfcd8","name":"Scene Data","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"3","vt":"str"},{"t":"eq","v":"4","vt":"str"},{"t":"eq","v":"5","vt":"str"},{"t":"eq","v":"6","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":430,"y":260,"wires":[[],[],[],[]],"outputLabels":["Double Tap Up","Triple Tap Up","Quad Tap Up","5 Tap Up"]}]
Below is what it would look like used in an actual flow (minus the connections to the service call I’m using). Basically you filter all events by zwave scene activated, route the message using a switch to determine which zwave node it’s on, place the subfunction after that, which you can then select what you want it to do on the outputs. Hopefully this helps. I’m not that great with NR and I’m sure there’s probably a better way to do this.
[{"id":"8bbb84eb.bdfcd8","type":"subflow","name":"Inovelli Scenes","info":"","category":"","in":[{"x":120,"y":220,"wires":[{"id":"b730e51e.fbb038"}]}],"out":[{"x":620,"y":60,"wires":[{"id":"d8379d0.d18406","port":0}]},{"x":620,"y":100,"wires":[{"id":"d8379d0.d18406","port":1}]},{"x":620,"y":140,"wires":[{"id":"d8379d0.d18406","port":2}]},{"x":620,"y":180,"wires":[{"id":"d8379d0.d18406","port":3}]},{"x":620,"y":240,"wires":[{"id":"efedc958.a57f78","port":0}]},{"x":620,"y":280,"wires":[{"id":"efedc958.a57f78","port":1}]},{"x":620,"y":320,"wires":[{"id":"efedc958.a57f78","port":2}]},{"x":620,"y":360,"wires":[{"id":"efedc958.a57f78","port":3}]}],"outputLabels":["Double tap down","Triple tap down","Quad tap down","5 taps down","Double tap up","Triple tap up","Quad Tap up","5 taps up"]},{"id":"b730e51e.fbb038","type":"switch","z":"8bbb84eb.bdfcd8","name":"Scene ID","property":"payload.event.scene_id","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"str"},{"t":"eq","v":"2","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":260,"y":220,"wires":[["d8379d0.d18406"],["efedc958.a57f78"]]},{"id":"d8379d0.d18406","type":"switch","z":"8bbb84eb.bdfcd8","name":"Scene Data","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"3","vt":"str"},{"t":"eq","v":"4","vt":"str"},{"t":"eq","v":"5","vt":"str"},{"t":"eq","v":"6","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":430,"y":180,"wires":[[],[],[],[]],"outputLabels":["Double Tap Down","Triple Tap Down","Quad Tap Down","5 Tap Down"]},{"id":"efedc958.a57f78","type":"switch","z":"8bbb84eb.bdfcd8","name":"Scene Data","property":"payload.event.scene_data","propertyType":"msg","rules":[{"t":"eq","v":"3","vt":"str"},{"t":"eq","v":"4","vt":"str"},{"t":"eq","v":"5","vt":"str"},{"t":"eq","v":"6","vt":"str"}],"checkall":"true","repair":false,"outputs":4,"x":430,"y":260,"wires":[[],[],[],[]],"outputLabels":["Double Tap Up","Triple Tap Up","Quad Tap Up","5 Tap Up"]},{"id":"5576c9d2.cd5438","type":"server-events","z":"f0044e54.7da15","name":"ZWave Scenes","server":"e3954b3c.8ebdc8","event_type":"zwave.scene_activated","x":80,"y":620,"wires":[["2a232a42.02b606"]]},{"id":"2a232a42.02b606","type":"switch","z":"f0044e54.7da15","name":"What Switch","property":"payload.event.node_id","propertyType":"msg","rules":[{"t":"eq","v":"6","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":250,"y":620,"wires":[["34d38d52.497e02"]],"outputLabels":["Ericas Switch"]},{"id":"34d38d52.497e02","type":"subflow:8bbb84eb.bdfcd8","z":"f0044e54.7da15","name":"","x":440,"y":580,"wires":[["b60f11ec.bf857","f3d6da9.9723728"],["b60f11ec.bf857"],[],[],["332fcddb.1588c2","9f4279a6.a33dd8"],["332fcddb.1588c2"],[],[]]},{"id":"e3954b3c.8ebdc8","type":"server","z":"","name":"Home Assistant","legacy":false,"hassio":true,"rejectUnauthorizedCerts":true}]