Auto-generate WordPress blog tags with GPT-4.1-mini and smart tag mapping
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Wordpress and OpenAI Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Fetch One WordPress Blog (Wordpress): get many
- Blog Tags Generator (Basic LLM Chain): sends a prompt to an LLM, with model: 4.1 mini; output parser: Structured Output Parser
- Split Out: splits a list into separate items
- Fetch All Tags (HTTP Request): calls an HTTP API
- Tagging Loop (Loop Over Items (Split in Batches)): loops over the items in batches
- Clean Data (Split Out): splits a list into separate items
- Switch: routes items into 2 branches
- Create New Tag (HTTP Request): calls an HTTP API (POST)
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
…plus 4 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 (12)
- Wordpress
n8n-nodes-base.wordpress - Manual Trigger
n8n-nodes-base.manualTrigger - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Switch
n8n-nodes-base.switch - Aggregate
n8n-nodes-base.aggregate - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge
From the author
Overview This n8n template demonstrates how to use AI to automatically analyze WordPress blog content and generate relevant, SEO-optimized tags for WordPress posts. Use cases Automate content tagging for WordPress blogs, maintain consistent taxonomy across…