Repurpose YouTube videos with Gemini
A YouTube video turned into posts and a newsletter. This n8n template repurposes one YouTube video into several written pieces. You paste the video URL in an n8n form. The workflow fetches the transcript through the youtube-transcript3 API on RapidAPI, then asks Google Gemini for a JSON bundle: a title, a summary, a blog article, a LinkedIn post, an X thread, a newsletter, content ideas, hooks and call-to-action suggestions. Everything is added to a Google Sheets row, the LinkedIn post is published to your profile, and the row status becomes Posted or Failed. Errors go to a separate sheet.
Steps
- Trigger: Form submissionn8n Form
A user submits a YouTube video URL. - Get the transcriptRapidAPI
Requests the transcript from the youtube-transcript3 endpoint. - Generate contentGoogle Gemini
Gemini returns the JSON bundle of written pieces. - Parse and validate
Checks the JSON output. - Append to Google SheetsGoogle Sheets
Adds the transcript and content as a row. - Output: Publish to LinkedInLinkedIn
Posts the LinkedIn text and updates the row status. - Output: Log errorsGoogle Sheets
Writes errors to the Errors tab.
Limits
- Needs a RapidAPI subscription for the transcript API.
- Only the LinkedIn post is published; the other pieces stay in the sheet.
What it does well
- One video URL gives nine kinds of written output.
- Each row carries a Posted or Failed status, and errors go to their own tab.
Before you import
Only the LinkedIn post is published; the blog article, X thread and newsletter stay in the sheet.
Similar templates
LinkedIn and X posts with Gemini
Also for content and social, 6 steps.
YouTube video to blog post, by email
Also for content and social, 6 steps.
LinkedIn post and image with Gemini
Also for content and social, 5 steps.
Google Sheets and n8n Form: 6 templates compared
Same two apps, different steps.
Google Gemini and n8n Form: 5 templates compared
Same two apps, different steps.
Google Gemini and Google Sheets: 2 templates compared
Same two apps, different steps.
Google Gemini and LinkedIn: 2 templates compared
Same two apps, different steps.
LinkedIn and n8n Form: 2 templates compared
Same two apps, different steps.