Templates / Generate and publish AI home cam Shorts with OpenAI, kie.ai and YouTube

Generate and publish AI home cam Shorts with OpenAI, kie.ai and YouTube

Ready for 3.0

by theworkflowdev ✓ · 209 views · created 2026-06-16

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 18 nodes and runs on a schedule (every day). Along the way it connects OpenAI Chat Model, Google Drive, YouTube and Gmail.

How it runs

Trigger: On a schedule (every day).

  1. Configure Workflow Variables (Edit Fields (Set)): sets or maps fields
  2. Pick Idea At Random (Code): runs custom JavaScript code
  3. Generate Video Script and Metadata (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Model; 1 tool (Think Through Video Concept); memory: Conversation Memory Buffer; output parser: Validate Video Script JSON
  4. Prepare Video Generation Request (Code): runs custom JavaScript code
  5. Submit Video to kie.ai (HTTP Request): calls an HTTP API
  6. Wait: pauses before continuing
  7. Poll kie.ai for Video Status (HTTP Request): calls an HTTP API
  8. Check if Video is Ready (If): checks a condition and branches into true / false
  9. Extract Video Download URL (Code): runs custom JavaScript code
  10. Download Generated Video File (HTTP Request): calls an HTTP API

…plus 3 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle DriveYouTubeGmail

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (14)

From the author

Quick overview This workflow runs three times daily to generate an AI “home cam” short video concept with OpenAI, create the video via kie.ai, then download and archive it to Google Drive, upload it to YouTube as a public video, and send a confirmation email…

Excerpt from theworkflowdev's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.