Generate News Digest Videos from WordPress to YouTube with Shotstack
    100%
    Automation
    0(0 reviews)
    18 downloads

    Generate News Digest Videos from WordPress to YouTube with Shotstack

    NM

    Curated by n8n Markets team

    Last updated: March 8, 2026

    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 7. ⏳ Processing Wait Waits 30 seconds for Shotstack to render the video Polls Shotstack API to verify video completion 8. πŸ“₯ Download Video Retrieves the finished MP4 file from Shotstack Downloads video data for YouTube upload 9. πŸ“€ 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

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 15-30 min

    Included in Builder Pro β€” $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Mar 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Reviews

    0

    No reviews yet

    See all 0 reviews ↓
    β€”

    0 reviews

    5β˜…
    0
    4β˜…
    0
    3β˜…
    0
    2β˜…
    0
    1β˜…
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought