← Back to our workVA TECHSAVVY / WORKFLOW LIBRARY

N8N CONTENT AUTOMATION

AI video generator + publishing

19 workflow steps · 21 connections · Schedule trigger

Problem

Creating and publishing distinct short-form concepts required repeated ideation, generation, and upload work.

Solution

Built a scheduled workflow that creates a structured brief, generates an AI video, validates completion, converts the file, and publishes it.

Outcome

A repeatable pipeline from idea through generated video and multi-channel publishing.

For

Content teams and creators.

Automation workflow · n8n
  1. On scheduleTrigger
  2. Check used ideasNo repeats
  3. AI writes promptOpenAI
  4. Generate videoVideo AI
  5. Wait until readyCheck for errors
  6. PublishYouTube + Facebook

The actual build

Graph
Schedule Trigger → Get All Used Items (main, output 1)Generate Prompt → Record Fruit (main, output 1)Structured Output Parser → Generate Prompt (ai_outputParser, output 1)Record Fruit → Secret Payload (main, output 1)Secret Payload → JWT (main, output 1)JWT → Exchange JWT for Access Token (main, output 1)Exchange JWT for Access Token → Generate Video (main, output 1)Generate Video → Wait (main, output 1)Wait → Get Generated Video (main, output 1)Get Generated Video → IsDOne? (main, output 1)IsDOne? → IsFiltered (main, output 1)IsDOne? → Wait (main, output 2)IsFiltered → Generate Prompt (main, output 1)IsFiltered → isError (main, output 2)isError → Generate Video (main, output 1)isError → Convert to File (main, output 2)Convert to File → Facebook Graph API (main, output 1)Convert to File → Upload a video (main, output 1)Get All Used Items → Format Used Items List (main, output 1)Format Used Items List → Generate Prompt (main, output 1)OpenAI Chat Model1 → Generate Prompt (ai_languageModel, output 1)Schedule TriggerscheduleTriggerSchedule TriggerGenerate PromptchainLlmGenerate PromptStructured Outpu…outputParserStructuredStructured Output ParserRecord FruitdataTableRecord FruitSecret PayloadcodeSecret PayloadJWTjwtJWTExchange JWT for…httpRequestExchange JWT for Access TokenGenerate VideohttpRequestGenerate VideoWaitwaitWaitGet Generated Vi…httpRequestGet Generated VideoIsDOne?ifIsDOne?IsFilteredifIsFilteredisErrorifisErrorConvert to FileconvertToFileConvert to FileUpload a videoyouTubeUpload a videoFacebook Graph A…facebookGraphApiFacebook Graph APIFormat Used Item…codeFormat Used Items ListGet All Used Ite…dataTableGet All Used ItemsOpenAI Chat Mode…lmChatOpenAiOpenAI Chat Model1

19 workflow steps · 21 connections. Teal lines show the main flow; purple lines connect AI models, memory, and tools. Drag to pan; use + to inspect the workflow.