# Two Triggers If this or that happened then do this

**URL:** <https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723>\
**Category:** Flows\
**Tags:** flow\
**Created:** [April 4, 2021, 12:45pm UTC](https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723 "2021-04-04T12:45:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RuneTun](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runetun/32/17017_2.png) [@RuneTun](https://community.homey.app/u/RuneTun)\
**Post date:** [April 4, 2021, 12:45pm UTC](https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723/1 "2021-04-04T12:45:43Z")

</div>

Hi,  
I want one of two triggers to start a flow. Like: When alarm is set to armed or when a alarm is set to partial armed then do this -  
I have read in a post that, Triggers are one off, ie. When sunsets - When a light is turned on, - When you come home, etc.  
So it sound like it’s not possible - Anyone with a work around besides two flows? I’m in the process of cleaning up my flows. There are so many it gets confusing at times.

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [April 4, 2021, 12:53pm UTC](https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723/2 "2021-04-04T12:53:33Z")

</div>

Just make two of the same flows with the different triggers at the WHEN part. You could add at the THEN part as first action card disable the other flow and enable that flow after e.g a minute

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [April 4, 2021, 6:45pm UTC](https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723/3 "2021-04-04T18:45:58Z")

</div>

I like the way Athom chose to have just one trigger for a flow. It prevent the flows to become complex.

It just requires a little bit of different thinking:  
Not: I want to trigger a flow when this or that happens  
But: When this happens I want to trigger a flow, when that happens I want to trigger the flow.

I wrote a post about [how I use to structure my flows](https://community.homey.app/t/how-to-structure-your-flows/25109), maybe it helps (since you are cleaning up your flows anyway…)

---

<div class="post-metadata">

**Author:** ![RuneTun](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/runetun/32/17017_2.png) [@RuneTun](https://community.homey.app/u/RuneTun)\
**Post date:** [April 4, 2021, 9:50pm UTC](https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723/4 "2021-04-04T21:50:13Z")

</div>

Nice. My german is not that good but i get the idea. Thanks for the heads up. I kinda like the one flow does all idea using variables to change things. but if that’s not homey then this is a good way of doing things.

---

<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:** [April 4, 2021, 11:28pm UTC](https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723/5 "2021-04-04T23:28:07Z")

</div>

With a new app, H.O.O.P., you can escape from Homey’s flow restrictions.  
Like if-or-or to start with.  
If-then  
If or if or if or if, then  
Else  
Else-if  
Etc.  
App:   
[Homey Community Store](https://store.homey.community/search?q=H.o.o.p.&t=1617578619901)  
Forum, introduction and examples:  
[H.O.O.P. (Hope) - Flow Director](https://community.homey.app/t/h-o-o-p-hope-flow-director/43970/)

---

<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:** [June 25, 2021, 1:42pm UTC](https://community.homey.app/t/two-triggers-if-this-or-that-happened-then-do-this/45723/7 "2021-06-25T13:42:40Z")

</div>

This is also a neat app which can start a flow with multiple triggers, but it works with time, time events and sun events.  
Example:  
Whichever comes first, the sun rise or the time is 8:00AM, then do X…

> [@\[App\]\[Pro\] Advanced Scheduler](https://community.homey.app/t/app-advanced-scheduler/43767):
>
> An advanced scheduler for weekly and monthly (comming) schedules with fixed time or solar events (sunset, sunrise, dusk, dawn, midday and so on). Advanced features include: Random schedule event times. Example: trigger at random time between 21:00 and 22:30. Conditional triggering (only trigger schedule event if before or after certain time). Example: trigger at sunrise but only if before 06:00. First of/last of triggering (trigger the first or last of two trigger times). Example: Trigger fir…
