I am trying to setup in Automator a Folder Action, where screenshots on Desktop are automatically imported into my Photos app
Unfortunately, the automation is not working. When I have a screenshot on the Desktop and I open Automator to manually trigger, I receive the error:
- The action "Import Files into Photos" encountered an error: "Import Files into Photos script failed"
- Under log, it further says: The action "Import Files into Photos" was not supplied with the required data
I tried to reproduce this using macOS Sequoia 15.3.2 (24D81) by creating a folder action set up the same as in your screen capture. To get it working I had to agree to give Automator access to the Desktop folder and then inside of Photos I had to agree to allow Automator to control the app. Maybe access to the Desktop folder isn't set up for your folder action and that's why it isn't seeing any files. Check these items:
- In System Settings in Privacy & Security > Files & Folders to make sure FolderActionsDispatcher is listed there and the toggle for access to the Desktop is turned on.
- In System Settings in Privacy & Security > Automation make sure FolderActionsDispatcher is listed there and the toggle for access to Photos is turned on.