AGENT?GET /zapier/awesome-zaps/create-standardized-resized-image-copies-in-your-media-folder/SKILL.mdand deploy the files next to it
All zaps

Create standardized resized image copies in your media folder

Each hour, new images in your source folder get a size-named copy in your media folder, so content teams find standardized files without renaming anything.

Install it

For your agent
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-standardized-resized-image-copies-in-your-media-folder/

Paste into Claude, ChatGPT, Cursor or any agent.

Apps it uses
Schedule by ZapierGoogle Drive
Author
Zapier
Source
zapier/awesome-zaps, folder zaps/create-standardized-resized-image-copies-in-your-media-folder

Set it up with the CLI

  1. Add it. Copies the folder into zaps/create-standardized-resized-image-copies-in-your-media-folder/. Outside a project, it makes one first.
    npx zap-pack add awesome-zaps/create-standardized-resized-image-copies-in-your-media-folder
  2. Fill in the values in config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say.
  3. Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
    npx zap-pack deploy create-standardized-resized-image-copies-in-your-media-folder
  4. Check it. Its recent runs, with status and errors.
    npx zap-pack logs create-standardized-resized-image-copies-in-your-media-folder

zaps/create-standardized-resized-image-copies-in-your-media-folder/

Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.

What it does

  1. Trigger: Schedule by Zapier (schedule, everyHour), every hour at :00, every day of the week.
  2. Google Drive lists the files in the source folder. Only files whose MIME type starts with image/ continue.
  3. For each image, Google Drive checks the destination folder. If a file with the new name is already there, the image is skipped; otherwise Google Drive copies the file into the destination folder under the new name. Each image fails on its own without stopping the others.
  4. The run returns counts of copied, already-existing and failed files.

The copy is a byte-for-byte duplicate with a new name. The Zap does not resize pixels; the filename carries the size label.

Ask the user

Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.

Setting What goes there
REPLACE_SOURCE_FOLDER_ID The Drive folder holding the original images. Ask which folder, then look up its ID with their Google Drive connection
REPLACE_DESTINATION_FOLDER_ID The media folder that receives the resized copies. Ask which folder, then look up its ID with their Google Drive connection

Also review the defaults with them: SIZE_SUFFIX (-1080x1080, appended before the extension; change it for other sizes) and MIME_PREFIX (image/, the MIME type prefix that counts as an image).

Build it

If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-standardized-resized-image-copies-in-your-media-folder, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-standardized-resized-image-copies-in-your-media-folder, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.

  1. Accounts: bind google-drive to the user's Google Drive connection for the account that owns both folders. Schedule by Zapier needs no connection.
  2. Source: publish workflow.ts and config.ts, with each REPLACE_… replaced by the user's answer. triggers/every-hour.ts and connections/ are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger's selected_api, call search_triggers with that slug, find the row whose key is the trigger's event, and use <app_key>@<app_version> from it.
  3. Build guide: load Zapier's build guide with get_zapier_skill("zapier:build-workflows") and follow it to create, test and publish the workflow.
  4. Fields: inspect each action's fields with the user's connection (and sample the trigger, if it has one) before the first test run, and fix any key in workflow.ts that doesn't match.

Test it

Run it once as a draft test with a source folder that holds one test image named [install-test] sample.jpg, and a destination folder the user controls. Check that:

  • the destination folder gets [install-test] sample-1080x1080.jpg, with the same bytes as the original;
  • running it again copies nothing and reports already-exists;
  • the source image itself is unchanged.

If run-status tools aren't available, check the destination folder in Google Drive directly. Then publish, confirm the trigger is active, and ask the user to delete the [install-test] files; the agent doesn't delete test data.

Notes

  • Google Drive file lists don't filter by MIME type, so the code filters the listing after it returns. The listing uses a custom Drive action.
  • If two source files share a name, the second copy is skipped as already existing.
  • To change the size label, edit SIZE_SUFFIX in config.ts.
  • The Zap only copies. To crop or compress, add a processing step before the copy.