Generate Sora videos from Google Sheets and save results to Google Drive
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, OpenAI Chat Model and Google Drive. It also calls api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get Video Prompts from Sheet (Google Sheets): uses Google Sheets
- Filter: keeps only the items that match a condition
- Normalize Video Parameters (Edit Fields (Set)): sets 3 fields: PROMPT, DURATION (In Seconds), VIDEO RESOLUTION
- Create Sora Video Job (HTTP Request): calls api.openai.com (POST)
- Wait: waits 60 seconds
- Check Video Status (HTTP Request): calls an HTTP API
- Route by Video Status (Switch): routes items into 4 branches
- Update video status to failed (Google Sheets): update
- Generate SEO Title with AI (AI Agent): runs an AI agent, with model: GPT-4 Model; output parser: Structured Output Parser
- Download Completed Video (HTTP Request): calls an HTTP API
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Google Drive
n8n-nodes-base.googleDrive - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Filter
n8n-nodes-base.filter - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
Generate Sora AI videos, save to Google Drive, and update Google Sheets This workflow automates video generation using OpenAI's Sora model: How it works: 1. Reads video prompts from a Google Sheet 2. Submits each prompt to Sora API for video generation 3.…