Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
An n8n workflow that reads every published post of a WordPress site, asks an AI model to pick one category for each post from its title and saves it on the post.
WordPress posts put in a category by AI from the title is an n8n workflow in the Writing category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
By hand
It starts when you click Test workflow in n8n:
Each published post sits in one of your categories
What you need before you start.
Posts
Supplies the posts and receives the categories.
NeedsA WordPress credential with a username, password and site address
Category picker
Chooses one category for each title.
NeedsAn OpenAI API key
Checked by Mindket on 13 Nov 2026
This n8n workflow sorts the posts of a WordPress site into categories. It fetches every published post, gives each title to an AI model together with your list of categories and saves the category the model picks. Five nodes run it, beside four sticky notes.
Bloggers and content teams with many posts that have no clear categories. Skip it if posts already have categories you want to keep, since the update replaces them.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Publishing | Bloggers | Organize an archive | A blogger with 80 old posts gives each one a category in a single run. |
| Marketing | Content teams | Tidy a site before a redesign | A team sorts its blog into six topics before it builds new menus. |
| Agencies | Web agencies | Clean up a client’s blog | An agency categorizes a client’s posts after a site move. |
| Education | Course sites | Group articles by topic | A school sorts its articles into subjects for easier browsing. |
You need a little n8n, a WordPress credential and an OpenAI key: import a file, add two credentials and edit one prompt.
Any n8n that can reach your WordPress site and OpenAI will run it. It starts by hand.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Setup takes two credentials and the ids of your categories.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| WordPress | A site with a credential in n8n: a username, its password and the site address |
| OpenAI | An API key |
| Categories | Created in WordPress, with their ids to hand |
workflow.json.Get All Wordpress Posts and Wordpress.OpenAI Chat Model.AI Agent, replace each <CATEGORY_ID_n> with an id and each name with your own.Click Test workflow and wait for the run to finish. Then open the posts list in WordPress and check the categories. Try a copy of the site first, since the run replaces each post’s categories.
| To change | Where |
|---|---|
| The categories | The list in the prompt of AI Agent |
| The model | OpenAI Chat Model |
| Which posts | The options in Get All Wordpress Posts, such as Status |
| When it runs | Swap the manual trigger for a schedule |
A blogger lists six categories with the id of each and runs the workflow. One post is titled “Ten AI tools for writers”.
The model answers with the id of the AI Tools category, and the post now sits in it. The same happens for every other published post.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here one box fetches the posts, one asks the AI for a category number and one saves it. Run it on a test site first.
For experts. The agent is a Tools Agent with no tools and only a model. Its prompt asks for the id alone, and Wordpress sends that text as the post’s categories.
| Node | What it does | What to know |
|---|---|---|
Get All Wordpress Posts | Fetches all the published posts | Return All is on |
AI Agent | Picks one category id from the title | The prompt reads title.rendered |
OpenAI Chat Model | Supplies the model | It names gpt-5.6-terra |
Wordpress | Updates the post | categories replaces the post’s categories |
The update replaces a post’s categories, and nothing checks the model’s answer against your list.
gpt-5-mini would run, which OpenAI’s deprecations page, read on 12 November 2026, lists as shut down on 11 December 2026. This copy names gpt-5.6-terra<CATEGORY_ID_1> to <CATEGORY_ID_6> until you set themAn n8n workflow that reads every published post of a WordPress site, asks an AI model to pick one category for each post from its title, and saves that category on the post.
workflow.json: the workflow as n8n exports it, nine nodes: five that do the work and four sticky notes. It holds no credential.README.md: these notes.<CATEGORY_ID_1> to <CATEGORY_ID_6>, so you put in the ids of your own categories.gpt-5-mini would run. OpenAI's deprecations page, read on 12 November 2026, lists it as shut down on 11 December 2026, with gpt-5.6-terra as the replacement. This copy names gpt-5.6-terra.workflow.json.Get All Wordpress Posts and Wordpress.OpenAI Chat Model.tag_ID, in the address. Do this for each category.AI Agent, replace each <CATEGORY_ID_n> with an id and each name with your own.When clicking ‘Test workflow’ starts the run by hand.Get All Wordpress Posts fetches all the published posts. Return All is on.AI Agent receives each post's title, title.rendered, with the category list, and answers with one number.Wordpress updates the post. The post id comes from the posts node, and categories holds the agent's answer.AI Agent.OpenAI Chat Model.Get All Wordpress Posts, such as Status, to include drafts.NOTICE.md 608 B README.md 3 KB workflow.json 5 KB
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
vennify · Kit
Rewrites English text with fewer grammar mistakes, using a T5 model trained on the JFLEG dataset. Made by vennify for writers, students and developers who want…
tencent · Kit
Translates between 33 languages on your own device with a 1.8B model squeezed to 1.25 bits, about 440 MB as GGUF files for llama.cpp. For developers adding off…
summerAIO · Kit
Summarizes, answers questions about and continues book-length text with a fine-tuned 27B model that uses Gated DeltaNet layers, in English and Japanese. For pe…