Describe the problem/error/question
I use wordpress node to create a post for my blog. I can create a post with title ,content and slugs using Create a Post node for my blog. Unfortunately, I failed to create tags, category.
would you please tell me the right way to create blog with tags and category?
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.91.3
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**docker
- Operating system: linux
Hello @CAN_AMOY!
Welcome to the community!
SpPlease explain your problem better.
I think you’ve already added both Tags and Category as additional elements of your post.
The question is how to assign the correct tags and category?
In my flow I tried to insert an Agent who evaluated the content of the written post and understood for himself which tags to create and which category to assign among those included in the prompt.
Unfortunately, sometimes it didn’t work properly and still forced me to check and correct.
Let me know if that’s what you mean.
1 Like
the category must be an ID. Is there a way to create a blog with tags and categories ?
In my experience, on the categories, the WordPress node will automatically take those that it finds already present on the site.
So the process should be:
create categories on the site > go back to n8n and in the WordPress node you will find the list of categories
For tags, however, you should create a node to create the most useful tags for your blog posts. After writing the article, create an AI agent specialized in creating tags all separated by commas.
Then you will pass these values inside the tag
field in the wordpress node
automatically take those that it finds already present on the site?Does it mean that wordpress node automatically take the right category?
Is there some code for me to learn on ?
That’s right, for categories the node will see those already available and created in WordPress, there is no need for code.
Just create the categories on WordPress, create the node on n8n and you will already see the categories created.
If you are satisfied with Mark’s answers as a solution, it will help other users who have your doubts