Skip to content

publish.youtube

Operation: publish.youtube
Category: publish
Tags: youtube, upload, publish, video

Upload a video to YouTube via the Data API v3 resumable upload protocol

Type: Native (built-in)
Timeout: 600s
Retries: 2 (ExponentialWithJitter)

NameTypeRequiredDefaultDescription
video_pathStringYesLocal path or URL to the video file
titleStringYesVideo title
descriptionStringNoVideo description
tagsJSONNoArray of tag strings
category_idStringNoYouTube category ID (default 22 — People & Blogs)
privacy_statusStringNoPrivacy: public, unlisted, or private (default private)
thumbnail_pathStringNoThumbnail image path
NameTypeDescription
video_idStringYouTube video ID
urlStringFull YouTube watch URL
statusStringUpload status
{
"api_key_context": "__secret.youtube"
}
import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow")
.node("publish-youtube", "tool", (n) =>
n.config({
operation: "publish.youtube",
// ... node-specific config
})
)
.build();