WPカテゴリールールチック
中級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、7個のノードを含みます。主にAggregate, HttpRequest, ManualTrigger, ChainLlm, LmChatAzureOpenAiなどのノードを使用。 GPT-5 Mini(Azure OpenAI)を使って、WordPressカテゴリーマッピングを自動化
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "BeW87UQSm16ZhE2D",
"meta": {
"instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c"
},
"name": "WP Category Toolkit",
"tags": [],
"nodes": [
{
"id": "800015fb-a2ec-4838-b70f-465f9200fcd2",
"name": "開始",
"type": "n8n-nodes-base.manualTrigger",
"position": [
384,
160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3b66a7e3-6567-4a48-9e52-b72d3e568517",
"name": "付箋4",
"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": "付箋5",
"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": "集計 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
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
WordPress+ソーシャルメディア
GPT/GeminiとWordPressに基づく自動ブログ作成とマルチプラットフォーム公開
If
Set
Switch
+
If
Set
Switch
44 ノードKhairul Muhtadin
コンテンツ作成
コンテンツジェネレーター v3
AI驱动ブログ自動化:使用GPT-4生成并公開SEO記事至WordPressとTwitter
If
Set
Code
+
If
Set
Code
144 ノードJay Emp0
コンテンツ作成
LinkedInおよびXウイルスのなコンテンツ自動エンジン
AIを使ってLinkedInとXにウイルスのなコンテンツを自動生成して公開する
If
Set
Wait
+
If
Set
Wait
156 ノードDiptamoy Barman
コンテンツ作成
OpenAI-Gemini を使って Dev.to 記事の作成 - AI による画像付きコンテンツ生成
OpenAI / Gemini を使用して Dev.to 記事を作成 - AI が画像付きコンテンツを生成
Set
Limit
Split Out
+
Set
Limit
Split Out
30 ノードLukaszB
コンテンツ作成
フェイスレスビデオジェネレーター - アイデアを動画に自動変換
Gemini、ElevenLabs、Leonardo AI、Shotstackを使って顔なしの動画を作成する
Set
Wait
Merge
+
Set
Wait
Merge
37 ノードAgent Circle
コンテンツ作成
LlamaIndex + Azure OpenAIを使ってGoogle Driveから自動のにナレッジベースを更新
Google Drive、LlamaIndex、Azure OpenAI埋め込みでKnowledge Baseを自動更新
If
Wait
Google Drive
+
If
Wait
Google Drive
12 ノードKhairul Muhtadin
コンテンツ作成