Move similarly named images into a folder with the same name
After you launched "Automator" and created a workflow:


Select "Files And Folders" at "Actions".
Double click on "Find Finder Items" and setup what and where to find your files.
Which means: select the folder where the first group of pictures are stored. And enter the search condition (Name contains "whomever").
Run the workflow to see the result - you should see what you expect.
Which means: you should see all the files containing "whomever".
Double click on "Create Archive" and setup how to name the archive and where to save it.
Add step 2 and 4 for the other 2 file name groups.
Run the workflow.


But I can not see why you need the "Automator" for this. You could do all this very easy in the Finder:


Select the files of the first group: click on the first file of one group (named "whomever..."), hold down the "shift" key and click on the last file of the first group.
Select "Compress" in the File menu of the Finder. You will get an archive named "Archive.zip". Rename it to "whomever.zip".
Proceed with step 1.


It might help to set the "View" of the Finder to "List".