Skip to main content

Automatically create and upload YouTube videos with quotes in Thai using FFmpeg

Workflow preview

Workflow preview
100%
Automatically create and upload YouTube videos with quotes in Thai using FFmpeg preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who is this for? This workflow is perfect for digital content creators, marketers, and social media managers who regularly create engaging short form videos featuring inspirational or motivational ...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.googledrive, n8n-nodes-base.set, n8n-nodes-base.merge, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.readwritefile

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automatically create and upload YouTube videos with quotes in Thai using FFmpeg
Workflow name
Automatically create and upload YouTube videos with quotes in Thai using FFmpeg

Who is this for?

This workflow is perfect for digital content creators, marketers, and social media managers who regularly create engaging short-form videos featuring inspirational or motivational quotes. While the workflow is universally applicable, it specifically highlights Thai as an example to demonstrate effective language and font integration.

What problem is this workflow solving?

Creating consistent and engaging multilingual video content manually, including attractive fonts and proper video formatting, is time-consuming and repetitive. Additionally, managing files, background music, and updating statuses manually can be tedious and prone to errors.

What this workflow does

  • Automatically fetches background video and music files stored on Google Drive.

  • Randomly selects a quote (demonstrated with Thai language) and author information from Google Sheets.

  • Dynamically combines the selected quote and author text using appealing fonts, such as the Thai font "Kanit," directly onto the video using FFmpeg on your n8n local environment.

  • Creates visually engaging videos with a 9:16 aspect ratio, optimized for YouTube Shorts and other vertical video platforms.

  • Automatically uploads the finalized video to YouTube.

  • Updates the status and YouTube URL back into your Google Sheet, ensuring you have up-to-date records.

Setup

Requirements:

This workflow requires a self-hosted n8n instance, as the execution of FFmpeg commands is not supported on n8n Cloud. Ensure FFmpeg is installed on your self-hosted environment.

Google Sheets Setup:

Your Google Sheet must include at least these columns:

  • Index: (Unique identifier for each quote)
  • Quote: (Text of the quote)
  • Author: (Author of the quote)
  • CreateStatus: (Track video creation status; values like 'DONE' or blank for pending)
  • YoutubeURL: (Automatically updated after upload)

To help you get started quickly, you can use this template spreadsheet.

Next steps:

  1. Organize your video and music files in separate folders in Google Drive.
  2. Authenticate your Google Sheets, Google Drive, and YouTube accounts in n8n.
  3. Ensure fonts compatible with your target languages (such as Kanit for Thai) are available in your FFmpeg installation.

How to customize this workflow to your needs

  • Fonts: Adjust font styles and sizes within the workflow's code node. Ensure the fonts you choose fully support the language you wish to use.

  • Quote Management: Easily add or remove quotes and authors in your Google Sheets document.

  • Media Files: Change or update background videos and music by modifying the files in your Google Drive folders.

  • Video Specifications: Customize video dimensions, text positioning, opacity, and music volume directly in the provided FFmpeg commands.

Benefits of Using Localized Fonts and Quotes

Utilizing fonts specific to your target language, as demonstrated with Thai, significantly increases audience engagement by making your content more relatable, shareable, and visually appealing. Ensure you select fonts that properly support the language you're targeting.

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 - Start AutoClip Workflow

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

Block 2 - Retrieve Video Background Data

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

Block 3 - Retrieve Quote Data

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

Block 4 - List Video Background Files

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

Block 5 - Configure Music Background Folder ID

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

Block 6 - List Music Background Files

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

Block 7 - Retrieve Music Background Data

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

Block 8 - Merge File Selection Data

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

Block 9 - Select Random Video, Music & Quote

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

Block 10 - Sticky Note

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

Block 11 - Download Selected Video Background

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

Block 12 - Download Selected Music Background

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

Block 13 - Save Video Background Locally

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

Block 14 - Save Music Background Locally

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

Block 15 - Prepare Overlay Text (Quote & Author)

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

Block 16 - Generate Final Video Clip

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

Block 17 - Sticky Note1

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

Block 18 - Initiate YouTube Resumable Upload

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

Block 19 - Read output file

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

Block 20 - Upload Video to YouTube

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

Block 21 - Update Quote Upload Status

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

Block 22 - Mark Background as Used

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

Block 23 - Sticky Note2

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

3. Summary Table

Workflow Automatically create and upload YouTube videos with quotes in Thai using FFmpeg
Complexity advanced
Nodes 23
Categories Content Creation
Author Jaruphat J.
Published 26 Mar 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3328/3328.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 Automatically create and upload YouTube videos with quotes in Thai using FFmpeg do?

Who is this for? This workflow is perfect for digital content creators, marketers, and social media managers who regularly create engaging short form videos featuring inspirational or motivational ...

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 use case.