Generate UGC product videos from Google Sheets with DALL·E, GPT-4 and Sora
Ready for 3.0What this workflow does
This workflow has 28 nodes and runs on a schedule (every hour) (plus 1 other trigger). Along the way it connects Google Sheets and Google Drive. It also calls api.openai.com over HTTP.
How it runs
Trigger: On a schedule (every hour) (plus 1 other trigger).
- Read Product Sheet (Google Sheets): uses Google Sheets
- Parse Error Details (Code): runs custom JavaScript code
- Filter Pending Rows (Code): runs custom JavaScript code
- Row Number Known? (If): checks a condition and branches into true / false
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Update Sheet — Error (Google Sheets): update
- Log Error (Unknown Row) (Code): runs custom JavaScript code
- AI Prompt Builder (Code): runs custom JavaScript code
- DALL-E 3 Generate Image (HTTP Request): calls api.openai.com (POST)
- Extract DALL-E URL (Code): runs custom JavaScript code
…plus 15 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Drive + Google Sheets templates (720) · Other OpenAI + Google Drive templates (628)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Error Trigger
n8n-nodes-base.errorTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - No Operation, do nothing
n8n-nodes-base.noOp - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Wait
n8n-nodes-base.wait - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
This n8n template demonstrates how to fully automate the creation of UGC-style product videos using AI, starting from a simple Google Sheet. It transforms product data into AI-generated images, cinematic video scripts, and final videos, then uploads…