Generate UGC marketing videos for eCommerce with Sora 2 and Gemini
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs when someone submits an n8n form (“eCommerce Product Video Generator”). Along the way it connects OpenAI, Google Gemini Chat Model and Google Drive. It also calls generativelanguage.googleapis.com and api.openai.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“eCommerce Product Video Generator”).
- convert_product_to_base (Extract from File): extracts data from a file (binary to propery)
- convert_product_to_image (Convert to File): converts data to a file (to binary)
- analyze_product (OpenAI): analyze (image)
- set_model_details (Edit Fields (Set)): sets 1 field: prompt
- set_build_video_prompts (Edit Fields (Set)): sets 1 field: prompt
- generate_ad_prompts (HTTP Request): calls generativelanguage.googleapis.com (POST)
- extract_prompts (Basic LLM Chain): sends a prompt to an LLM, with model: gemini-2.5-pro; output parser: prompts-parser
- split_prompts (Split Out): splits a list into separate items
- iterate_prompts (Loop Over Items (Split in Batches)): loops over the items in batches
- generate_frame (HTTP Request): calls generativelanguage.googleapis.com (POST)
…plus 9 more steps. See the full node list below.
Services it uses
HTTP calls to: generativelanguage.googleapis.com, 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 (15)
- n8n Form Trigger
n8n-nodes-base.formTrigger - OpenAI
@n8n/n8n-nodes-langchain.openAi - Edit Fields (Set)
n8n-nodes-base.set - Extract from File
n8n-nodes-base.extractFromFile - Convert to File
n8n-nodes-base.convertToFile - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait - Edit Image
n8n-nodes-base.editImage - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Drive
n8n-nodes-base.googleDrive
From the author
Overview & Setup This n8n template demonstrates how to automatically generate authentic User-Generated Content (UGC) style marketing videos for eCommerce products using AI. Simply upload a product image, and the workflow creates multiple realistic…