Error in Automator Open File
I can't comment because of reputation, but I had a lot of trouble with Automator until I allowed all the apps into Preferences/Security/Privacy/Accessibility. Maybe you didn't add Calendar?