Quick overview
This workflow reads video prompts from Google Sheets, generates an AI video using Google Veo3 via fal.run, saves the file to Google Drive, creates an SEO-friendly title with OpenAI, uploads the video to YouTube via upload-post.com, and writes the video and YouTube links back to the sheet.
How it works
- Starts manually and fetches rows from Google Sheets where the VIDEO column is empty.
- Builds a generation prompt from the sheet data and submits it to fal.run (Google Veo3) to create a video.
- Waits and polls fal.run for the video request status until it returns COMPLETED.
- Retrieves the completed video URL from fal.run and uses OpenAI (gpt-4o-mini) to generate a YouTube-optimized title from the original prompt.
- Downloads the video file, uploads it to Google Drive, and updates the originating Google Sheets row with the fal.run video URL.
- Sends the video file and generated title to upload-post.com to upload it to YouTube, then updates the same Google Sheets row with the resulting YouTube URL.
Setup
- Add Google Sheets OAuth2 credentials and set the target spreadsheet/document and sheet tab used for reading and updating rows.
- Create a fal.ai account, add an HTTP Header Auth credential with
Authorization: Key <YOUR_FAL_API_KEY>, and ensure it is selected on the Veo3 HTTP requests.
- Add OpenAI credentials for the title-generation step and select the model you want to use.
- Create an upload-post.com API key, add an HTTP Header Auth credential with
Authorization: Apikey <YOUR_UPLOAD_POST_KEY>, and replace YOUR_USERNAME in the upload request with your upload-post profile username.
- Set the Google Drive OAuth2 credential and choose the destination folder where uploaded videos should be stored.