# Can't list flows with Homey.flow.getFlows()

**URL:** <https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461>\
**Category:** Developers\
**Tags:** homey-pro\
**Created:** [March 17, 2024, 8:28am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461 "2024-03-17T08:28:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![PacAnimal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pacanimal/32/95001_2.png) [@PacAnimal](https://community.homey.app/u/PacAnimal)\
**Post date:** [March 17, 2024, 8:28am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/1 "2024-03-17T08:28:10Z")

</div>

Why can’t I do this? My flows work fine when I use the app or the regular user webpage, but I can’t use this to find them, apparently.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/4/840eeb8650dcc25b77401ac06a53105e2d5ee9b5.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [March 17, 2024, 8:43am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/2 "2024-03-17T08:43:27Z")

</div>

`getFlows()` only retrieves standard flows, for advanced flows use [`getAdvancedFlows()`](https://athombv.github.io/node-homey-api/HomeyAPIV2.ManagerFlow.html#getAdvancedFlows)

---

<div class="post-metadata">

**Author:** ![PacAnimal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pacanimal/32/95001_2.png) [@PacAnimal](https://community.homey.app/u/PacAnimal)\
**Post date:** [March 17, 2024, 9:14am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/3 "2024-03-17T09:14:13Z")

</div>

That got me 41 😃  
Thanks!

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/c/cce6b63ca50d8d3444b4e59e353199b2e552ee7c.png)

---

<div class="post-metadata">

**Author:** ![PacAnimal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pacanimal/32/95001_2.png) [@PacAnimal](https://community.homey.app/u/PacAnimal)\
**Post date:** [March 17, 2024, 9:20am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/4 "2024-03-17T09:20:32Z")

</div>

@robertklep Do you happen to have an idea of how to get the trigger counts of these?  
My Homey CPU regularly goes to 30%, and I’m trying to find out why, as I’m assuming those could actually be spikes that are even higher. None of the app CPU usages claim responsibility.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/957e4893d2aa545949342fc48b9bcedbd024fb4b.png)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [March 17, 2024, 9:26am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/5 "2024-03-17T09:26:53Z")

</div>

I don’t think Homey keeps track of how often a flow gets triggered (at least not in a way that makes it readable through the Web API).

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 17, 2024, 12:09pm UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/6 "2024-03-17T12:09:16Z")

</div>

Well, @ web app, you can ‘hover’ a flowname to see the trigger counter next to the flow name.  
No clue where that’s value is stored though, but it should be somewhere ™

---

<div class="post-metadata">

**Author:** ![PacAnimal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pacanimal/32/95001_2.png) [@PacAnimal](https://community.homey.app/u/PacAnimal)\
**Post date:** [March 28, 2024, 12:05am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/7 "2024-03-28T00:05:32Z")

</div>

Mine doesn’t do that, at least not for advanced flows, which is all I use.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [March 28, 2024, 12:52am UTC](https://community.homey.app/t/cant-list-flows-with-homey-flow-getflows/106461/8 "2024-03-28T00:52:54Z")

</div>

Yes it’s only available with adv. flow.  
But I’ve noticed it’s not present at each flow, but it is for most flows @ my Homeys…
