Cannot Delete Automator Workflows

I'm running Big Sur 11.4 on M1 Macbook Air. I created a couple of workflows in Automator that I mistakenly saved. I want to delete them but cannot find them anywhere. In 'Go /Library /Services' or anywhere else (including show hidden files /folders). Originally, I had only one active Workflow in Automator and it worked as I wanted it to. All I had to do is left-click the Automator icon once in the Dock and the workflow would run ('Quit all Applications'). Now that there are three workflows (including the two I want to delete) I have to open Automator, open the workflow I want to run and then click on 'Run' in Automator. This is a lengthy process that negates the whole purpose of creating the workflow in the first place.


I have spoken to Level 2 Apple support a couple of times and the end result of that was "we don't support Automator", which leads me to ask the question, how can Level 2 Apple support not support a feature of their own OS? Ridiculous ...

MacBook Air (2020 or later)

Posted on Jul 10, 2021 6:33 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 10, 2021 6:49 AM

In the Finder, press shift+command+G to open the Go To Folder panel.


If you saved the Automator workflow as a service or Quick Action, paste the following in the Go To Folder dialog:


~/Library/Services


If it was a Calendar, Folder Action, or Image Capture workflow, paste the following in the Go to Folder dialog:


~/Library/Workflows


All other .workflow files saved outside of the preceding locations can be found in the search field of a Finder Window by using the Spotlight request:


kind:workflow



If you are using the Finder's Stacks feature, any .workflow saved to your Desktop will appear under the stacks Other category.


As a fellow user, I cannot comment on Apple Support telling you that they don't support Automator, but then again, they are probably not getting a lot of hands-on time developing Automator solutions, and that might be their rationale for the lack of support on something they may not understand.

Similar questions

14 replies
Question marked as Top-ranking reply

Jul 10, 2021 6:49 AM in response to Cornelius III

In the Finder, press shift+command+G to open the Go To Folder panel.


If you saved the Automator workflow as a service or Quick Action, paste the following in the Go To Folder dialog:


~/Library/Services


If it was a Calendar, Folder Action, or Image Capture workflow, paste the following in the Go to Folder dialog:


~/Library/Workflows


All other .workflow files saved outside of the preceding locations can be found in the search field of a Finder Window by using the Spotlight request:


kind:workflow



If you are using the Finder's Stacks feature, any .workflow saved to your Desktop will appear under the stacks Other category.


As a fellow user, I cannot comment on Apple Support telling you that they don't support Automator, but then again, they are probably not getting a lot of hands-on time developing Automator solutions, and that might be their rationale for the lack of support on something they may not understand.

Jul 10, 2021 12:01 PM in response to Cornelius III

Create a new workflow and start to save it. Before clicking on the Save button check the dropdown menu to see where Automator wants to save. Then go there and see if your other two are there.


Or you can use Find Any File to search for the following: 


1 - Name contains .workflow


Any files that are found can be dragged from the search results window to the Desktop or Trash bin in the Dock for deletion.


FAF can search areas that Spotlight can't like invisible folders, system folders and packages.  


Jul 10, 2021 7:45 AM in response to Cornelius III

As seen in the screenshot, the icon indicates that "Close All Apps" is an application, whereas the other two are "workflows".

What happens if you click on "Untitled" as shown in the last screenshot? Does not Automator open and show you that workflow? If you do, just command-click the title and navigate to the folder where it is located:


Applications created in Automator are, by default, saved in the Applications folder.






Jul 10, 2021 8:10 AM in response to Cornelius III

The items shown by the Automator contextual menu are recent items based on that setting in System Preferences > General. If an application or workflow has been deleted already, it may continue to appear in this list until it is replaced by subsequent Automator saved items that push the "ghosts" off of the recent items stack.


Alternatively, brute force can be employed to clear these "ghosts" and all other recent items: Automator > File menu > Open Recent Items > Clear menu

Jul 10, 2021 7:08 AM in response to VikingOSX

Thank you, Viking, that is helpful but doesn't solve my issue, unfortunately. I had already gone to Services (empty) and Spotlight only returns the two Workflows that I wish to keep. There are two Workflows that appear in the context menu when you right-click Automator: 'Untitled' and 'Close All Apps' (see below image that is created with you click on 'Show all Windows' after right-clicking on Automator). Those are the ones that I cannot locate and therefore cannot delete (and they don't appear in a Spotlight 'kind:workflow' search).

Jul 10, 2021 7:14 AM in response to VikingOSX

Thanks Viking, I am new to Mac OS (since March of this year). Image below shows the two workflows that Spotlight doesn't find and which appear in the context menu of Automator when you right-click it from the Dock. The first one is one that works and I would keep ('Quit all Applications') but the next two ('Untitled' and 'Close All Apps') are phantom files.

Jul 10, 2021 10:54 AM in response to Luis Sequeira1

Hi Luis. Thank you for your contribution. Left or right-clicking on the 'Untitled' workflow as seen in the second screenshot doesn't result in anything happening, I'm afraid, which was one reason why I sought assistance here. I though, if it opens, then surely I'll be able to find it in Finder /Applications. But no, neither it nor the 'Close all Apps' workflows shown in the screenshot do anything when clicked. The only Workflows in Finder /Applications are the ones that currently do something, namely: 'Quit all Applications' and another one I subsequently made called 'Quit Apps Not Chrome or Mail' (leaves those two apps open).


I'm afraid I don't have the knowledge to Run Applescript although you did teach me something there, that you can drag the Terminal app onto the Script Editor app and then, I suspect, run commands not dissimilar to what I was used to in Windows Powershell, for example, but I wouldn't know where to start in Unix.

Jul 10, 2021 11:07 AM in response to VikingOSX

Hi Viking. Thank you for that! Nearly there. The Automator /File/ Open Recent/ Clear Menu did indeed clear all of the Workflows shown in the right-click contextual menu apart from one, 'Untitled', which remains (which is odd). Not sure if I'm right about this, but what I was trying to achieve is just having one active workflow, not multiple choice, so that when I left-clicked on Automator in the Dock it would just run, without having to select the desired Workflow from the contextual menu, which opens the Automator interface, and then having to click on Run for the desired process. That is how it used to work for me, at least, when I first set up the original 'Close All Apps' Workflow, which I've since replaced with the standard Library 'Quit All Applications' Workflow.


Hang on ... just right-clicked Automator again and now the 'Untitled' Workflow is also gone. Thanks very much indeed! However, still haven't figured out how I originally had it set to simply run the one Workflow when left-clicking the Automator icon in the dock. That's how it used to work but now I have to open Automator and select the saved Workflow and click Run in Automator. Would be just as easy to close all of the open apps in the dock, one at a time.


Scratch that! 'Untitled' did indeed disappear, and now it's back again ... go figure! 🙂.


Sorry, I'm being thick. 'Untitled' reappeared because Automator was running in the background and there was an as of yet 'untitled' workflow ... my bad.

Jul 10, 2021 2:03 PM in response to Cornelius III

I never meant to suggest anything about Applescript. That was just one workflow that I happened to have open.

The image I posted was in trying to help in finding the location of an open workflow, by command-clicking on its name!


VikingOSX makes an excellent point - this is a list of recent workflows, and it may be that some have been deleted, but still appear as recent.


My main point is this: do not rely on the Dock icon for this kind of thing.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot Delete Automator Workflows

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.