📱 Automatically promote your YouTube video on X

6,721 views · 📱 Social Media & Email Marketing

💡 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

YouTube to X Post

Overview

This n8n workflow automates the process of promoting your latest YouTube videos on X (formerly Twitter). It ensures that posts are engaging, concise, and follow platform-specific requirements. Additionally, the workflow logs social posts into a Google Sheet for record-keeping.

Features


How It Works

  1. Trigger:

    • Manually trigger the workflow or set a scheduled check for new videos (disabled by default).
  2. Fetch YouTube Videos:

    • Retrieves the latest videos from your YouTube channel, filtering duplicates.
  3. Content Creation:

    • OpenAI generates a witty and humanized post under 220 characters, using video title and description.
    • If the post exceeds the character limit, it is rewritten automatically.
  4. Google Sheets Logging:

    • Logs the generated post to a Google Sheet with details like time, date, and post status.
  5. Post to X:

    • Publishes the generated post on X. Updates the Google Sheet with the post URL.
  6. Optional Notifications:

    • Sends notifications about the published post via Discord, Slack, or Gmail.

Setup Instructions

  1. Credentials:

    • Add credentials for:
      • YouTube API
      • OpenAI API
      • Google Sheets API
      • X (formerly Twitter) API
    • Use the accounts associated with “AlexK1919.”
  2. YouTube Node:

  3. Google Sheets Node:

  4. OpenAI Node:

    • Set up your OpenAI API key for generating posts.
  5. X Post Node:

    • Connect your X account to the Post to X node.
  6. Optional Notifications:

    • Configure Discord, Slack, or Gmail nodes for custom notifications.

Customization


Notes


Contact

For support or inquiries:

🔗 Nodes Used

Google Sheets, Slack, Discord, X (Formerly Twitter), Gmail, YouTube

📥 Import

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

📖 Importing guide · 🔑 Credential setup