AI Agents

Automatic tagging of blog posts in WordPress using AI

32 nodes 214 138 Automatic trigger
Download

Workflow Description

This automation fetches new blog posts via RSS feeds, analyzes their content using OpenAI's language models, generates contextual tags and categories, applies them to WordPress posts, and shares the updated content across social media platforms automatically.

How it works

  1. 1.Monitor and fetch new blog posts from configured RSS feeds
  2. 2.Process posts in batches and analyze content with OpenAI language model
  3. 3.Extract and structure tags and categories from AI analysis
  4. 4.Apply extracted tags to WordPress posts via API
  5. 5.Publish updated posts to Twitter/X and other social channels

Use cases

  • Eliminate manual tagging workflows and improve content discoverability
  • Ensure consistent categorization across large content libraries
  • Amplify content reach by auto-posting to social networks

Requirements

  • OpenAI API key with access to chat models
  • WordPress instance with API credentials and permissions
  • Active RSS feed URLs from target blogs
  • Twitter/X API credentials for social media posting

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 214
Downloads 138

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