I would like to receive an alarm on my mobile phone when a certain type of email is received. It was easy to create a condition that triggers a mobile notification when the email arrives. However, my phone just emits a single beep. What if I don't notice?
I would like my phone to continue beeping until I have acknowledged the notification.
My solution to this was to create an Alarm.txt file in OneDrive and three flows:
1) When email meeting specified conditions arrives, update Alarm.txt file. Set the file content to the subject of the email message.
2) Using schedule recurrence every 5 minutes, get file content of Alarm.txt. If file content is not equal to AllGood, send a mobile notification with the file content.
3) Manual button that sets Alarm.txt to AllGood.
The result is that, upon receiving a specified sort of email my phone will beep every 5 minutes and show a notification with the subject of the email. Once I have resolved the issue, I can press the button to turn off the alarm.
Is there a simpler way to do this? I wasn't able to create repeated notifications using a do..until structure. And even repeated notifications worked, I'm not sure there would be a good way to acknowledge and turn the alarm off.