Skip to main content

Generate UGC product videos from Google Sheets with DALL·E, GPT-4 and Sora

Workflow preview

Workflow preview
100%
Generate UGC product videos from Google Sheets with DALL·E, GPT-4 and Sora preview
Open on n8n.io

1. Workflow Overview

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, cin...

Best for

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

Tools used

n8n-nodes-base.errortrigger, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote, n8n-nodes-base.noop, n8n-nodes-base.httprequest, n8n-nodes-base.googledrive

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate UGC product videos from Google Sheets with DALL·E, GPT-4 and Sora
Workflow name
Generate UGC product videos from Google Sheets with DALL·E, GPT-4 and Sora

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 everything to Google Drive and updates your sheet automatically.

💡 Use cases

  • Generate UGC ads at scale for e-commerce products
  • Create TikTok / Reels content automatically
  • Build content pipelines for agencies or creators
  • Rapidly test different product angles, audiences, and messaging
  • Automate creative production from structured data (Google Sheets)

Good to know

  1. This workflow uses multiple AI services (image + video), so cost depends on usage:
  • Image generation (DALL·E)
  • Video generation (Sora)
  1. Video generation is asynchronous and may take several minutes per item
  2. Some AI models (like Sora) may be region-restricted or limited access
  3. Generated image URLs may expire, so storing them (as done here) is important

How it works

  1. Reads product data from Google Sheets and selects rows marked "Pending".
  2. Creates a prompt and generates a product image.
  3. Analyzes the image and turns it into a video script.
  4. Sends the script to Sora and waits until the video is ready.
  5. Uploads the video to Google Drive and updates the sheet.
  6. Logs errors and marks the row as "Error".

How to use

  1. Add products to Google Sheets with name, description, audience, and set status to "Pending".
  2. Run the workflow or let the schedule trigger process items automatically.
  3. The system generates image → script → video, uploads them, and updates your sheet.

Requirements

  1. Requires OpenAI, Google Sheets, and Google Drive accounts.
  2. Requires an n8n instance with credentials configured.

Customizing this workflow

  1. Replace the schedule trigger with a webhook or form for real-time use.
  2. Generate multiple videos per product.
  3. Send outputs to platforms like TikTok, Meta Ads, or CMS tools.
  4. Add voiceovers, captions, or permanent asset storage.

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 - Error Trigger

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

Block 2 - Parse Error Details

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Row Number Known?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Update Sheet — Error

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 5 - Log Error (Unknown Row)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Sticky Note

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

Block 7 - Sticky Note — Complete1

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

Block 8 - Sticky Note — Sora Poll Loop1

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

Block 9 - Sticky Note — Sora Async Polling1

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

Block 10 - Sticky Note — Vision & Script1

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

Block 11 - Sticky Note — Image Gen1

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

Block 12 - Sticky Note — Trigger1

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

Block 13 - Loop Complete1

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

Block 14 - Update Sheet — Done2

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 15 - Build Public Drive URL1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Make File Public1

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

Block 17 - Upload Video to Google Drive1

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

Block 18 - Fetch Sora Video Content1

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

Block 19 - Video Ready?1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 20 - Check Sora Status1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - Poll Sora Status1

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

Block 22 - Wait 30 Seconds1

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

Block 23 - Extract Sora Job ID1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 24 - Sora Generate Video1

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

Showing the first 24 of 37 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Generate UGC product videos from Google Sheets with DALL·E, GPT-4 and Sora
Complexity advanced
Nodes 37
Categories Content Creation, Multimodal AI
Author Vonn
Published 23 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14256/14256.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 Generate UGC product videos from Google Sheets with DALL·E, GPT-4 and Sora do?

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, cin...

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.