MacOS Mojave and Catalina both have Finder Quick Actions. These are buttons that sit in the preview panel of any file, and let you perform quick actions of the selected file with one click. Actions vary depending on whether you’ve selected an image, a video, and so on. The defaults let you rotate images, crop video, and turn most other things into PDFs. You can also add your own Quick Actions, using Automator.
But what about Macs running macOS High Sierra or earlier? Can you add Quick Actions? The answer is yes, kinda.