# Run a flow when ui called

**URL:** <https://discourse.nodered.org/t/run-a-flow-when-ui-called/17073>\
**Category:** Dashboard\
**Created:** [24 October 2019 07:20 UTC](https://discourse.nodered.org/t/run-a-flow-when-ui-called/17073 "2019-10-24T07:20:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laude](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@Laude](https://discourse.nodered.org/u/Laude)\
**Post date:** [24 October 2019 07:20 UTC](https://discourse.nodered.org/t/run-a-flow-when-ui-called/17073/1 "2019-10-24T07:20:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 October 2019 07:30 UTC](https://discourse.nodered.org/t/run-a-flow-when-ui-called/17073/2 "2019-10-24T07:30:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Laude](https://avatars.discourse-cdn.com/v4/letter/l/e8c25b/32.png) [@Laude](https://discourse.nodered.org/u/Laude)\
**Post date:** [24 October 2019 07:41 UTC](https://discourse.nodered.org/t/run-a-flow-when-ui-called/17073/3 "2019-10-24T07:41:30Z")

</div>

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