Back to Templates
  • +2

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

Created by

Keith Rumjahn

Last update

Last update 4 months ago

Categories
Share

WordPress Post Auto-Categorization Workflow

Cover.png

💡 Click here to read detailed case study

📺 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