Apple introduced Shortcuts app on iOS 12. With Shortcuts, setting a wake up alarm, playing your favourite playlist and turning on Do Not Disturb can be done in a single tap. Doing repetitive things like deleting all events in the last month has never been easier. You can even run JavaScript in Safari webpages.