# \[APP\]\[Pro\] Flow Checker

**URL:** <https://community.homey.app/t/app-pro-flow-checker/50986>\
**Category:** Apps\
**Tags:** app, tools, flow, homey-pro\
**Created:** [August 30, 2021, 10:15pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986 "2021-08-30T22:15:25Z")\
**Posts on this page:** 1\
**Showing post:** 349

<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 16, 2022, 12:21pm UTC](https://community.homey.app/t/app-pro-flow-checker/50986/349 "2022-03-16T12:21:23Z")

</div>

Dunno if you have the scripts alr?  
Developer ‘playground’:

> [@Developer Web API Playground - Notes of geeky oneliners](https://community.homey.app/t/developer-web-api-playground-notes-of-geeky-oneliners/24392/1):
>
> ```auto
> // Get Trigger counts for Flows
> Homey.flow.getFlows().then(f => Object.values(f).reduce((r,b)=>Object.assign(r, {[b.name]:b.triggerCount}), {}));
> 
> ```

Hscript:

```auto
// Get Trigger counts for Flows

let myFlowsArr = await Homey.flow.getFlows().then(f => Object.values(f).reduce((r,b)=>Object.assign(r, {[b.name]:b.triggerCount}), {}));

let myFlows = JSON.stringify(myFlowsArr);
console.log ('All flow triggers:' , myFlowsArr); 

// Create / Update Hscript variable 
await tag("FlowTriggers", myFlows);

// // Timeline notification:
// Homey.flow.runFlowCardAction({
// uri: 'homey:manager:notifications',
// id: 'create_notification',
// args: {
// text: 'All flow triggers: ' + myFlows + ' - Direct from script: GetTriggerCountOfFlows.js '
// }
// });

```

---

_[View the full topic](https://community.homey.app/t/app-pro-flow-checker/50986)._
