WP Category Toolkit
Ceci est unContent Creation, Multimodal AIworkflow d'automatisation du domainecontenant 7 nœuds.Utilise principalement des nœuds comme Aggregate, HttpRequest, ManualTrigger, ChainLlm, LmChatAzureOpenAi. Automatisation du mappage des catégories WordPress avec GPT-5 Mini (Azure OpenAI)
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
- •Clé API OpenAI
Nœuds utilisés (7)
Catégorie
{
"id": "BeW87UQSm16ZhE2D",
"meta": {
"instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c"
},
"name": "WP Category Toolkit",
"tags": [],
"nodes": [
{
"id": "800015fb-a2ec-4838-b70f-465f9200fcd2",
"name": "Début",
"type": "n8n-nodes-base.manualTrigger",
"position": [
384,
160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3b66a7e3-6567-4a48-9e52-b72d3e568517",
"name": "Note adhésive4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"color": 5,
"width": 1328,
"height": 480,
"content": "## WP Category toolkit"
},
"typeVersion": 1
},
{
"id": "07e8b165-4124-4a09-b569-7090464b6f63",
"name": "Note adhésive5",
"type": "n8n-nodes-base.stickyNote",
"position": [
32,
80
],
"parameters": {
"color": 4,
"width": 320,
"height": 352,
"content": "## Process:\n- change with your url\n- Input your WP credentials\n- Copy ``category json`` from **Body Post Wordpress**\n- Paste in system prompt on **Category Mapping**\n- Copy the result back to **Body Post Wordpress**"
},
"typeVersion": 1
},
{
"id": "36eeebd5-4cc4-4d96-900d-70299c55010e",
"name": "Get All Categories",
"type": "n8n-nodes-base.httpRequest",
"position": [
576,
160
],
"parameters": {
"url": "https://cartilo.my.id/wp-json/wp/v2/categories?per_page=100",
"options": {},
"authentication": "predefinedCredentialType",
"nodeCredentialType": "wordpressApi"
},
"credentials": {
"wordpressApi": {
"id": "gGfRrkCtaoISRmDr",
"name": "WP - Cartilo (Dax AI)"
}
},
"typeVersion": 4.2
},
{
"id": "51f177cd-1b53-4225-8c96-cc157e9d986b",
"name": "Agréger to Process",
"type": "n8n-nodes-base.aggregate",
"position": [
768,
160
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData"
},
"typeVersion": 1
},
{
"id": "d655510d-2e55-4994-9cc5-3d7f6b57f2a1",
"name": "Category-Mapping",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
944,
160
],
"parameters": {
"text": "={{JSON.stringify($json)}}",
"batching": {},
"messages": {
"messageValues": [
{
"message": "You are an expert programmer. \n\nchange this mapping:\n {{ $('Topic Chooser and Title Maker').item.json.output.category == \"Technology\" ? [3] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Artificial Intelligence (AI)\" ? [4] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Tech Fact\" ? [7] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Tech History\" ? [8] :\n $('Topic Chooser and Title Maker').item.json.output.category == \"Tech Tips\" ? [9] : [1] }}\n\nbased on user input.\nonly change category and the id. never add \"\\n\" in the output"
}
]
},
"promptType": "define"
},
"typeVersion": 1.7
},
{
"id": "8e856d5b-0de8-44d3-a887-3b8188b80e65",
"name": "Gpt-5-mini",
"type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
"position": [
944,
320
],
"parameters": {
"model": "gpt5mini",
"options": {}
},
"credentials": {
"azureOpenAiApi": {
"id": "f2y13FBDaQZYGn8T",
"name": "GPT5-mini"
}
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "b41ae1d6-00b2-442f-b7dc-b96e11163121",
"connections": {
"Start": {
"main": [
[
{
"node": "36eeebd5-4cc4-4d96-900d-70299c55010e",
"type": "main",
"index": 0
}
]
]
},
"8e856d5b-0de8-44d3-a887-3b8188b80e65": {
"ai_languageModel": [
[
{
"node": "d655510d-2e55-4994-9cc5-3d7f6b57f2a1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"36eeebd5-4cc4-4d96-900d-70299c55010e": {
"main": [
[
{
"node": "Aggregate to Process",
"type": "main",
"index": 0
}
]
]
},
"Aggregate to Process": {
"main": [
[
{
"node": "d655510d-2e55-4994-9cc5-3d7f6b57f2a1",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Création de contenu, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Khairul Muhtadin
@khmuhtadinPartager ce workflow