Skip to main content

Autonomous blog publishing from YouTube videos with ChatGPT, Sheets, Apify, Pexels & WordPress

Workflow preview

Workflow preview
100%
Autonomous blog publishing from YouTube videos with ChatGPT, Sheets, Apify, Pexels & WordPress preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Autonomous YouTube Blog Builder / SEO Autopublisher (Sheets, ChatGPT, Apify, Pexels, WordPress) – Multilanguage 100% autonomous workflow that transforms YouTube videos into unique, high quality, SE...

Best for

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

Tools used

n8n-nodes-base.set, n8n-nodes-base.manualtrigger, n8n-nodes-base.scheduletrigger, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.stopanderror, n8n-nodes-base.code, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Autonomous blog publishing from YouTube videos with ChatGPT, Sheets, Apify, Pexels & WordPress
Workflow name
Autonomous blog publishing from YouTube videos with ChatGPT, Sheets, Apify, Pexels & WordPress

Autonomous YouTube - Blog Builder / SEO Autopublisher (Sheets, ChatGPT, Apify, Pexels, WordPress) – Multilanguage

100% autonomous workflow that transforms YouTube videos into unique, high-quality, SEO-optimized blog articles and automatically publishes them to WordPress. No human intervention required: it uses YouTube as the main source for fresh, original content ideas, manages a keyword bank in Google Sheets, finds relevant videos via Apify, transcribes, writes, formats, selects a featured image via Pexels, generates SEO metadata, and publishes. When all keywords are used, it will automatically generate new ones (avoiding duplicates) to keep producing content without interruptions.

Estimated cost per post (including ChatGPT + Apify (free 5$ new user)) → $0.01 – $0.03 depending on video length.

Includes:

  • Access to APIs with 7-day free trials (Apify, Pexels, etc.).
  • Step-by-step documentation to get each API key.
  • Basic setup support to get you started.

Who it’s for

  • Agencies and creators looking to scale blogging from video content.
  • SEO teams needing automation with quality control.
  • Technical bloggers who want hands-off publishing with tracking.

SEO

  • SEO teams needing automation with quality control (modifiable from the options node like including h1, hierarchy among other SEO options).
  • The title and description of the page (SEO) is based on the language in which the blog was created
  • Allows you to add keywords

How it works (phase summary)

Part 1 – Keyword initialization

  • Manual or scheduled trigger.
  • Checks if the Google Sheet is empty; if so, generates 10 keywords based on a seed idea and saves them.

Part 2 – Keyword management & blog settings

  • Includes an “options” node to configure global blog language and formatting rules (H1, headings, bold, intro, conclusion, etc.).
  • Selects a keyword with false status (unused), marks it true with a usage date, and if none are left, generates new ones while avoiding duplicates.

Part 3 – Video search & duplicate filtering

  • Searches YouTube via Apify using the keyword, retrieves ~30 results, excludes Shorts, and selects 2 videos based on title/description/hashtags.
  • Checks for duplicates; if found, retries up to 5 times with variations.
  • If still duplicated, discards the keyword and selects another.

Error Handling & Continuity

Includes fallbacks and failure alerts in every critical node to ensure the workflow keeps running even if a step fails.

Part 4 – Article creation

  1. Transcribes the video (cost included in $0.01–$0.03).
  2. ChatGPT writes a formal blog post in the language set in the “options” node.
  3. A second ChatGPT step applies the formatting rules (structure, H1/H2…, intro/conclusion).
  4. Ensures SEO compliance.
  5. Converts Markdown → HTML and publishes to WordPress (more info results screenshots).

Part 5 – Image & final publishing

  • Searches Pexels API for images using the post keyword.
  • ChatGPT chooses the most suitable image; it’s downloaded and attached to the post.
  • Generates an SEO title and meta description based on the content.
  • Sends an email confirmation with the published URL (with the chosen language, more info screenshots).

Requirements

  • OpenAI / ChatGPT (or compatible provider for transcription and writing).
  • Google Sheets (keyword storage and usage tracking).
  • Apify (YouTube search (free 5$ new user)).
  • Pexels API (image sourcing (free api)).
  • WordPress REST API (user with permissions to create posts/media).

Costs & limits (important)

  • Cost per post: $0.01 – $0.03 (ChatGPT + Apify included (free 5$ new user)).
  • Rate limits: respect YouTube/Apify, Pexels, and OpenAI limits.

Thoroughly Tested for Reliability and Performance

  • This workflow has been carefully tested in multiple scenarios to ensure optimal functionality, stability, and accuracy.
  • Various edge cases and potential failure points were simulated, and fallback mechanisms were implemented to handle unexpected situations.
  • The result is a robust and reliable automation you can run confidently in production environments.

The workflow is multi-language and it has been tested to create blogs in (Russian, Spanish, English, German and French) all the results were verified and good

Screenshots

More info and photos: [email protected]

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 - Email send

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

Block 2 - Manual

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

Block 3 - Keywords

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

Block 4 - BLOG OPTIONS

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

Block 5 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 6 - Loop Over Items

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

Block 7 - Agent 1

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

Block 8 - Agent

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

Block 9 - Error why1

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

Block 10 - Today date

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

Block 11 - GET Video Used

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

Block 12 - Add video in db

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

Block 13 - Merge URLs

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

Block 14 - Check duplicate

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

Block 15 - Agent 3

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

Block 16 - if duplicate

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

Block 17 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 18 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 19 - custom split

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

Block 20 - Rename Keys

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

Block 21 - empty file check

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

Block 22 - check empty file

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

Block 23 - If empty file

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

Block 24 - Generate keys

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

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

3. Summary Table

Workflow Autonomous blog publishing from YouTube videos with ChatGPT, Sheets, Apify, Pexels & WordPress
Complexity advanced
Nodes 80
Categories Content Creation, Multimodal AI
Author Oriol Seguí
Published 14 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7376/7376.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 Autonomous blog publishing from YouTube videos with ChatGPT, Sheets, Apify, Pexels & WordPress do?

Autonomous YouTube Blog Builder / SEO Autopublisher (Sheets, ChatGPT, Apify, Pexels, WordPress) – Multilanguage 100% autonomous workflow that transforms YouTube videos into unique, high quality, SE...

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.