Templates / Generate YouTube scripts and full SEO package with GPT-4o-mini and Gmail

Generate YouTube scripts and full SEO package with GPT-4o-mini and Gmail

Needs changes

by Incrementors ✓ · 158 views · created 2026-04-22 · 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 10 nodes and runs when someone submits an n8n form (“YouTube Video Content Generator”). Along the way it connects OpenAI Chat Model and Gmail.

How it runs

Trigger: When someone submits an n8n form (“YouTube Video Content Generator”).

  1. 2. Set — Config Values (Edit Fields (Set)): sets 9 fields: recipientEmail, senderName, channelNiche…
  2. 3. AI Agent — Write Video Script (AI Agent): runs an AI agent, with model: 4. OpenAI — Script Model GPT-4o-mini
  3. 5. Set — Save Script and Config (Edit Fields (Set)): sets 9 fields: videoScript, videoTopic, targetAudience…
  4. 6. AI Agent — Generate SEO Package (AI Agent): runs an AI agent, with model: 7. OpenAI — SEO Model GPT-4o-mini; output parser: 8. Parser — Structured SEO Output
  5. 9. Code — Build Email (Code): runs custom JavaScript code
  6. 10. Gmail — Send Content Package (Gmail): uses Gmail

Services it uses

OpenAI Chat ModelGmail

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 Video Script (v1.7), 6. AI Agent — Generate SEO Package (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 Video Script (v1.7), 6. AI Agent — Generate SEO Package (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (7)

From the author

Description Submit your video topic, target audience, video length, and tone of voice using a simple form and two sequential AI agents do the rest. The first writes a complete structured video script with hook, three content sections, conclusion, and call to…

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