AI-powered product video generator (Foreplay + Gemini + Sora 2)
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive and Google Gemini Chat Model. It also calls api.kie.ai over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Workflow Credentials (Edit Fields (Set)): sets 5 fields: folderProductId, folderGeneratedId, baseUrl…
- Set Product Information (Edit Fields (Set)): sets 4 fields: productName, niche, category…
- Fetch Product Image from Google Drive (Google Drive): work with file folder
- Fetch Competitor Video Data (Foreplay API) (HTTP Request): calls an HTTP API
- Split Foreplay Response (Split Out): splits a list into separate items
- Assemble Video Input Data (Edit Fields (Set)): sets 5 fields: desc, transcript, mood…
- Iterate Over Ad Examples (Loop Over Items (Split in Batches)): loops over the items in batches
- Generate Video Prompt (AI Agent): runs an AI agent, with model: Google Gemini LLM
- Create Video Task (Kie.ai) (HTTP Request): calls api.kie.ai (POST)
- Check Video Generation Status (HTTP Request): calls an HTTP API
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.kie.ai
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 (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Wait
n8n-nodes-base.wait - Switch
n8n-nodes-base.switch
From the author
Quick overview Sign Up For Foreplay HERE Automatically generate personalized, cinematic-quality product videos using Foreplay’s ad data, Google Gemini AI for creative prompts, and Sora 2 for text-to-video generation. How it works 1. The workflow fetches…