LookioとOpenAI GPTを使用して知識源から事実に基づく記事を作成
上級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、19個のノードを含みます。主にSet, SplitOut, Aggregate, FormTrigger, HttpRequestなどのノードを使用。 Lookio と OpenAI GPT を使って、知识源から基礎のな記事を作成する
前提条件
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
使用ノード (19)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"nodes": [
{
"id": "92d1a6cf-5c1b-44e2-a6b7-7b51b5e8455e",
"name": "新規コンテンツ - 調査質問を生成",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-1008,
528
],
"parameters": {
"text": "=Content title: {{ $json.Title }}\n\nArticle guidelines: {{ $json.Guidelines }}\n\n",
"messages": {
"messageValues": [
{
"message": "=You will receive a content title and an angle. Return 5–8 non-overlapping questions in JSON array format that cover everything needed to write excellent content as it breaks down the topic into sub-questions.\n\nGuidelines: \n- Start with simple, short broad questions for example to define the terms (e.g., What is X?, Why is X important?, How to do X?). \n- Then move into more specific, advanced, or analytical questions. \n- Ensure questions together form a complete coverage of the topic. \n\n## Output format:\n\nYou'll return the questions in such a JSON ARRAY:\n\n[\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua, ut enim ad minim veniam?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur?\"\n }\n]"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.5
},
{
"id": "a83ee6c4-b669-4985-a905-00c1246d4e90",
"name": "質問と回答をフォーマット",
"type": "n8n-nodes-base.set",
"position": [
320,
768
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "1e33a1f4-a1a2-4962-ac72-cc518d7ff043",
"name": "Question",
"type": "string",
"value": "={{ $('Loop Over Questions').item.json.question }}"
},
{
"id": "903bcf38-13dd-48fb-8eb3-83f7a232aa53",
"name": "Answer",
"type": "string",
"value": "={{ $json.Output }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "012b019b-be98-416a-a2ba-457adbd1d81a",
"name": "新規コンテンツ - AI出力を生成",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
144,
-48
],
"parameters": {
"text": "=Article title:\n\n{{ $('Prepare form values').first().json.Title }}\n\nArticle guidelines:\n\n{{ $('Prepare form values').first().json.Guidelines }}\n\n\nContent to leverage:\n\nThis Q&A research provides high-quality knowledge, insights, and sources for your content. Be sure to include source links in your output whenever a source was used.\n\n{{ JSON.stringify($json['Content to leverage'], null, 2) }}\n",
"messages": {
"messageValues": [
{
"message": "=# Role\n\nYour role is to write an article based on the request in the user message.\n\n# What the user message contains\n\nThe user message includes the article title, any guidelines to follow, and comprehensive research material. This research is the sole basis for your article — do not invent information beyond it. When the research includes source links, integrate them smoothly as hyperlinks in the article.\n\n# How to write good articles\n\nYou excel at writing articles by making sure that they deliver value, are concise, seem like they are human-written, not using typical AI useless sentence formulations.\n\n# Your output format\n\nOutput only the full article.\n\n* Begin with a `# H1` title.\n* Use subheadings throughout the article."
}
]
},
"promptType": "define"
},
"typeVersion": 1.5
},
{
"id": "c39ebdbe-0fd8-4a8a-8e6f-4f71f0593c4c",
"name": "新規記事フォーム",
"type": "n8n-nodes-base.formTrigger",
"position": [
-1568,
528
],
"webhookId": "03bf5925-caac-4232-a081-14ed9c3d04d9",
"parameters": {
"options": {},
"formTitle": "New article",
"formFields": {
"values": [
{
"fieldLabel": "Article title",
"placeholder": "10 ways to do Influencer Marketing in 2025",
"requiredField": true
},
{
"fieldLabel": "Article guidelines",
"placeholder": "Promote xyz and write in British English...",
"requiredField": true
}
]
},
"formDescription": "Fill in this form to trigger the generation of a new article."
},
"typeVersion": 2.3
},
{
"id": "364b4077-2727-460d-b400-e7d39de4ec02",
"name": "フォーム値を準備",
"type": "n8n-nodes-base.set",
"position": [
-1312,
528
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "ec4734ed-654f-478a-ab90-91bfcee1e208",
"name": "Title",
"type": "string",
"value": "={{ $json['Article title'] }}"
},
{
"id": "c034402e-a7b9-4c91-aaed-f24a838c3d91",
"name": "Guidelines",
"type": "string",
"value": "={{ $json['Article guidelines'] }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d9122da2-a108-4e51-902f-4ffd62d0a69b",
"name": "構造化出力パーサー",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
-880,
752
],
"parameters": {
"jsonSchemaExample": "[\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua, ut enim ad minim veniam?\"\n },\n {\n \"question\": \"Lorem ipsum dolor sit amet, consectetur?\"\n }\n]"
},
"typeVersion": 1.2
},
{
"id": "fc390142-c963-46eb-9ec7-917ad1374a14",
"name": "GPT 5 mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-1008,
752
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-5-mini",
"cachedResultName": "gpt-5-mini"
},
"options": {
"reasoningEffort": "low"
}
},
"credentials": {
"openAiApi": {
"id": "dMiSy27YCK6c6rra",
"name": "Duv's OpenAI"
}
},
"typeVersion": 1.2
},
{
"id": "fca117d9-a040-4e51-b938-c2125f33f040",
"name": "質問を分割",
"type": "n8n-nodes-base.splitOut",
"position": [
-608,
528
],
"parameters": {
"options": {},
"fieldToSplitOut": "output"
},
"typeVersion": 1
},
{
"id": "6cc6e76b-1b0b-4aac-896b-57648949c9e5",
"name": "質問をループ処理",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-352,
512
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "c017af5b-418e-4231-ae57-6c642324e0b9",
"name": "GPT 5 chat",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
224,
176
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-5-chat-latest",
"cachedResultName": "gpt-5-chat-latest"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "dMiSy27YCK6c6rra",
"name": "Duv's OpenAI"
}
},
"typeVersion": 1.2
},
{
"id": "908b7320-37b4-45c1-8fc5-c0670398ac49",
"name": "記事結果",
"type": "n8n-nodes-base.set",
"position": [
560,
-48
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "d3b8c4bc-27d9-4d57-b8d6-3a40b84d7b7d",
"name": "Article",
"type": "string",
"value": "={{ $json.text }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "e00af6b7-0d8a-410c-9d78-743a47b64d5b",
"name": "付箋ノート",
"type": "n8n-nodes-base.stickyNote",
"position": [
-96,
512
],
"parameters": {
"color": 7,
"width": 224,
"height": 320,
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n### Connect your lookio.app credentials & replace your assistant ID"
},
"typeVersion": 1
},
{
"id": "009734ed-642f-4916-a3b0-83fa2b6b32f9",
"name": "調査コンテンツを集約",
"type": "n8n-nodes-base.aggregate",
"position": [
-112,
160
],
"parameters": {
"options": {},
"aggregate": "aggregateAllItemData",
"destinationFieldName": "Content to leverage"
},
"typeVersion": 1
},
{
"id": "7e086700-f7cd-44e3-9f23-645a0ac63769",
"name": "付箋ノート1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1152,
-256
],
"parameters": {
"width": 832,
"height": 560,
"content": "# AI Article Writer Based on Your Knowledge Base\n\nThis isn't just a writer; it's an automated research and content team. It generates high-quality, reliable articles by grounding the entire process in *your own* knowledge base.\n\n## How it works\n1. **Decompose:** An AI planner breaks your article topic into a series of sub-questions.\n2. **Research:** It queries your **Super assistant** to answer each question using *your* connected documents (Notion, Drive, etc.).\n3. **Write:** A final, powerful AI writes the article based *only* on this verified research, including source links.\n\n## How to use\n1. **Set up in Lookio:** First, build your assistant in **Lookio** with your knowledge sources and get your **API Token** & **Assistant ID**.\n2. **Configure this workflow:**\n * Connect your **AI provider** to the LLM nodes.\n * In the **Query Lookio Assistant** node, add your **Assistant ID** and **API Token**.\n3. **Run:** Use the form to enter a title and guidelines, and let the workflow generate your article.\n\n\n*A template built by Guillaume Duvernay*"
},
"typeVersion": 1
},
{
"id": "2311af8d-8f3b-4153-9e9a-94cbdfd995b5",
"name": "付箋ノート2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-448,
384
],
"parameters": {
"color": 6,
"width": 976,
"height": 608,
"content": "## Answering each sub-question one by one with Lookio"
},
"typeVersion": 1
},
{
"id": "b8d2e5a4-2390-4fd4-8b56-2d6a5e745d48",
"name": "付箋ノート3",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-208
],
"parameters": {
"color": 5,
"width": 368,
"height": 512,
"content": "## AI step writing the final article based on the research and initial request"
},
"typeVersion": 1
},
{
"id": "644b48e0-1bd3-470d-88ae-0a7da22e6eac",
"name": "付箋ノート4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1152,
384
],
"parameters": {
"color": 6,
"width": 480,
"height": 608,
"content": "## Breaking down the topic into sub-questions"
},
"typeVersion": 1
},
{
"id": "c0c2508f-2d93-4246-be63-3fd73100ad32",
"name": "付箋ノート5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1648,
400
],
"parameters": {
"color": 4,
"width": 272,
"height": 304,
"content": "## Fill in this form to request a new article"
},
"typeVersion": 1
},
{
"id": "0b703c42-c0a9-4a49-84e9-4dfa60025d6e",
"name": "Lookioアシスタントをクエリ",
"type": "n8n-nodes-base.httpRequest",
"position": [
-32,
560
],
"parameters": {
"url": "https://api.lookio.app/webhook/query",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "query",
"value": "={{ $json.question }}"
},
{
"name": "assistant_id",
"value": "<your-assistant-id>"
},
{
"name": "query_mode",
"value": "flash"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "api_key",
"value": "<your-lookio-api-key>"
}
]
}
},
"typeVersion": 4.2
}
],
"connections": {
"c017af5b-418e-4231-ae57-6c642324e0b9": {
"ai_languageModel": [
[
{
"node": "012b019b-be98-416a-a2ba-457adbd1d81a",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"fc390142-c963-46eb-9ec7-917ad1374a14": {
"ai_languageModel": [
[
{
"node": "92d1a6cf-5c1b-44e2-a6b7-7b51b5e8455e",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"c39ebdbe-0fd8-4a8a-8e6f-4f71f0593c4c": {
"main": [
[
{
"node": "364b4077-2727-460d-b400-e7d39de4ec02",
"type": "main",
"index": 0
}
]
]
},
"6cc6e76b-1b0b-4aac-896b-57648949c9e5": {
"main": [
[
{
"node": "009734ed-642f-4916-a3b0-83fa2b6b32f9",
"type": "main",
"index": 0
}
],
[
{
"node": "0b703c42-c0a9-4a49-84e9-4dfa60025d6e",
"type": "main",
"index": 0
}
]
]
},
"364b4077-2727-460d-b400-e7d39de4ec02": {
"main": [
[
{
"node": "92d1a6cf-5c1b-44e2-a6b7-7b51b5e8455e",
"type": "main",
"index": 0
}
]
]
},
"fca117d9-a040-4e51-b938-c2125f33f040": {
"main": [
[
{
"node": "6cc6e76b-1b0b-4aac-896b-57648949c9e5",
"type": "main",
"index": 0
}
]
]
},
"0b703c42-c0a9-4a49-84e9-4dfa60025d6e": {
"main": [
[
{
"node": "a83ee6c4-b669-4985-a905-00c1246d4e90",
"type": "main",
"index": 0
}
]
]
},
"d9122da2-a108-4e51-902f-4ffd62d0a69b": {
"ai_outputParser": [
[
{
"node": "92d1a6cf-5c1b-44e2-a6b7-7b51b5e8455e",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"009734ed-642f-4916-a3b0-83fa2b6b32f9": {
"main": [
[
{
"node": "012b019b-be98-416a-a2ba-457adbd1d81a",
"type": "main",
"index": 0
}
]
]
},
"a83ee6c4-b669-4985-a905-00c1246d4e90": {
"main": [
[
{
"node": "6cc6e76b-1b0b-4aac-896b-57648949c9e5",
"type": "main",
"index": 0
}
]
]
},
"012b019b-be98-416a-a2ba-457adbd1d81a": {
"main": [
[
{
"node": "908b7320-37b4-45c1-8fc5-c0670398ac49",
"type": "main",
"index": 0
}
]
]
},
"92d1a6cf-5c1b-44e2-a6b7-7b51b5e8455e": {
"main": [
[
{
"node": "fca117d9-a040-4e51-b938-c2125f33f040",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
AIによる計画、Linkup検索、GPT-5を使って研究支援記事を作成
AIによる計画、Linkup検索、GPT-5を使って研究支援記事を作成
Set
Split Out
Aggregate
+
Set
Split Out
Aggregate
19 ノードGuillaume Duvernay
コンテンツ作成
Super RAGとGPT-5を使用して知識源から事実に基づく記事を作成
Super RAG と GPT-5 を使って、知识源から基礎のな記事を作成する
Set
Split Out
Aggregate
+
Set
Split Out
Aggregate
19 ノードGuillaume Duvernay
AI RAG検索拡張
WordPressブログの自動化プロフェッショナル版(先端研究)v2.1マーケットプラグイン
GPT-4o、Perplexity AI、そして多言語対応を使ったSEO最適化ブログ作成の自動化
If
Set
Xml
+
If
Set
Xml
125 ノードDaniel Ng
コンテンツ作成
Lookio、Linkup、そして GPT-5 を使って二源エキスパート記事の作成
Lookio、Linkup、GPT-5 を使用して二来源の専門記事を作成
Set
Split Out
Aggregate
+
Set
Split Out
Aggregate
21 ノードGuillaume Duvernay
コンテンツジェネレーター v3
AI驱动ブログ自動化:使用GPT-4生成并公開SEO記事至WordPressとTwitter
If
Set
Code
+
If
Set
Code
144 ノードJay Emp0
コンテンツ作成
キーワードからGPT-5とfal.ai画像を使ってWordPressまで自動SEOブログ生成のプロセス
GPT-5とfal.ai画像を使用したキーワードからWordPressへのSEOブログ自動化プロセス
Set
Code
Wait
+
Set
Code
Wait
96 ノードPaul
コンテンツ作成