Automated WordPress post tagging with AI analysis and Claude Opus 4.5
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model, Wordpress and Anthropic Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set data (Edit Fields (Set)): sets 2 fields: post_id, url
- Get article (Wordpress): get
- Get all tags (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Sanitaze Tags (Aggregate): combines items into one
- Tags Expert (Basic LLM Chain): sends a prompt to an LLM, with model: Anthropic Chat Model; output parser: Structured Output Parser
- Existing Tags (Edit Fields (Set)): sets 1 field: tags
- New Tags (Edit Fields (Set)): sets 1 field: new_tags
- Merge: merges the data from its input branches
- Split Out: splits a list into separate items
…plus 6 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- Manual Trigger
n8n-nodes-base.manualTrigger - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Split Out
n8n-nodes-base.splitOut - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Wordpress
n8n-nodes-base.wordpress - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Aggregate
n8n-nodes-base.aggregate - Code
n8n-nodes-base.code - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
From the author
This workflow automates the full process of generating, creating, and assigning optimized WordPress tags to a specific blog post. It uses a combination of WordPress API actions, AI analysis (Claude Opus 4.5), and internal data cleaning to ensure SEO-friendly,…