Attached are two walkthroughs for setting up Node-RED flows for both multiple levels of alerts based on an analog channel and a simple alert from a digital switch.
I built these flows for the SNAP-PAC Learning Center potentiometer and photo sensor switch set up through the Convenience Store example strategy, with Node-RED running on a groov-AR1, but these flows will work for any instance of Node-RED connected to any SNAP-PAC system!
Here is what the end results look like:
Simple digital alert:
Analog multi-level alert:
There is another post with guides on how to build these equivalents with Email nodes, if that is your preference.