← All N8N workflows
Data & databasesCodeExecute CommandGoogle DriveGoogle SheetsHTTP Request

AutoClip – Automatically Generate Video Clips and Upload to YouTube

Configured with Execute Command, Google Drive, Google Sheets, HTTP Request, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerStart AutoClip WorkflowManual TriggerData storeRetrieve VideoBackground DataGoogle SheetsData storeRetrieve Quote DataGoogle SheetsFiles / mediaList Video BackgroundFilesGoogle DriveTransformConfigure MusicBackground Folder IDEdit FieldsFiles / mediaList Music BackgroundFilesGoogle DriveData storeRetrieve MusicBackground DataGoogle SheetsTransformMerge File SelectionDataMergeCodeSelect Random Video,Music & QuoteCodeFiles / mediaDownload Selected VideoBackgroundGoogle DriveFiles / mediaDownload Selected MusicBackgroundGoogle DriveFiles / mediaSave Video BackgroundLocallyRead Write FileFiles / mediaSave Music BackgroundLocallyRead Write FileCodePrepare Overlay Text(Quote & Author)CodeCodeGenerate Final VideoClipExecute CommandWeb / APIInitiate YouTubeResumable UploadHTTP RequestFiles / mediaRead output fileRead Write FileWeb / APIUpload Video to YouTubeHTTP RequestData storeUpdate Quote UploadStatusGoogle SheetsData storeMark Background as UsedGoogle Sheets

Node categories in this workflow

  • Trigger
  • Data store
  • Files / media
  • Transform
  • Code
  • Web / API

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Start AutoClip WorkflowTriggerManual TriggerSee node parameters
Retrieve Video Background DataData storeGoogle Sheetsappend
Retrieve Quote DataData storeGoogle SheetsSee node parameters
List Video Background FilesFiles / mediaGoogle DrivefileFolder
Configure Music Background Folder IDTransformEdit FieldsSee node parameters
List Music Background FilesFiles / mediaGoogle DrivefileFolder
Retrieve Music Background DataData storeGoogle Sheetsappend
Merge File Selection DataTransformMergeSee node parameters
Select Random Video, Music & QuoteCodeCodeSee node parameters
Download Selected Video BackgroundFiles / mediaGoogle Drivedownload
Download Selected Music BackgroundFiles / mediaGoogle Drivedownload
Save Video Background LocallyFiles / mediaRead Write Filewrite
Save Music Background LocallyFiles / mediaRead Write Filewrite
Prepare Overlay Text (Quote & Author)CodeCodeSee node parameters
Generate Final Video ClipCodeExecute CommandSee node parameters
Initiate YouTube Resumable UploadWeb / APIHTTP RequestPOST
Read output fileFiles / mediaRead Write FileSee node parameters
Upload Video to YouTubeWeb / APIHTTP RequestPUT
Update Quote Upload StatusData storeGoogle SheetsappendOrUpdate
Mark Background as UsedData storeGoogle SheetsappendOrUpdate

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • googleDriveOAuth2Api
  • googleSheetsOAuth2Api
  • youTubeOAuth2Api

Workflow notes

Data Preparation & File Selection

Data Preparation & File Selection

Retrieve and merge source data for quotes, video backgrounds, and music from Google Sheets and Google Drive; then randomly select one quote, one background video, and one music file.

File Download & Video Processing

File Download & Video Processing

Download the selected files, write them to disk, prepare overlay text (quote and author), and generate the final video clip using FFmpeg.

Video Upload & Post-Processing

Video Upload & Post-Processing

Upload the final video to YouTube using the YouTube API and update your Google Sheets with upload statuses and YouTube links.

AutoClip – Automatically Generate Video Clips and Upload to YouTube

AutoClip – Automatically Generate Video Clips and Upload to YouTube

Purpose and structure

This folder contains the AutoClip – Automatically Generate Video Clips and Upload to YouTube workflow. Its executable nodes use code, executeCommand, googleDrive, googleSheets, httpRequest, manualTrigger, merge, readWriteFile, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Start AutoClip Workflow

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Code/1864_Code_Executecommand_Create_Webhook.json MIT; preserve source notices.

More in Data & databases