Batch compress multiple folders into individual zip files
There's an alternative solution that's built-in if you don't want to use Automator and are fine with changing Archive Utility's settings.


Open the Archive Utility.app located in /System/Library/CoreServices/Applications/
Go to File > Preferences
Change the "Use Archive Format" preference to "Zip archive"
Drag and drop the folders into its icon in the dock.