# \[QUESTION\] Making a set of flows that trigger other flows quicker?

**URL:** <https://community.homey.app/t/question-making-a-set-of-flows-that-trigger-other-flows-quicker/61593>\
**Category:** Questions & Help\
**Tags:** homeyscript, flow\
**Created:** [March 11, 2022, 9:54pm UTC](https://community.homey.app/t/question-making-a-set-of-flows-that-trigger-other-flows-quicker/61593 "2022-03-11T21:54:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![dzt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dzt/32/50239_2.png) [@dzt](https://community.homey.app/u/dzt)\
**Post date:** [March 12, 2022, 8:16pm UTC](https://community.homey.app/t/question-making-a-set-of-flows-that-trigger-other-flows-quicker/61593/5 "2022-03-12T20:16:50Z")

</div>

Update - Case study

_ **Intro** _  
I’ve run a test to see what happens with a set of 6 flows, that run the adjacent flow.

_ **Test method** _

 ![SmartSelect_20220312-205111_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e7a9ed7d2ed5f4516776ce5a30cca318006a270c.jpeg)

The flow 1a starts 6 stopwatches, _Test1, Test2,… Test6_. Each flow stops its respective stopwatch (i.e. Flow 3a stops stopwatch Test3.)

 ![SmartSelect_20220312-205720_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/8/e87472db0a2f94aae4e2ad8f3b8ee4101658155e.jpeg)

Flow 1a starts stopwatches, starting with Test1, and pausing the Test1 stopwatch in the end to see how long it takes to run all tasks in the forst flow.

_ **Results** _  
The total amount of run time for the whole set was around 2.50s (Test6). This was a recurring result (see pictures).

Furthermore, each flow seems to take around exactly 0.50s except the first flow 1a. Reason is probably that it only measured tasks in THEN, without WHEN and AND.

_Edit: Even running all flows from the first one, doesn’t seem to change the measured elapsed time for executing a single flow (see next post)._

Adding AND criteria, as well as additional THEN tasks does not seem to increase the time. However, this probably isn’t the case scince my original set of flows only has 4 flows and total time was around 3+ seconds.

 ![Screenshot_20220312-202834_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/a/3ad07f2a55e989292749e67cfe3212ec9e8f0e50.jpeg)  
 ![Screenshot_20220312-202644_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/0179564252f350f651be27b2fc3285fdffbbf165.jpeg)  
 ![Screenshot_20220312-202554_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/87e5103adbd4f23a7476c74c1b96140214711b5d.jpeg)

_ **Conclusion** _  
If you want to run an instant respond automation, doing so with a set of flows that reference to each other may not be the quickest method to accomplish that.

_ **Side note** _  
This would perhaps be better to do in HomeyScript. I will test this in HOOP app once I install it.  
Another fun test would be to see how increasing the number of the same triggers effect the time needed to start, and execute the flows.

---

_[View the full topic](https://community.homey.app/t/question-making-a-set-of-flows-that-trigger-other-flows-quicker/61593)._
