Publish YouTube videos with OpenAI and HTTP file download
Go to WorkflowDescription
Quick overview
This workflow generates an optimized YouTube title and description with OpenAI from a provided video topic, downloads an MP4 from a public URL, and uploads the video to YouTube with the AI-generated metadata.
How it works
Starts when you manually execute the workflow.
Collects a public MP4 URL and a short text description of the video topic.
Sends the topic to OpenAI to generate a YouTube-ready title and description with three hashtags.
Parses the AI’s JSON response and combines it with the source video URL.
Downloads the MP4 file from the provided URL.
Uploads the downloaded video to YouTube with the generated title and description, using Private visibility.
Setup
Add an OpenAI credential to the OpenAI step used to generate YouTube metadata.
Add a YouTube OAuth credential with permission to upload videos.
Replace source_url with a direct, publicly accessible MP4 file URL and update the topic text to match your video.
Review the YouTube upload settings (privacy status, category, and region) and keep uploads set to Private while testing.
Requirements
OpenAI API credential
YouTube OAuth2 credential
Direct publicly accessible MP4 video URL
Customization
Change the OpenAI model used for metadata generation
Change YouTube privacy status from Private to Public
Change YouTube category and region
Customize the AI prompt for your preferred title and description style
Additional info
Use only videos you own or have permission to upload. The source URL must point directly to a publicly accessible MP4 file. YouTube uploads are set to Private by default for safe testing.