Easy flow but difficult for me

There are boolean nodes (search the node red flows site) but if the values are coming in on different paths then you may need to use a Join node to get them into one message. See this post in the cookbooks. Also worth looking through the cookbook to see what is there. Also all the node red docs of course. You can use a Trigger node with a bit of extra logic to do the 15 min bit, have a look at this post earlier today for how to do it for a slightly simpler case. See what you can get going and then come back if still stuck.