Download and unzip bash script. Move it to a parent of a folder with unzipped prototype.
bash png_to_webp.sh YOUR_PROTOTYPE_FOLDER
If you have no webp installed then follow the script instruction in Terminal
Download and unzip Automator script.
Launch Automator.app (Applications → Automator).
Go to File → New, then choose Folder Action and click Choose.
At the top of the workflow, use the Folder dropdown to select the folder where your zip files will appear (e.g., Temp).
In the left sidebar, search for Run Shell Script and drag it into the workflow area.
/bin/bash⚠️ This is critical. If it stays on
to stdin, the script will never receive the file path.
Replace the default content in the text field with webp-automator.sh content
Go to File → Save and give it a name, for example AutoProcessZip.workflow.
AutoProcessZip script appear in the list.
If not, add them manually with the + button..zip file into the watched folder.Check the log:
```bash tail -30 /tmp/auto_zip_webp.log