Trigger Flow, when a variable value changes.
under review
S
Saurabh Tyagi
It would be great if we can trigger a "Flow" when the Variable value changes. It will surely help in so many cases.
For example, when the variable value changes to 'Rain', Amazon Echo will announce that there is rain outside, don't forget to take your umbrella or bring your clothes inside etc.
C
Christian
marked this post as
under review
Hi Saurabh Tyagi
Thanks for your suggestion!
Can you expand on why this might be useful?
Taking your example, why would you not just make a separate announcement that it is raining instead of relying on the variable changing?
Just keen to understand the use case. Thank you again!
S
Saurabh Tyagi
Christian: There are several use cases in which we would like to automatically trigger a flow when a variable's value changes.
Example 1:
When the variable's value is "Saurabh", a specific flow gets triggered. This flow activates when I come home.
Conversely, when the value is "Lucy", another flow is triggered. This happens when my wife comes home.
So, when I arrive home, the variable updates to 'Saurabh', and the flow designed for my needs activates automatically. Similarly, when my wife comes home, the variable changes to 'Lucy', triggering her designated flow.
Example 2:
We have a variable named "Weather." This variable updates based on data from a weather API, taking values like "Sunny", "Rainy", "Cloudy", and so on.
If the variable's value is "Rainy", a flow gets triggered, resulting in an announcement on our Echo device: "Please bring your clothes inside; it's going to rain."
If the value is "Sunny", another flow activates, playing music on our Echo.
In essence, the flow is automatically triggered as soon as the variable's value changes and a set condition is met.
I believe there are many other use cases where automatically activating a flow based on variable changes will prove beneficial.