Hello @Johrdan, welcome to Node-red.
Here is a little flow to show how you can trigger an alert if the input stops arriving.
If you keep clicking the button all is fine, but when you stop it shows a warning message.
[{"id":"c855f06d63e66941","type":"trigger","z":"947cea7bd1d96252","name":"","op1":"","op2":"You stopped clicking","op1type":"nul","op2type":"str","duration":"5","extend":true,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":340,"y":100,"wires":[["be60c652792e9de8"]]},{"id":"be60c652792e9de8","type":"ui_toast","z":"947cea7bd1d96252","position":"dialog","displayTime":"3","highlight":"","sendall":true,"outputs":1,"ok":"OK","cancel":"","raw":false,"className":"","topic":"","name":"Warning Popup","x":520,"y":100,"wires":[[]]},{"id":"dc8c6df00dc33355","type":"ui_button","z":"947cea7bd1d96252","name":"","group":"a6e358b.672ffa8","order":2,"width":"0","height":"0","passthru":false,"label":"Don't Stop Clicking","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"","payloadType":"date","topic":"topic","topicType":"msg","x":150,"y":100,"wires":[["c855f06d63e66941"]]},{"id":"a6e358b.672ffa8","type":"ui_group","name":"Demo","tab":"4e528085.a1bfa","order":6,"disp":false,"width":"6","collapse":false,"className":"compact"},{"id":"4e528085.a1bfa","type":"ui_tab","name":"Demo","icon":"dashboard","order":2,"disabled":false,"hidden":false}]