Upload new Google Drive videos to YouTube with titles and descriptions
Each new video in your Google Drive is uploaded to YouTube with a title from its file name and a description from its Drive notes.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/upload-new-google-drive-videos-to-youtube/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Marketing · Content media production
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/upload-new-google-drive-videos-to-youtube
Set it up with the CLI
- Add it. Copies the folder into
zaps/upload-new-google-drive-videos-to-youtube/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/upload-new-google-drive-videos-to-youtube - 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. - 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 upload-new-google-drive-videos-to-youtube - Check it. Its recent runs, with status and errors.
npx zap-pack logs upload-new-google-drive-videos-to-youtube
zaps/upload-new-google-drive-videos-to-youtube/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings
- connections/google-drive.tsThe
google-driveaccount it uses - connections/youtube.tsThe
youtubeaccount it uses - triggers/new-file.tsWhat starts it:
google-drivefile - workflow.tsThe code; each
ctx.stepis a step in the Zap
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.
SKILL.md
View MarkdownWhat it does
- Trigger: a new file is added to Google Drive (
google-drive,file). The run carries the file's ID, name, description, MIME type and download link. - Workflow skips anything that is not a video, so only video files continue.
- YouTube uploads the video. Its title is the file name without the extension, cut to 100 characters. Its description is the Drive file's description, or a short default when the file has none. The video is uploaded as private.
Ask the user
No value here is set per person. Choose the accounts when you bind the connections, and review the defaults with the user:
| Setting | Where | What it does |
|---|---|---|
YOUTUBE_PRIVACY |
config.ts |
Privacy of each upload. "private" keeps videos hidden until reviewed; "unlisted" or "public" publish them |
DEFAULT_DESCRIPTION |
config.ts |
Description used for files that have no Drive description |
Ask which Google Drive account holds the new videos and which YouTube channel should publish them. Their connections are chosen in the Build step, not pasted as IDs.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/upload-new-google-drive-videos-to-youtube, replace each REPLACE_… value as this file says, then run npx zap-pack deploy upload-new-google-drive-videos-to-youtube, 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.
- Accounts: bind
google-driveto the user's Google Drive connection for the account that holds the new files, andyoutubeto the user's YouTube connection for the channel that should publish them. Both are named inconnections/. - Source: publish
workflow.tsandconfig.tswith the defaults above, or the values the user chose.triggers/new-file.tsandconnections/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'sselected_api, callsearch_triggerswith that slug, find the row whosekeyisfile, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect the YouTube
upload_videoaction's fields with the user's YouTube connection before the first test run, and fix any key inworkflow.tsthat doesn't match (the file, title, description and privacy inputs). Check the Google Drive trigger's output fields againstmimeType,file,title,descriptionandidas well.
Test it
Run this sample as a draft test (run_workflow_draft in Zapier MCP) with a short test video the user uploads to a folder they own, not a real one:
{
"id": "1sample-drive-file-id",
"title": "[install-test] sample clip.mp4",
"description": "Install test upload.",
"mimeType": "video/mp4",
"file": "https://example.com/sample-clip.mp4"
}
Confirm that one private YouTube video appears on the channel with the title and description above. The user deletes the test video, not the agent. Then publish, and confirm the trigger is active.
Notes
- The trigger fires for every new file in Drive, so non-video files are skipped on purpose. To limit uploads to one folder, change the trigger to Google Drive's
file_in_folder_v3event and set its folder. - Titles come from file names. Rename a file in Drive before it lands to change its YouTube title.
- YouTube limits titles to 100 characters and a per-day upload quota applies to each channel.
- Keep
YOUTUBE_PRIVACYat"private"until the titles and descriptions have been checked on a real upload.