Is there an easy way to set a fixed amount of time in an automation?

Apologies on reviving an old thread, but just wanted to mention a method I haven’t really seen mentioned anywhere. If you need something to happen later and want to split it up, but are worried about missing a notification from Pushcut (or that you’ll ignore it), you can trigger it to happen based on interacting with any apps. This works pretty well if you’re on your phone fairly often.

You can use the App Automation for when an app is opened (and/or closed) and select all the common apps that you use frequently, linking it to a shortcut called something like “On Opening Common App”. There’s also some shortcut features from the Actions app from Sindre Sorhus that are helpful like “Set global text variable” and “Get global text variable”. So you set the date/time you want the action to happen and your On Opening shortcut checks it and if you’re past the time specified, it clears the variable and does what it needs to do. You also can use this as a way to have something happen over and over after more than a given time interval as well, setting the variable to the last run date instead of clearing it. You could use multiple variables for multiple different actions.

I like to restrict certain apps using Freedom and had problems with the app timing out and not being able to enable the blocks automatically at night. So I use this method to force the app open every once in a while. So as soon as I open/switch to an app after a period, it’ll pop open Freedom by itself. I can swipe the bottom of the screen to get right back to the app I wanted to open but now Freedom was activated and will put in any blocks if it is time. Been also popping up my todo list every once in a while to get it more in my face, so I don’t forget to do stuff.