Automation library · Content

Automated WordPress post tagging with Claude

Started by an event in a connected app, and works across WordPress. It hands the judgement calls to Claude and OpenAI. 20 steps, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: Claude, OpenAI

20 stepsMedium: a working afternoon
0Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 4Logic 11Service 4

The steps in the order they run, from what starts it.

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2OpenAI Chat Model1Lm Chat Open AiModel
  3. 3Anthropic Chat ModelLm Chat AnthropicModel
  4. 4Set dataSetLogic
  5. 5Structured Output ParserOutput Parser StructuredModel
  6. 6Tags ExpertChain LlmModel
  7. 7Get articleWordpressService
  8. 8Existing TagsSetLogic
  9. 9New TagsSetLogic
  10. 10Get all tagsHttp RequestService
  11. 11MergeMergeLogic
  12. 12Merge1MergeLogic
  13. 13Split OutSplit OutLogic
  14. 14Sanitaze TagsAggregateLogic
  15. 15Aggregate tags articleAggregateLogic
  16. 16Loop Over ItemsSplit In BatchesLogic
  17. 17SanitizeCodeLogic
  18. 18Aggretate new tagsAggregateLogic
  19. 19Add tagHttp RequestService
  20. 20Update articleWordpressService

How it's built

Starts on
An event in a connected app
Steps
20, 1 loop or waits
Size
Medium: a working afternoon
Connects to
WordPress
Model
Claude, OpenAI

Questions

What does it need to run?

An n8n account, plus your own WordPress account, and a key for Claude and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Claude and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.