Auto-Tag Blog Posts in WordPress with AI
Configured with Aggregate, Chain LLM, Execute Workflow, Execute Workflow Trigger, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- AI & models
- Transform
- Trigger
- Routing
- Web / API
- Code
- Integration
- Subworkflow
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Auto-fixing Output Parser | Transform | Output Parser Autofixing | See node parameters |
| OpenAI Chat Model1 | AI & models | OpenAI Chat Model | See node parameters |
| Structured Output Parser | Transform | Output Parser Structured | See node parameters |
| RSS Feed Trigger | Trigger | Rss Feed Read Trigger | See node parameters |
| Return article details | Transform | Edit Fields | See node parameters |
| Split Out | Transform | Split Out | See node parameters |
| Loop over articles | Routing | Loop Over Items | See node parameters |
| SET initial record | Transform | Edit Fields | See node parameters |
| GET WP tags | Web / API | HTTP Request | See node parameters |
| POST WP tags | Web / API | HTTP Request | POST |
| GET updated WP tags | Web / API | HTTP Request | See node parameters |
| Keep matches | Routing | Filter | See node parameters |
| Combine tag_ids | Transform | Aggregate | See node parameters |
| Combine slugs | Transform | Aggregate | See node parameters |
| If | Routing | If | See node parameters |
| MOCK article | Transform | Edit Fields | See node parameters |
| Return missing tags | Code | Code | See node parameters |
| Wordpress | Integration | Wordpress | See node parameters |
| Demo Usage in Another Workflow | Trigger | Execute Workflow Trigger | See node parameters |
| Auto-Tag Posts in WordPress | Subworkflow | Execute Workflow | See node parameters |
| Generate tags for article | AI & models | Chain LLM | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
openAiApiwordpressApi
Workflow notes
Auto-Tag Posts in WordPress
Auto-Tag Posts in WordPress
This workflow allows you to hand off the responsibility of tagging content for WordPress to an AI Agent in n8n with no data entry required.
Copy this workflow
Copy this workflow
You can use it inline by removing the Called by Another Workflow trigger, or as-is as a subworkflow
Sticky Note3
Handing off tagging and categorization fully to AI lets you put your WordPress account on autopilot without a human-in-the-loop.
In this example the application is use-case agnostic, but with this workflow you can:
- Use AI to rewrite content with original thoughts and tags
- Ensure healthy information architecture on your site
- Quickly generate multivariate tag and category combinations for optimal SEO
What's this?
What's this?
If there are missing tags we create them in WP, otherwise we keep get them all from WP and keep the relevant ones.
What's this?
What's this?
One of the few potential failure points in this workflow, when checking for missing tags it's important that both the generated tags and the existing tags are in the same case (snake, dash, title).
! A note about cases !
! A note about cases !
If you want your tags to follow a different case than I am using (dash case for slug, title case for name), then you will need to update a few nodes in this workflow.
Ready for a challenge?
Ready for a challenge?
Make this subworkflow executable for both categories and tags, accounting for different API calls to different endpoints.
About the maker
About the maker
Auto-Tag Blog Posts in WordPress with AI
Auto-Tag Blog Posts in WordPress with AI
Purpose and structure
This folder contains the Auto-Tag Blog Posts in WordPress with AI workflow. Its executable nodes use aggregate, chainLlm, code, executeWorkflow, executeWorkflowTrigger, filter, httpRequest, if, lmChatOpenAi, outputParserAutofixing, outputParserStructured, rssFeedReadTrigger, set, splitInBatches, splitOut, wordpress. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
RSS Feed Trigger, Demo Usage in Another Workflow
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/1323_Splitout_Code_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Demo Usage in Another Workflow (Tagging an article discovered with an RSS feed)
- To ensure data can be passed to subsequent nodes, make sure to select "Run Once for Each Item" if executing a subworkflow