Automatically tag WordPress blog posts with AI-generated labels
Workflow Description
This workflow monitors RSS feeds for new articles, sends them to OpenAI to extract relevant tags automatically, applies those tags to posts in WordPress, and shares the links on X. It processes content in batches to handle multiple articles efficiently.
How it works
- 1.Listen to RSS feed triggers to detect newly published articles
- 2.Process articles in batches and send them to LLM Chain for tag extraction
- 3.Parse the AI response and apply extracted tags to the WordPress post
- 4.Automatically publish the article link to your X/Twitter account
Use cases
- Eliminate manual tagging and keep blog organization consistent without human effort
- Improve content discoverability by auto-applying SEO-friendly tags across articles
- Amplify reach by distributing tagged articles to social media immediately after publication
Requirements
- OpenAI API key and WordPress site with REST API access enabled
- Active RSS feed for your blog and authenticated X/Twitter account
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (32)
OpenAI Chat Model
OpenAI
Auto-fixing Output Parser
Output Parser Autofixing
OpenAI Chat Model1
OpenAI
Structured Output Parser
Output Parser Structured
RSS Feed Trigger
Rss Feed Read Trigger
Return article details
Set
Split Out
Split Out
Loop over articles
Split In Batches
SET initial record
Set
GET WP tags
HTTP Request
POST WP tags
HTTP Request
GET updated WP tags
HTTP Request
Keep matches
Filter
Combine tag_ids
Aggregate
Combine slugs
Aggregate
If
If
MOCK article
Set
Return missing tags
Code
Wordpress
Wordpress
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Demo Usage in Another Workflow
Execute Workflow Trigger
Auto-Tag Posts in WordPress
Execute Workflow
Sticky Note
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Generate tags for article
LLM Chain
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Sticky Note9
Sticky Note