See llms.txt for all machine-readable content.

X (Formerly Twitter) and YouTube integration

Save yourself the work of writing custom integrations for X (Formerly Twitter) and YouTube and use n8n instead. Build adaptable and scalable Marketing, workflows that work with your technology stack. All within a building experience you will love.

How to connect X (Formerly Twitter) and YouTube

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

X (Formerly Twitter) and YouTube integration: Create a new workflow and add the first step

Hacker News to video content

Hacker News to Video Content Overview This workflow converts trending articles from Hacker News into engaging video content. It integrates AI-based tools to analyze, summarize, and generate multimedia content, making it ideal for content creators, educators, and marketers. Features Article Retrieval: Pulls trending articles from Hacker News. Limits the number of articles to process (configurable). Content Analysis: Uses OpenAI's GPT model to: Summarize articles. Assess their relevance to specific topics like automation or AI. Extract key image URLs. Image and Video Generation: Leonardo.ai: Creates stunning AI-generated images based on extracted prompts. RunwayML: Converts images into high-quality videos. Structured Content Creation: Parses content into structured formats for easy reuse. Generates newsletter-friendly blurbs and social media-ready captions. Cloud Integration: Uploads generated assets to: Dropbox Google Drive Microsoft OneDrive MinIO Social Media Posting (Optional): Supports posting to YouTube, X (Twitter), LinkedIn, and Instagram. Workflow Steps 1. Trigger Initiated manually via the "Test Workflow" button. 2. Fetch Articles Retrieves articles from Hacker News. Limits the results to avoid processing overload. 3. Content Filtering Evaluates if articles are related to AI/Automation using OpenAI's language model. 4. Image and Video Generation Generates: AI-driven image prompts via Leonardo.ai. Videos using RunwayML. 5. Asset Management Saves the output to cloud storage services or uploads directly to social media platforms. Prerequisites API Keys: Hacker News OpenAI Leonardo.ai RunwayML Creatomate n8n Installation: Ensure n8n is installed and configured locally or on a server. Credentials: Set up credentials in n8n for all external services used in the workflow. Customization Replace Hacker News with any other data source node if needed. Configure the "Article Analysis" node for different topics. Adjust the cloud storage services or add custom storage options. Usage Import this workflow into your n8n instance. Configure your API credentials. Trigger the workflow manually or schedule it as needed. Check the outputs in your preferred cloud storage or social media platform. Notes Extend this workflow further by automating social media posting or newsletter integration. For any questions, refer to the official documentation or reach out to the creator. About the Creator This workflow was built by AlexK1919, an AI-native workflow automation architect. Check out the overview video for a quick demo. Tools Used Leonardo.ai RunwayML Creatomate Hacker News API OpenAI GPT Feel free to adapt and extend this workflow to meet your specific needs! 🎉

Build your own X (Formerly Twitter) and YouTube integration

Create custom X (Formerly Twitter) and YouTube workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

X (Formerly Twitter) supported actions

YouTube supported actions

X (Formerly Twitter) and YouTube integration details

X (Formerly Twitter)

X (Formerly Twitter)

Twitter is a microblogging and social networking platform where users can post, share and reply to messages called "tweets" on the platform. It remains one of the world's largest social media websites.

YouTube

YouTube

YouTube is the best video hosting and social media website where users can upload, watch, comment, rate and share streaming videos. It is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.

Automate lead management

Using too many marketing tools? n8n lets you orchestrate all your apps into one cohesive, automated workflow.

Learn more

FAQ about X (Formerly Twitter) integrations

Need help setting up your X (Formerly Twitter) and YouTube integration?

Discover our latest community's recommendations and join the discussions about X (Formerly Twitter) and YouTube integration.

  • Fikri Tekin

    403 Forbidden Error on X (Twitter) Media Upload

    Fikri Tekin

    Hi everyone, I am trying to upload an image to X (Twitter) using the HTTP Request Node but I keep receiving a 403 Forbidden error. My Setup: n8n Version: 2.1.5 (Self-hosted) Endpoint: https://api.x.com/2/media/up…

    Open topic
  • lexgabrees

    Twitter Authentication not Working

    lexgabrees

    I’ve been trying to connect the Twitter node to well, Twitter. Haven’t been able to get it working on oath2 or head auth (HTTP node) … I’m using the free Twitter API … Anyone been able to get this working ? If so, how…

    Open topic
  • Andrey Khokhlov

    Twitter credentials does not working

    Andrey Khokhlov

    Describe the problem/error/question Twitter is not working, no matter v1 or v2 oauth. I thought it was because Twitter is blocked in the country, but after using the Netherlands proxy, nothing happened on the server. Wh…

    Open topic
  • Tarek Moubarek

    YouTube Upload Node Fails with "Media type 'application/mp4' is not supported" Error

    Tarek Moubarek

    Bug Report: YouTube Upload Node Fails with “Media type ‘application/mp4’ is not supported” Error Summary The n8n YouTube node consistently fails when uploading standard .mp4 video files. It returns a HTTP 400 Bad Reque…

    Open topic
  • Jan Koch

    YouTube upload is failing

    Jan Koch

    Describe the problem/error/question I want to upload a Video from Google Drive to YouTube. I get the file downloaded and into a binary field but the upload in the YouTube node is failing with an “internal error” message.…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate X (Formerly Twitter) with YouTube

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship