YouTube Upload
Upload a local video file to YouTube via the Data API v3 resumable upload.
Requires a Google OAuth credential with the
https://www.googleapis.com/auth/youtube.uploadscope. The connector reads an OAuth access token (inputaccessToken, or envGOOGLE_OAUTH_TOKEN). See the Google Workspace / OAuth setup guide for creating the credential. Note: the upload path could not be load-tested without live credentials — the request flow follows Google's documented resumable protocol.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
file |
yes | — | Local video file |
title |
yes | — | Video title |
description |
no | — | Video description |
privacy |
no | unlisted | private / unlisted / public |
accessToken |
yes* | — | Google OAuth token (or via credential / env) |
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
resulturlvideoId
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
file |
string | yes | — | Path to the local video file to upload. |
title |
string | yes | — | Video title. |
description |
string | no | — | Video description. |
privacy |
string | no | unlisted |
private, unlisted, or public. |
accessToken |
string | no | — | Google OAuth access token (youtube.upload scope). Supply via a Google OAuth credential. |