# Start flow when load tab

**URL:** <https://discourse.nodered.org/t/start-flow-when-load-tab/40843>\
**Category:** Dashboard\
**Created:** [12 February 2021 00:32 UTC](https://discourse.nodered.org/t/start-flow-when-load-tab/40843 "2021-02-12T00:32:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![geppoleppo](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@geppoleppo](https://discourse.nodered.org/u/geppoleppo)\
**Post date:** [12 February 2021 00:32 UTC](https://discourse.nodered.org/t/start-flow-when-load-tab/40843/1 "2021-02-12T00:32:48Z")

</div>

Hello everyone.  
I have recently started working with node-red so my question may be trivial.  
I would like to start a flow when I load a dashboard tab but I can't figure out how to do it.  
Thank you

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [12 February 2021 00:52 UTC](https://discourse.nodered.org/t/start-flow-when-load-tab/40843/2 "2021-02-12T00:52:56Z")

</div>

You usually don't do that.

You "write the code" (arrange the nodes) and `DEPLOY`. All is done.

You then open the GUI window and it is there.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [12 February 2021 00:58 UTC](https://discourse.nodered.org/t/start-flow-when-load-tab/40843/3 "2021-02-12T00:58:05Z")

</div>

Hi @geppoleppo , welcome to the forum

If you mean you'd like to trigger a flow whenever you change tabs in your Node-RED Dashboard, then you can use the `ui_control` node to do that.

I can't rememeber the full details, but wire one to a debug node and see what you get.

---

<div class="post-metadata">

**Author:** ![geppoleppo](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@geppoleppo](https://discourse.nodered.org/u/geppoleppo)\
**Post date:** [12 February 2021 01:28 UTC](https://discourse.nodered.org/t/start-flow-when-load-tab/40843/4 "2021-02-12T01:28:58Z")

</div>

WOW, great!  
Thanks so much!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 March 2021 01:29 UTC](https://discourse.nodered.org/t/start-flow-when-load-tab/40843/5 "2021-03-14T01:29:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
