# Flow triggered by Alexa

**URL:** <https://community.homey.app/t/flow-triggered-by-alexa/47568>\
**Category:** Questions & Help\
**Created:** [May 19, 2021, 7:44pm UTC](https://community.homey.app/t/flow-triggered-by-alexa/47568 "2021-05-19T19:44:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Pickles](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_pickles/32/34664_2.png) [@Chris\_Pickles](https://community.homey.app/u/Chris_Pickles)\
**Post date:** [May 19, 2021, 7:44pm UTC](https://community.homey.app/t/flow-triggered-by-alexa/47568/1 "2021-05-19T19:44:44Z")

</div>

Hi All.

I’ve set up a basic flow so that when my Fibaro motion sensor detects motion it turns our landing lights on for 30 seconds via a lightwave dimmer. This is to act as a night light for out little boy if he gets up in the night.

This works fine but it only needs to be activated when our boy is in bed so I created an Alexa routine to trigger the homey flow when we put him to bed however it only triggers the flow once. I would like the flow to **only** be active once the Alexa routine has been triggered and then to stay active until Dawn.

Is this achievable? I have everything working except the ability to only trigger the flow via the routine and keep it on until dawn.

Thanks

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [May 20, 2021, 1:50pm UTC](https://community.homey.app/t/flow-triggered-by-alexa/47568/2 "2021-05-20T13:50:11Z")

</div>

Maybe you can use the Activate-flow and Deactivate-flow functions.
