YouTube video to AI-powered auto blogging and affiliate automation
Needs changesNeeds 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.0 | Replace 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)
- Edit Fields (Set)
n8n-nodes-base.set - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - RSS Feed Trigger
n8n-nodes-base.rssFeedReadTrigger - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - HTTP Request
n8n-nodes-base.httpRequest - YouTube
n8n-nodes-base.youTube - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - XML
n8n-nodes-base.xml - Split Out
n8n-nodes-base.splitOut - Aggregate
n8n-nodes-base.aggregate - Airtable Tool
n8n-nodes-base.airtableTool - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code
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