Run a flow when ui called

Hi,

I'd like to run a flow when someone open the ui dashboard ( so call the url : 127.0.0.1:1880/ui ).
Is it possible to catch the GET and then Start a flow ? I'am new to node-red and don't really understand the http nodes, on how they work.

Thanks

Just use a ui_control node. It produces several events, one of which is a connect event.

effectively its working like that also, I didn't know that. Thanks a lot for your help !!