Templates / Generate YouTube, Reels, and TikTok scripts from one topic with GPT-4o-mini, Google Sheets, and Gmail

Generate YouTube, Reels, and TikTok scripts from one topic with GPT-4o-mini, Google Sheets, and Gmail

Needs changes

by isaWOW ✓ · 223 views · created 2026-04-27 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs when someone submits an n8n form (“Multi-Platform Video Script Generator”). Along the way it connects OpenAI Chat Model, Google Sheets and Gmail.

How it runs

Trigger: When someone submits an n8n form (“Multi-Platform Video Script Generator”).

  1. 2. Set — Config Values (Edit Fields (Set)): sets 10 fields: sheetId, sheetName, recipientEmail…
  2. 3. AI Agent — Write 3 Platform Scripts (AI Agent): runs an AI agent, with model: 4. OpenAI — GPT-4o-mini Model; output parser: 5. Parser — Structured Scripts Output
  3. 6. Code — Split Scripts for Sheets (Code): runs custom JavaScript code
  4. 7. Google Sheets — Log Video Scripts (Google Sheets): append
  5. 8. IF — All Scripts Logged? (If): checks a condition and branches into true / false
  6. 9. Code — Build Email (Code): runs custom JavaScript code
  7. 11. Set — More Scripts (Edit Fields (Set)): sets 1 field: result
  8. 10. Gmail — Send Scripts Email (Gmail): uses Gmail

Services it uses

OpenAI Chat ModelGoogle SheetsGmail

Before you upgrade to n8n 3.0

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

  • AI Agent v1 (old agent modes) in 3. AI Agent — Write 3 Platform Scripts (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
3. AI Agent — Write 3 Platform Scripts (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

Description Submit one video topic using a simple form and GPT-4o-mini generates three platform-ready scripts in a single AI call. You get a structured 700–900 word YouTube long-form script, a fast-paced 100–130 word Instagram Reels script with visual cues,…

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