Templates / Auto-categorize blog posts in wordpress using A.I.

Auto-categorize blog posts in wordpress using A.I.

Needs changes

by Keith Rumjahn ✓ · 5,403 views · created 2025-01-08 · Document Extraction, AI Summarization

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

What to replace before upgrading

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (4)

WordpressOpenAI Chat ModelAI Agent

What it does

WordPress Post Auto-Categorization Workflow !Cover.png(fileId:887) 📺 Click here to watch youtube tutorial 🎯 Purpose Automatically categorize WordPress blog posts using AI, saving hours of manual work. This workflow analyzes your post titles and assigns them to predefined categories using artificial intelligence. 🔄 What This Workflow Does • Connects to your WordPress site • Retrieves all uncategorized posts • Uses AI to analyze post titles • Automatically assigns appropriate category IDs • Updates posts with new categories • Processes dozens of posts in minutes ⚙️ Setup Requirements 1. WordPress site with admin access 2. Predefined categories in WordPress 3. OpenAI API credentials (or your preferred AI provider) 4. n8n with WordPress credentials 🛠️ Configuration Steps 1. Add your WordPress categories (manually in WordPress) 2. Note down category IDs 3. Update the AI prompt with your category IDs 4. Configure WordPress credentials in n8n 5. Set up AI API connection 🔧 Customization Options • Modify AI prompts for different categorization criteria • Adjust for multiple category assignments • Add tag generation functionality • Customize for different content types • Add additional metadata updates ⚠️ Important Notes • Backup your WordPress database before running • Test with a few posts first • Review AI categorization results initially • Categories must be created manually first 🎁 Bonus Features • Can be modified for tag generation • Works with scheduled posts • Handles bulk processing • Maintains categorization consistency Perfect for content managers, bloggers, and website administrators looking to organize their WordPress content efficiently. n8n WordPress ContentManagement Automation AI Created by rumjahn

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.