Node-Red multiple sensor states into a notify call, need advice

I’m a noob to Node-Red, but trying to implement a notify flow that sends me weather updates. I’ve managed to cobble together a flow that works but I wonder if this is the best way to go about it?

Here’s what I’m trying to achieve.

  1. When Dark Sky changes to rain icon or Dark Sky precipitation intensity >40%.
  2. Is it first thing in the morning?
  3. Is it a workday?
  4. If so, then send a notification to my phone saying it’s going to rain, but include some additional info, like wind speed and precipitation intensity value.

Is stringing together each ‘current state’ node a good idea? Or at the point before the ‘function’ node, can I grab the state of the Dark Sky wind speed and precipitation intensity sensors and then pipe those in?

Here’s the full export from Node-Red: https://pastebin.com/8XAxPJ9f

I’ve realised that I needed to use a ‘join’ node to combine two separate node’s into one message. Which is then piped into the change node.

Here’s the updated flow which makes a bit more logical sense to me. I’m still interested if anyone can offer ways of improving further?