🎬 Transform YouTube videos to LinkedIn posts with Apify, GPT-4.1 Mini & Google Sheets

⚡ 132 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

Transform YouTube videos to LinkedIn posts via Apify, GPT-4.1 Mini, and Google Sheets

youtube to linkedin icon.png

This workflow transforms new YouTube videos from any channel into high-quality, ready-to-publish LinkedIn posts and saves them directly to a Google Sheet, creating a powerful, automated content repurposing engine.

Workflow Preview

workflow.png

Who’s it for

This template is perfect for content creators, social media managers, and marketing teams who want to save time and consistently repurpose video content for their professional audience on LinkedIn.

What it does

This automation monitors a specific YouTube channel for new video uploads. When a new video is detected, it automatically extracts the full transcript. The transcript is then sent to an advanced AI model (GPT-4o or similar) which acts as a “thought leader” to generate two distinct, insightful LinkedIn posts based on the video’s core themes. Finally, these generated posts are neatly organized and saved as new rows in a Google Sheet for easy review and scheduling.

How to set up

  1. Set the Trigger: In the “RSS Feed Trigger” node, enter the RSS Feed URL for the YouTube channel you want to monitor. You can find this by searching the channel’s page source for its channel_id and using the format: https://www.youtube.com/feeds/videos.xml?channel_id=YOUR_ID_HERE.
  2. Connect Credentials: Add your API credentials for Apify and OpenAI in their respective nodes.
  3. Configure Google Sheets: First prepare your spreadsheet by opening Google Sheets and creating a new sheet. In the first row, create the following headers exactly as they appear below:
  1. Activate: Save the workflow and toggle it to “Active”.

How to Find a YouTube Channel ID

To monitor a specific channel, you need its unique ID to create the RSS feed URL required in the first step. Here’s how to find it:

  1. Navigate to the main page of the YouTube channel you want to follow (e.g., https://www.youtube.com/@CalebWritesCode).
  2. Right-click anywhere on the page and select “View Page Source” from the menu.
  3. A new browser tab will open with the website’s code. Press Ctrl+F (on Windows) or Cmd+F (on Mac) to open the search bar.
  4. In the search bar, type <yt:channelId> and press Enter.
  5. The search will highlight a line of code containing the ID. Copy the long string of letters and numbers that appears inside the <yt:channelId> tag.
  6. Paste this ID into the RSS Feed URL format: https://www.youtube.com/feeds/videos.xml?channel_id=YOUR_ID_HERE.

Requirements

How to customize the workflow

Disclaimer: This template uses a community node. It is recommended for users on self-hosted n8n instances.

đź”— Nodes Used

Google Sheets, RSS Feed Trigger, OpenAI

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup