๐ŸŽฌ Generate YouTube scripts for shorts & long-form with Gemini AI and Tavily Research

โšก 2,221 views ยท ๐ŸŽฌ Content Creation & Video

Description

๐Ÿค– Automated YouTube Script Generator (Shorts & Long-Form)

This workflow is a content multiplier. Provide a single video topic via a form, and it automatically researches, outlines, and writes two separate scripts: one for a YouTube Shorts and another for a Long-form video, saving both directly to Google Docs.


โœจ Key Features


โš™๏ธ How It Works

After a topic is submitted, the workflow splits into two parallel branches:

  1. The Shorts Branch: This path is built for speed. It performs a quick web search and immediately uses an AI agent to write a short, punchy script.
  2. The Long-Form Branch: This path focuses on structure. It conducts a web search, uses an AI agent to first create a detailed outline, and then uses another AI agent to write a comprehensive script based on that outline.

๐Ÿ”‘ Prerequisites


๐Ÿ› ๏ธ Setup Guide

  1. On form submission Trigger: Configure your form to accept a field for your video topic (e.g., a field named topic).
  2. Tavily Nodes: In both Tavily nodes, select or create your Tavily API credential and paste in your API key.
  3. Google Gemini Chat Model: In the nodes labeled AI Agent and Create Outline, select your Google AI credential linked to your Gemini API key.
  4. Google Docs Nodes: For all four Google Docs nodes (Create Doc, Update Doc, etc.), select your Google OAuth2 credential.
  5. Activate the Workflow: Once all credentials are in place, save and activate the workflow.

๐Ÿš€ How to Use

  1. Activate the workflow.
  2. Submit your topic via the connected form.
  3. Check your Google Drive a few moments later for your the new script!

๐Ÿ”— Nodes Used

HTTP Request, Google Docs, AI Agent, Basic LLM Chain, n8n Form Trigger, Google Gemini Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup