Templates / YouTube video to AI-powered auto blogging and affiliate automation

YouTube video to AI-powered auto blogging and affiliate automation

Needs changes

by Amjid Ali βœ“ Β· 4,024 views Β· created 2025-04-26 Β· Content Creation, Multimodal AI

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: HTTP Request Tool (legacy), AI Agent v1 (old agent modes). 2 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
HTTP Request Tool (legacy)
affiliate_links, wp_category, wp_tag
HTTP Request node connected to the AI Agent's Tool input
AI Agent v1 (old agent modes)
Technical Blog Writer (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (13)

Google Gemini Chat ModelHTTP RequestYouTubeStructured Output ParserAirtableAI Agent

What it does

πŸš€ YouTube to WordPress AI-Powered Automation Transform your YouTube content into professional blog posts automatically! This n8n template seamlessly converts your YouTube videos into fully-formatted, SEO-optimized WordPress blog posts using AI-powered content generationβ€”all without lifting a finger. --- 🎯 What This Automation Does - πŸ“Ί Monitors your YouTube channel for new video uploads - πŸ” Extracts key video information (title, description, URL, thumbnail) - πŸ€– Leverages AI to generate comprehensive blog content based on video material - ✏️ Creates SEO-optimized titles, excerpts, and tags - πŸ–ΌοΈ Formats posts beautifully with embedded videos and proper HTML structure - πŸ“ Publishes directly to WordPress via secure API connection - ⏱️ Runs on your schedule β€” daily, weekly, or after each new upload !Workflow Overview --- πŸ§‘β€πŸ« Step-by-Step Video Tutorial πŸŽ₯ Watch the implementation tutorial: !YouTube to WordPress Automation πŸ“Œ See the complete workflow setup and content transformation in action. --- 🌐 Useful Links - πŸ”— Get started with n8n Cloud: πŸ‘‰ https://n8n.io/cloud/ - πŸ“˜ YouTube Data API documentation: πŸ‘‰ https://developers.google.com/youtube/v3 - πŸ“š WordPress REST API handbook: πŸ‘‰ https://developer.wordpress.org/rest-api/ - 🧠 OpenAI API documentation: πŸ‘‰ https://platform.openai.com/docs/api-reference --- πŸ›  Prerequisites - βœ… n8n installation (self-hosted or cloud) - βœ… YouTube Data API key - βœ… AI provider API key (OpenAI, Google Gemini, etc.) - βœ… WordPress website with REST API enabled - βœ… WordPress application password for secure authentication --- πŸ“‹ Step-by-Step Implementation 1️⃣ YouTube Video Detection - Youtube RSS Feedlink to fetch new video automatically - Implement filtering to process only videos not yet published to WordPress 2️⃣ Content Preparation - Extract essential video metadata (ID, title, description, thumbnail URL) - Structure the information for AI processing and WordPress publication - Format video thumbnails for use as featured images in blog posts 3️⃣ AI Content Generation - Configure your preferred AI provider (OpenAI, Gemini, etc.) - Create detailed prompts that instruct the AI to: - Maintain your brand voice and writing style - Structure content with proper headings and subheadings - Creates Internal Links from existing blogposts - Creators Extenal links using affilaite links and other link database. - Engaging SEO frendly. - Automatically monetizes by embedding social PartnerStack Links - Include key points from the video - Generate SEO-friendly paragraphs and conclusions 4️⃣ Content Enhancement - Format the AI-generated content with proper HTML structure - Add responsive embedded YouTube player - Include attribution links back to original video - Create custom intro and conclusion sections 5️⃣ WordPress Publishing - Securely connect to WordPress via REST API - Set post parameters (title, content, excerpt, categories, tags) - Configure post status (publish immediately or save as draft) - Add featured image using video thumbnail 6️⃣ Notification & Logging - Receive email or Slack notifications when new posts are published - Log workflow executions for troubleshooting - Track successful publications for reporting --- πŸ’° Automatic Affiliate Marketing Integration Transform your blog posts into passive income generators by automatically embedding relevant affiliate links based on your video content: PartnerStack Integration - Dynamically fetch relevant affiliate links from your PartnerStack account - Intelligently match products to video content using AI-powered relevance scoring - Automatically insert formatted affiliate links with proper disclosure notices - Track performance metrics for each generated post's affiliate conversions Example setup: Connect PartnerStack API β†’ Filter relevant products β†’ Insert links in strategic post positions Custom Affiliate Database via Airtable - Create a centralized product-keyword Airtable database: - Product name and description - Affiliate link with your uniq

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.