Skip to main content

Create & publish YouTube Shorts on historical what-ifs with GPT-4o & Blotato

Workflow preview

Workflow preview
100%
Create & publish YouTube Shorts on historical what-ifs with GPT-4o & Blotato preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Workflow Description: Automated YouTube Short Viral History (Blotato + GPT 4.1) This workflow is a powerful, self sustaining end to end content automation pipeline designed to feed your YouTube Sho...

Best for

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

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.scheduletrigger, n8n-nodes-base.wait, n8n-nodes-base.stickynote, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.agent

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Create & publish YouTube Shorts on historical what-ifs with GPT-4o & Blotato
Workflow name
Create & publish YouTube Shorts on historical what-ifs with GPT-4o & Blotato

Workflow Description: Automated YouTube Short Viral History (Blotato + GPT-4.1)

This workflow is a powerful, self-sustaining end-to-end content automation pipeline designed to feed your YouTube Shorts channel with consistent, high-quality, and highly engaging videos focused on "What if history..." scenarios.

This solution completely eliminates manual intervention across the creative, production, and publishing stages. It expertly links the creative power of a GPT-4o AI Agent with the video rendering capabilities of the Blotato API, all orchestrated by n8n.

How It Works

The automation runs through a five-step, scheduled process:

  1. Trigger and Idea Generation: The Schedule Trigger starts the workflow (default is 10:00 AM daily). The AI Agent (GPT-4o) acts as a copywriter/researcher, automatically brainstorming a random "What if history..." topic, researching relevant facts, and formulating a viral, hook-driven 60-second video script, along with a title and caption.
  2. Visual Production Request: The formatted script is sent to the Blotato API via the Create Video node. Blotato begins rendering the text-to-video short based on the pre-set style parameters (cinematic style, specific voice ID, and AI models).
  3. Status Check and Wait: The Wait node pauses the workflow, and the Get Video node continually checks the Blotato system until the video rendering status is confirmed as done.
  4. Media Upload: The completed video file is uploaded to the Blotato media library using an HTTP Request node, preparing it for publishing.
  5. Automated Publishing: The final YT Post node (another HTTP Request to the Blotato API) automatically publishes the video to your linked YouTube channel, using the video URL and the AI-generated title and short caption.

Set Up Steps

To activate and personalize this powerful content pipeline in n8n, follow these steps:

  1. OpenAI Credential: Ensure your OpenAI API key credential is created and connected to the Brainstorm Idea node (Language Model). The workflow uses GPT-4o by default.
  2. Blotato API Key: Obtain your Blotato API Key.
    • Open the Prepare Video node and manually insert your Blotato API Key into the blotato_api_key field.
  3. YouTube Account ID: Find the Account ID (or Channel ID) for the YouTube channel you want to post to.
    • Open the Prepare for Publish node and manually insert your YouTube Account ID into the youtube_id field.
  4. Customize Video Style (Optional): If desired, adjust the visual aesthetic by modifying parameters in the Prepare Video node, such as:
    • voiceId: To change the video narrator.
    • style: To change the visual theme (e.g., from cinematic to documentary).
    • text_to_image_model and image_to_video_model: To change the underlying AI generation models.
  5. Activate Workflow: Save the workflow and toggle the main switch to Active. The first video will be created and published on the next scheduled run.

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 - Upload to Blotato

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

Block 2 - Schedule Trigger

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

Block 3 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 4 - Sticky Note1

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

Block 5 - Sticky Note2

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

Block 6 - Prepare for Publish

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

Block 7 - Create Video

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

Block 8 - Brainstorm Idea

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

Block 9 - Prepare Video

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

Block 10 - Get Video

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

Block 11 - Structured Output Parser

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

Block 12 - AI Agent1

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

Block 13 - Sticky Note5

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

Block 14 - YT Post

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

Block 15 - Sticky Note

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

Block 16 - Sticky Note3

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

3. Summary Table

Workflow Create & publish YouTube Shorts on historical what-ifs with GPT-4o & Blotato
Complexity advanced
Nodes 16
Categories Content Creation, Multimodal AI
Author Marth
Published 14 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9598/9598.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 Create & publish YouTube Shorts on historical what-ifs with GPT-4o & Blotato do?

Workflow Description: Automated YouTube Short Viral History (Blotato + GPT 4.1) This workflow is a powerful, self sustaining end to end content automation pipeline designed to feed your YouTube Sho...

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.