Back to Integrations
integrationWordpress node
integrationYouTube node

Wordpress and YouTube integration

Save yourself the work of writing custom integrations for Wordpress 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 Wordpress and YouTube

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: 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.

Wordpress and YouTube integration: Create a new workflow and add the first step

Step 2: Add and configure Wordpress and YouTube nodes

You can find Wordpress and YouTube in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Wordpress and YouTube nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Wordpress and YouTube integration: Add and configure Wordpress and YouTube nodes

Step 3: Connect Wordpress and YouTube

A connection establishes a link between Wordpress and YouTube (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Wordpress and YouTube integration: Connect Wordpress and YouTube

Step 4: Customize and extend your Wordpress and YouTube integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Wordpress and YouTube with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Wordpress and YouTube integration: Customize and extend your Wordpress and YouTube integration

Step 5: Test and activate your Wordpress and YouTube workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Wordpress to YouTube or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Wordpress and YouTube integration: Test and activate your Wordpress and YouTube workflow

Generate news digest videos from WordPress to YouTube with Shotstack

Daily News Digest Video Generator for YouTube Shorts

Instalations Instructions

Youtube Instalation Instructions

Overview

This workflow automatically creates and publishes daily news digest videos from WordPress articles to YouTube. It runs every evening at 7 PM, compiling the day's top stories from a news portal into a professionally formatted vertical video (1080x1920px) optimized for social media platforms like YouTube Shorts.

What It Does

  1. 🕐 Scheduled Trigger
    Runs automatically every day at 19:00 (7 PM)

  2. 📰 Fetches Today's Articles
    Retrieves all published WordPress posts from the current day

  3. ✅ Validates Content
    Ensures there are at least 3 articles before proceeding

  4. 🎬 Video Detection
    Scans article content HTML for embedded videos
    Extracts MP4 URLs from WordPress video players
    Parses wp-playlist-script JSON data
    Falls back to and <source> tag detection

  5. 🧹 Data Processing
    Extracts** article titles, links, and featured media IDs
    Decodes HTML entities**: Converts – to –, " to ", etc.
    Fetches featured images** from WordPress Media API
    Assigns default images** for articles without featured media
    Calculates reading time** per article (3-7 seconds based on word count)
    Cleans text**: Removes HTML tags and normalizes whitespace

  6. 🎥 Video Generation (via Shotstack API)

Intro Slide (3 seconds)
Black background
Large logo (centered)
Title on center
Current date in DD-MM-YYYY format

News Slides (3-7 seconds each)
Each article is displayed with:
Background**: Video (if available) or featured image, cropped to fit
Dark overlay**: 40% opacity black layer for text readability
Article headline**: Large white text at top
Small logo**: Top-right corner
Pagination counter**: Bottom-right white badge (e.g., "1 / 22")
CTA button**: Centered CTA
Background music**: Subtle looped audio track
Transitions**: Smooth fade in/out between slides

Outro Slide (3 seconds)
Identical to intro slide
Provides clean ending to the video

  1. ⏳ Processing Wait
    Waits 30 seconds for Shotstack to render the video
    Polls Shotstack API to verify video completion

  2. 📥 Download Video
    Retrieves the finished MP4 file from Shotstack
    Downloads video data for YouTube upload

  3. 📤 YouTube Upload
    Automatically uploads to YouTube with:
    Title**: "Daily Digest - [Day] [Weekday], [Year]"
    Description**: Same as title
    Category**: News & Politics
    Made for kids**: Yes
    Tags**: dailydigest

✨ Key Features

Intelligent Content Handling
✅ Automatic video/image detection and intelligent media selection
✅ Dynamic reading time calculation for optimal viewer engagement
✅ HTML entity cleaning for proper text display (WordPress compatibility)
✅ Fallback default images for articles without media
✅ Video background support with automatic muting

Professional Video Production
✅ Vertical format optimized for mobile viewing (1080x1920px)
✅ Professional branding with logos and consistent styling
✅ Smooth fade transitions between slides
✅ Background music with looping support
✅ Dynamic pagination counters
✅ Call-to-action buttons for engagement

Customization
✅ Centralized variables for easy branding updates
✅ Configurable logos, colors, and text
✅ Adjustable reading time calculation
✅ Flexible date formatting
✅ Customizable audio track

🎯 Use Cases

Perfect for:
📰 News websites wanting to repurpose daily articles
📱 Media outlets creating social media content
🎥 Content creators automating video production
🔄 Publishers maximizing content distribution
📊 Marketing teams driving traffic from social platforms

🔧 Customization Options

Easy Changes
Update logos by changing logo_big and logo_small URLs
Modify branding colors via button_bg_color variable
Adjust button text with button_text variable
Change video title with daily_digest_text variable
Update background music by replacing audio URL

Advanced Customization
Adjust reading time formula in calculateReadingTime() function
Modify date format in getRomanianDate() function
Change video dimensions (currently 1080x1920)
Update font family and sizes
Adjust overlay opacity and colors
Modify transition effects

📋 Prerequisites

Required Credentials
WordPress API - Access your WordPress site
Shotstack API - API key for video rendering (Stage environment)
YouTube OAuth2 - Authenticated YouTube account for uploads

Nodes used in this workflow

Popular Wordpress and YouTube workflows

Generate News Digest Videos from WordPress to YouTube with Shotstack

Daily News Digest Video Generator for YouTube Shorts Instalations Instructions Youtube Instalation Instructions Overview This workflow automatically creates and publishes daily news digest videos from WordPress articles to YouTube. It runs every evening at 7 PM, compiling the day's top stories from a news portal into a professionally formatted vertical video (1080x1920px) optimized for social media platforms like YouTube Shorts. What It Does 🕐 Scheduled Trigger Runs automatically every day at 19:00 (7 PM) 📰 Fetches Today's Articles Retrieves all published WordPress posts from the current day ✅ Validates Content Ensures there are at least 3 articles before proceeding 🎬 Video Detection Scans article content HTML for embedded videos Extracts MP4 URLs from WordPress video players Parses wp-playlist-script JSON data Falls back to and <source> tag detection 🧹 Data Processing Extracts** article titles, links, and featured media IDs Decodes HTML entities**: Converts – to –, " to ", etc. Fetches featured images** from WordPress Media API Assigns default images** for articles without featured media Calculates reading time** per article (3-7 seconds based on word count) Cleans text**: Removes HTML tags and normalizes whitespace 🎥 Video Generation (via Shotstack API) Intro Slide (3 seconds) Black background Large logo (centered) Title on center Current date in DD-MM-YYYY format News Slides (3-7 seconds each) Each article is displayed with: Background**: Video (if available) or featured image, cropped to fit Dark overlay**: 40% opacity black layer for text readability Article headline**: Large white text at top Small logo**: Top-right corner Pagination counter**: Bottom-right white badge (e.g., "1 / 22") CTA button**: Centered CTA Background music**: Subtle looped audio track Transitions**: Smooth fade in/out between slides Outro Slide (3 seconds) Identical to intro slide Provides clean ending to the video ⏳ Processing Wait Waits 30 seconds for Shotstack to render the video Polls Shotstack API to verify video completion 📥 Download Video Retrieves the finished MP4 file from Shotstack Downloads video data for YouTube upload 📤 YouTube Upload Automatically uploads to YouTube with: Title**: "Daily Digest - [Day] [Weekday], [Year]" Description**: Same as title Category**: News & Politics Made for kids**: Yes Tags**: dailydigest ✨ Key Features Intelligent Content Handling ✅ Automatic video/image detection and intelligent media selection ✅ Dynamic reading time calculation for optimal viewer engagement ✅ HTML entity cleaning for proper text display (WordPress compatibility) ✅ Fallback default images for articles without media ✅ Video background support with automatic muting Professional Video Production ✅ Vertical format optimized for mobile viewing (1080x1920px) ✅ Professional branding with logos and consistent styling ✅ Smooth fade transitions between slides ✅ Background music with looping support ✅ Dynamic pagination counters ✅ Call-to-action buttons for engagement Customization ✅ Centralized variables for easy branding updates ✅ Configurable logos, colors, and text ✅ Adjustable reading time calculation ✅ Flexible date formatting ✅ Customizable audio track 🎯 Use Cases Perfect for: 📰 News websites wanting to repurpose daily articles 📱 Media outlets creating social media content 🎥 Content creators automating video production 🔄 Publishers maximizing content distribution 📊 Marketing teams driving traffic from social platforms 🔧 Customization Options Easy Changes Update logos by changing logo_big and logo_small URLs Modify branding colors via button_bg_color variable Adjust button text with button_text variable Change video title with daily_digest_text variable Update background music by replacing audio URL Advanced Customization Adjust reading time formula in calculateReadingTime() function Modify date format in getRomanianDate() function Change video dimensions (currently 1080x1920) Update font family and sizes Adjust overlay opacity and colors Modify transition effects 📋 Prerequisites Required Credentials WordPress API - Access your WordPress site Shotstack API - API key for video rendering (Stage environment) YouTube OAuth2 - Authenticated YouTube account for uploads

Generate Blog Posts from YouTube Videos with OpenAI GPT for WordPress & Webflow

Description Who's it for: Content creators, marketers, and businesses who publish on both YouTube and blog platforms. What it does: Monitors your YouTube channel for new videos and automatically creates SEO-optimized blog posts using AI, then publishes to WordPress or Webflow. How it works: RSS Feed Trigger polls YouTube videos (every X amount of time) Extracts video metadata (title, description, thumbnail) YouTube node extracts full description for extra context Uses OpenAI (you can choose any model) to generate 600-800 word blog post Publishes to WordPress AND/OR Webflow with error handling Sends notifications to Telegram if publishing fails Requirements: YouTube channel ID (avoid tutorial channels for better results) OpenAI API key (or similar) WordPress OR Webflow credentials Telegram bot (optional, for error notifications) Setup steps: Replace YOUR_CHANNEL_ID in RSS Feed Trigger Add OpenAI credentials in AI generation node Configure WordPress and/or Webflow credentials Add Telegram bot for error notifications (optional). If you choose to set up Telegram, you need to input your channel ID. Test with manual execution first Customization: Modify AI prompt for different content styles Adjust polling frequency (30-60 minutes recommended) Add more CMS platforms Add content verification (is content larger than 600 characters? if not, improve)

Build your own Wordpress and YouTube integration

Create custom Wordpress 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.

Wordpress supported actions

Create
Create a post
Get
Get a post
Get Many
Get many posts
Update
Update a post
Create
Create a page
Get
Get a page
Get Many
Get many pages
Update
Update a page
Create
Create a user
Get
Get a user
Get Many
Get many users
Update
Update a user

YouTube supported actions

Get
Retrieve a channel
Get Many
Retrieve many channels
Update
Update a channel
Upload Banner
Upload a channel banner
Create
Create a playlist
Delete
Delete a playlist
Get
Get a playlist
Get Many
Retrieve many playlists
Update
Update a playlist
Add
Add an item to a playlist
Delete
Delete a item from a playlist
Get
Get a playlist's item
Get Many
Retrieve many playlist items
Delete
Delete a video
Get
Get a video
Get Many
Retrieve many videos
Rate
Rate a video
Update
Update a video
Upload
Upload a video
Get Many
Retrieve many video categories

FAQs

  • Can Wordpress connect with YouTube?

  • Can I use Wordpress’s API with n8n?

  • Can I use YouTube’s API with n8n?

  • Is n8n secure for integrating Wordpress and YouTube?

  • How to get started with Wordpress and YouTube integration in n8n.io?

Need help setting up your Wordpress and YouTube integration?

Discover our latest community's recommendations and join the discussions about Wordpress and YouTube integration.
Jan Koch

Looking to integrate Wordpress and YouTube in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Wordpress with YouTube

Build complex workflows, really fast

Build complex workflows, really fast

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

Code when you need it, UI when you don't

Simple debugging

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

Use templates to get started fast

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

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon