🧠 AI & AgentsIntermediate🧠 AI-powered

Viral Video Automation WorkFlow

A 22-step ai & agents automation, triggered by manual, schedule, connecting OpenAI (LLM), Google Sheets, HTTP / REST API, YouTube, Gmail, with built-in AI reasoning.

⬇ Download workflow JSON
💡

What this does for your business

In plain terms: this is an AI assistant that works on a set schedule (e.g. daily). It uses AI to understand and generate content, so it handles judgement-style work, not just moving data. It connects to OpenAI (LLM), Google Sheets, YouTube, Gmail and completes multi-step tasks for you automatically — the kind of work you'd otherwise hand to a virtual assistant.

22
Nodes
5
Integrations
19
Connections
Manual, Schedule
Trigger

🚀 Deploy this workflow

Deploy this automation in minutes

Log in and we'll walk you through every key step by step, then deploy it for you.

Get started free Log in

🏗️ Architecture diagram

The real node graph exported from n8n — triggers (green), AI nodes (violet), services and logic — laid out as they run.

When clicking ‘Test w…manualTriggerSchedule Trigger1scheduleTriggerSet Charactersset🧠OpenAI Chat Model2lmChatOpenAi📊Get Existing IdeasgoogleSheetsSet Prompts 1set🌐Generate ImageshttpRequestWait 1waitSplit OutsplitOut🌐Get ImageshttpRequest🌐Generate VideoshttpRequest🧠Video PromptagentWait 2wait🌐Get VideoshttpRequestSplit Out PartscodeWait 3wait🌐Download VideohttpRequest▶️Upload VideoyouTube📧Notificationgmail📊Add RecordgoogleSheets🌐Render VideohttpRequestCodecode

⚙️ How it works

  1. When clicking ‘Test workflow’ · manualTrigger
  2. Schedule Trigger1 · scheduleTrigger
  3. OpenAI Chat Model2 · lmChatOpenAi
  4. Split Out Parts · code
  5. Upload Video · youTube
  6. Get Existing Ideas · googleSheets
  7. Video Prompt · agent
  8. Render Video · httpRequest
  9. Add Record · googleSheets
  10. Code · code
  11. Generate Videos · httpRequest
  12. Wait 3 · wait
  13. Notification · gmail
  14. Set Characters · set

💼 Business analysis

🎯

Business use case

Deploys an autonomous AI agent that can reason over instructions, call tools, and take multi-step actions on behalf of a team — replacing repetitive knowledge work. It orchestrates OpenAI (LLM), Google Sheets, HTTP / REST API, YouTube, Gmail so a single natural-language request becomes a completed task.

📈

Market need

Businesses are racing to put AI agents to work but lack the engineering to wire models to their real tools and data. This delivers that wiring as a ready-to-run asset.

💰

Market value

Custom AI-agent builds are quoted at $3,000–$15,000+ by agencies, with managed retainers on top. As a productised template it commands premium one-time or subscription pricing.

🧩 Integrations & stack

🧠OpenAI (LLM)📊Google Sheets🌐HTTP / REST API▶️YouTube📧Gmail
Node typesmanualTrigger, scheduleTrigger, set, lmChatOpenAi, googleSheets, httpRequest, wait, splitOut, agent, code, youTube, gmailWorkflow IDc7dR3ukz7dKKrLmu
⬇ Download workflow JSON ← Back to library