Skip to main content

AI-powered product video generator (Foreplay + Gemini + Sora 2)

Workflow preview

Workflow preview
100%
AI-powered product video generator (Foreplay + Gemini + Sora 2) preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Powered Product Video Generator (Foreplay + Gemini + Sora 2) Sign Up For Foreplay HERE Automatically generate personalized, cinematic quality product videos us...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.googledrive, n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Fahmi Fahreza.

Original n8n.io source

1.1 Workflow description

Title
AI-powered product video generator (Foreplay + Gemini + Sora 2)
Workflow name
AI-powered product video generator (Foreplay + Gemini + Sora 2)

AI-Powered Product Video Generator (Foreplay + Gemini + Sora 2)

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.

Who’s it for?

Perfect for marketers, brand managers, or creators who want to produce quick, high-quality video ads without manual scripting or editing.

How it works

  1. Fetch product data and related competitor videos from Foreplay.
  2. Use Gemini AI to generate creative text-to-video prompts.
  3. Send the prompt and image to Kie.ai to generate a short, cinematic product video.
  4. Save the finished video automatically to Google Drive.

How to set up

  • Connect your Foreplay, Google Drive, Gemini, and Kie.ai credentials.
  • Set your product image folder's permission (Google Drive) as public.
  • Add your API keys inside the Set Workflow Credentials node.
  • Then run the workflow manually to generate your first video ad!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Manual Trigger

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - Set Workflow Credentials

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Set Product Information

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Fetch Product Image from Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 6 - Fetch Competitor Video Data (Foreplay API)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Split Foreplay Response

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 8 - Assemble Video Input Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Iterate Over Ad Examples

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 10 - Generate Video Prompt

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 11 - Google Gemini LLM

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 12 - Create Video Task (Kie.ai)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Check Video Generation Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - Download Finished Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - Wait Before Checking Again

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 16 - Upload Generated Video to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 17 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Video Generation Status

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

3. Summary Table

Workflow AI-powered product video generator (Foreplay + Gemini + Sora 2)
Complexity advanced
Nodes 18
Categories Content Creation, Multimodal AI
Author Fahmi Fahreza
Published 21 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9986/9986.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does AI-powered product video generator (Foreplay + Gemini + Sora 2) do?

AI Powered Product Video Generator (Foreplay + Gemini + Sora 2) Sign Up For Foreplay HERE Automatically generate personalized, cinematic quality product videos us...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.