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.
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.
| Node | Category | Type | Operation |
|---|---|---|---|
| Start AutoClip Workflow | Trigger | Manual Trigger | See node parameters |
| Retrieve Video Background Data | Data store | Google Sheets | append |
| Retrieve Quote Data | Data store | Google Sheets | See node parameters |
| List Video Background Files | Files / media | Google Drive | fileFolder |
| Configure Music Background Folder ID | Transform | Edit Fields | See node parameters |
| List Music Background Files | Files / media | Google Drive | fileFolder |
| Retrieve Music Background Data | Data store | Google Sheets | append |
| Merge File Selection Data | Transform | Merge | See node parameters |
| Select Random Video, Music & Quote | Code | Code | See node parameters |
| Download Selected Video Background | Files / media | Google Drive | download |
| Download Selected Music Background | Files / media | Google Drive | download |
| Save Video Background Locally | Files / media | Read Write File | write |
| Save Music Background Locally | Files / media | Read Write File | write |
| Prepare Overlay Text (Quote & Author) | Code | Code | See node parameters |
| Generate Final Video Clip | Code | Execute Command | See node parameters |
| Initiate YouTube Resumable Upload | Web / API | HTTP Request | POST |
| Read output file | Files / media | Read Write File | See node parameters |
| Upload Video to YouTube | Web / API | HTTP Request | PUT |
| Update Quote Upload Status | Data store | Google Sheets | appendOrUpdate |
| Mark Background as Used | Data store | Google Sheets | appendOrUpdate |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- 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
googleDriveOAuth2ApigoogleSheetsOAuth2ApiyouTubeOAuth2Api
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.