Create countdown based on dialogue entry to trigger action
Posted: 18 Jan 2020 21:26
Hi,
I have following scenario i would like to solve but am stuck:
I have a smart plug in my home which i can control (on/off) via HTTP requests. I want to create a flow where when i execute it via a shortcut from my home screen i get an input dialogue asking me for the amount of time to use for a countdown (i.e.: 5h39m30s, or 600m , etc) then once i have given the time the countdown/timer should start somewhere in the background. Once the set countdown has elapsed it shall trigger the last action in the flow which is a HTTP POST request.
The HTTP Post request works fine however i am stuck in finding out how i could setup the input dialogue and the countdown based on above description.
Any help or guidance would be appreciated.
KR
I have following scenario i would like to solve but am stuck:
I have a smart plug in my home which i can control (on/off) via HTTP requests. I want to create a flow where when i execute it via a shortcut from my home screen i get an input dialogue asking me for the amount of time to use for a countdown (i.e.: 5h39m30s, or 600m , etc) then once i have given the time the countdown/timer should start somewhere in the background. Once the set countdown has elapsed it shall trigger the last action in the flow which is a HTTP POST request.
The HTTP Post request works fine however i am stuck in finding out how i could setup the input dialogue and the countdown based on above description.
Any help or guidance would be appreciated.
KR