🎬 Repurpose YouTube videos into multichannel content with Gemini and Google Sheets

⚡ 108 views · 🎬 Content Creation & Video

💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.

View All Scrapers

Description

Quick overview

This workflow takes a YouTube video URL, fetches its transcript via RapidAPI, uses Google Gemini to generate multiple repurposed content assets, stores everything in Google Sheets, and automatically publishes the LinkedIn post while logging posted/failed status and any errors.

How it works

  1. Starts when a user submits a YouTube video URL through an n8n form.
  2. Requests the video transcript from the youtube-transcript3 RapidAPI endpoint and normalizes it into a single clean text block.
  3. Sends the transcript to Google Gemini to generate a JSON bundle containing a title, summary, blog article, LinkedIn post, X (Twitter) thread, newsletter, content ideas, hooks, and CTA suggestions.
  4. Parses and validates the Gemini response into consistent fields for downstream use.
  5. Appends the transcript and all generated content to Google Sheets (Sheet1) as a content database row.
  6. Publishes the generated LinkedIn post to your LinkedIn profile and updates the same Google Sheets row as Posted or Failed.
  7. Logs any errors from transcript fetching, AI generation/parsing, Google Sheets, or LinkedIn publishing to a Google Sheets “Errors” tab.

Setup

  1. Create a RapidAPI subscription for youtube-transcript3 and replace the x-rapidapi-key value with your RapidAPI key.
  2. Add Google Gemini (PaLM) API credentials in n8n and connect them to the Google Gemini Chat Model node.
  3. Create a Google Sheets spreadsheet with “Sheet1” and an “Errors” sheet using the exact headers shown in the workflow notes, then set your Google Sheet ID in all Google Sheets nodes.
  4. Add Google Sheets OAuth2 credentials in n8n with access to that spreadsheet.
  5. Add LinkedIn OAuth2 credentials in n8n and confirm the workflow is permitted to post to the target LinkedIn account.

Requirements

Customization

Additional info

This is built as an n8n workflow that starts from a form (YouTube URL input), calls a transcript API, uses a Gemini model node, and writes to Google Sheets plus LinkedIn.

I’m comfortable editing nodes, expressions, and environment variables myself, so a clean template without bound credentials is actually preferred.

🔗 Nodes Used

Google Sheets, HTTP Request, LinkedIn, 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