Templates / Create YouTube videos with OpenAI scripts, ElevenLabs voice, Pixabay and Shotstack

Create YouTube videos with OpenAI scripts, ElevenLabs voice, Pixabay and Shotstack

Needs changes

by Gilbert Onyebuchi ✓ · 3,106 views · created 2026-01-02 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 17 nodes and runs on a schedule (every day). Along the way it connects Google Drive. It also calls pixabay.com, api.elevenlabs.io and api.shotstack.io over HTTP.

How it runs

Trigger: On a schedule (every day).

  1. Set Video Parameters (Edit Fields (Set)): sets or maps fields
  2. Generate Script (OpenAI): work with chat
  3. Search Pixabay Videos (HTTP Request): calls pixabay.com (POST)
  4. HTTP Request: calls api.elevenlabs.io (POST)
  5. Extract Video URLs (Code): runs custom JavaScript code
  6. Upload Voiceover to Drive (Google Drive): uses Google Drive
  7. Merge: merges the data from its input branches
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Build Shotstack JSON (Code): runs custom JavaScript code
  10. Make Voiceover Public (Google Drive): share

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

Services it uses

Google Drive

HTTP calls to: pixabay.com, api.elevenlabs.io, api.shotstack.io

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • OpenAI (legacy) in Generate Script2: replace with OpenAI node (AI section).
Removed in 3.0Replace with
OpenAI (legacy)
Generate Script2
OpenAI node (AI section)

Nodes used (10)

From the author

Complete YouTube video automation workflow that creates ready-to-upload videos from start to finish. No manual editing required. How it works: This n8n automation fetches stock videos from Pixabay, generates AI-powered voiceover scripts with OpenAI, creates…

Excerpt from Gilbert Onyebuchi'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.