🎬 Generate avatar snippet videos from Google Sheets scripts in Google Drive

⚑ 234 views · 🎬 Content Creation & Video

Description

Who it’s for

This workflow is for content creators and marketers who write short scripts in Google Sheets and want to automatically turn each line into an AI-generated avatar video stored in Google Drive, with links written back to the sheet.

How it works

A Manual Trigger starts the workflow. It first uses Get Avatar Description (Google Sheets) to read avatar details from a dedicated β€œGaia” sheet. The Global Variables node sets the working script page (for example, β€œDraft 5”) and exposes the avatar description. Next, Get Script reads all rows from the selected sheet. Loop Over Items iterates through each row, while Set Loop Inputs prepares the variables: avatar description, speech, and framing. For every row, Generate a video with Veo (Google Gemini video model) creates an 8-second 16:9 clip. Upload video file saves it to a chosen Google Drive folder, and Update row in sheet with link to video writes the Drive link back into the same row, then loops to the next snippet. Yellow sticky notes explain each phase, with the large one summarizing the end-to-end snippet generation loop.

How to set up

  1. Connect your Google Sheets and Google Drive credentials.
  2. Update the spreadsheet IDs, sheet names, and Drive folder to match your own.
  3. Configure the Gemini/Veo model credentials.
  4. Adjust the default script page name in Global Variables.

Requirements

How to customize

πŸ”— Nodes Used

Google Sheets, Google Drive, Google Gemini

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup