AI Agents

Automatically tag WordPress blog posts with AI-generated labels

32 nodes 287 165 Automatic trigger
Download

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. 1.Listen to RSS feed triggers to detect newly published articles
  2. 2.Process articles in batches and send them to LLM Chain for tag extraction
  3. 3.Parse the AI response and apply extracted tags to the WordPress post
  4. 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

OpenAI Output Parser Rss Feed Read Trigger Split In Batches WordPress Twitter/X LLM Chain

Details

Trigger Automatic trigger
Nodes 32
Apps 7
Views 287
Downloads 165

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (32)

/

OpenAI Chat Model

OpenAI

#1

Auto-fixing Output Parser

Output Parser Autofixing

#2

OpenAI Chat Model1

OpenAI

#3

Structured Output Parser

Output Parser Structured

#4

RSS Feed Trigger

Rss Feed Read Trigger

#5

Return article details

Set

#6

Split Out

Split Out

#7

Loop over articles

Split In Batches

#8

SET initial record

Set

#9

GET WP tags

HTTP Request

#10

POST WP tags

HTTP Request

#11

GET updated WP tags

HTTP Request

#12

Keep matches

Filter

#13

Combine tag_ids

Aggregate

#14

Combine slugs

Aggregate

#15

If

If

#16

MOCK article

Set

#17

Return missing tags

Code

#18

Wordpress

Wordpress

#19

Sticky Note1

Sticky Note

#20

Sticky Note2

Sticky Note

#21

Demo Usage in Another Workflow

Execute Workflow Trigger

#22

Auto-Tag Posts in WordPress

Execute Workflow

#23

Sticky Note

Sticky Note

#24

Sticky Note3

Sticky Note

#25

Sticky Note4

Sticky Note

#26

Sticky Note5

Sticky Note

#27

Sticky Note6

Sticky Note

#28

Generate tags for article

LLM Chain

#29

Sticky Note7

Sticky Note

#30

Sticky Note8

Sticky Note

#31

Sticky Note9

Sticky Note

#32