Skip to main content

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

Workflow preview

Workflow preview
100%
Transform YouTube videos to LinkedIn posts with Apify, GPT-4.1 Mini & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Transform YouTube videos to LinkedIn posts via Apify, GPT 4.1 Mini, and Google Sheets This workflow transforms new YouTube videos from any channel into ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.rssfeedreadtrigger, @apify/n8n-nodes-apify.apify, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.splitout, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ayesha Gull.

Original n8n.io source

1.1 Workflow description

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

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

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

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:
  • Video Link
  • Theme
  • Hook
  • Body
  • CTA
  • Hashtags Now in the n8n Google Sheets node, authenticate your account. Then select the spreadsheet you just prepared and the specific sheet name from the dropdown lists.
  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

  • An n8n instance.
  • An Apify account and API key.
  • An OpenAI account and API key.
  • A Google account with a prepared Google Sheet.

How to customize the workflow

  • Monitor Multiple Channels: The easiest way to watch more than one channel is to add multiple RSS Feed Trigger nodes to the canvas. Configure each trigger with a different YouTube channel's RSS URL, and then connect the output of all of them to the input of the first Apify node. This setup will start the workflow whenever any of the monitored channels publishes a new video.
  • Change the number of posts: You can easily edit the prompt in the "OpenAI Chat Model" node to request a different number of posts (e.g., change "exactly 2" to "exactly 3").
  • Adjust the tone: The persona and rules in the OpenAI prompt can be modified to change the style of the generated posts to better match your brand voice.
  • Add scheduling: Connect a scheduling node (e.g., Buffer, SocialBee) after the "Google Sheets" node to create a fully automated content pipeline that publishes the posts for you.

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - RSS Feed Trigger

Type / Role
n8n-nodes-base.rssFeedReadTrigger - rssFeedReadTrigger
Config choices
Version 1

Block 2 - Run an Actor and get dataset

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 3 - Message a model

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 4 - Code in JavaScript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 7 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Transform YouTube videos to LinkedIn posts with Apify, GPT-4.1 Mini & Google Sheets
Complexity intermediate
Nodes 12
Categories Content Creation, Multimodal AI
Author Ayesha Gull
Published 08 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9386/9386.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Transform YouTube videos to LinkedIn posts with Apify, GPT-4.1 Mini & Google Sheets do?

Transform YouTube videos to LinkedIn posts via Apify, GPT 4.1 Mini, and Google Sheets This workflow transforms new YouTube videos from any channel into ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.