Bright Dataを使用してWikipediaのコンテンツを図を含むLinkedIn AIコンテンツ投稿に変換
上級
これはSocial Media, Multimodal AI分野の自動化ワークフローで、19個のノードを含みます。主にIf, Code, Wait, LinkedIn, FormTriggerなどのノードを使用。 GPT-4要約とIdeogram画像を使ってWikipediaからLinkedInの投稿を生成
前提条件
- •LinkedIn API認証情報
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
- •Anthropic API Key
使用ノード (19)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "jYtmNu9biqEaTS14",
"meta": {
"instanceId": "bc8ca75c203589705ae2e446cad7181d6f2a7cc1766f958ef9f34810e53b8cb2",
"templateCredsSetupCompleted": true
},
"name": "Wikipedia to LinkedIn AI Content Poster with Image via Bright Data",
"tags": [],
"nodes": [
{
"id": "9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0",
"name": "ステータス待機",
"type": "n8n-nodes-base.httpRequest",
"position": [
80,
48
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/progress/{{ $json.snapshot_id }}",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "format",
"value": "json"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "1d74b201-ff92-475e-badf-3adcdfc88149",
"name": "最終ステータス確認",
"type": "n8n-nodes-base.if",
"position": [
272,
48
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "or",
"conditions": [
{
"id": "35ed620d-b5d5-4e97-bcc5-52b283d85616",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ready"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "78c09194-2899-4b0b-b00a-dd35f85b95c4",
"name": "Wikipedia記事取得",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
512,
32
],
"parameters": {
"url": "=https://api.brightdata.com/datasets/v3/snapshot/{{ $json.snapshot_id }}",
"options": {},
"sendQuery": true,
"sendHeaders": true,
"queryParameters": {
"parameters": [
{
"name": "format",
"value": "json"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
"name": "AIエージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
736,
32
],
"parameters": {
"text": "=here is the title:- {{ $json.cataloged_text[0].title }}\nhere is the article of my title :- {{ $json.cataloged_text[0].text }}",
"options": {
"systemMessage": "=Task:- \nSummarize the following article in under 2000 characters, keeping it professional, informative, and engaging enough for a LinkedIn audience.\n\nUse bullet points if helpful. Avoid repetition. Remove any unnecessary fluff.\n\nTone should be confident, insightful, and thought-leadership oriented — ideal for busy professionals who want quick understanding.\n\nHere's the content:\n---\n{{ $json.cataloged_text[0].text }}\n---\n"
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2.1
},
{
"id": "776e4ef3-61f8-4a31-aff3-550ff32861c8",
"name": "OpenAIチャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
720,
272
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "OPENAI_CREDENTIAL_ID",
"name": "OpenAI Account"
}
},
"typeVersion": 1.2
},
{
"id": "79f161a8-325c-47f1-8f83-541db9b922dc",
"name": "構造化出力パーサー",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
880,
608
],
"parameters": {
"jsonSchemaExample": "{\n\t\"text\": \"California\"\n\n}"
},
"typeVersion": 1.3
},
{
"id": "ce3f23b3-aa8f-479c-b50b-8b7811c98ae5",
"name": "自動修正出力パーサー",
"type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
"position": [
816,
368
],
"parameters": {
"options": {}
},
"typeVersion": 1
},
{
"id": "a7c51767-3fb8-4931-9316-8ada84ced20c",
"name": "画像生成",
"type": "n8n-nodes-base.httpRequest",
"position": [
1120,
32
],
"parameters": {
"url": "https://api.ideogram.ai/v1/ideogram-v3/generate",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "=prompt",
"value": "={{ $json.output.text }}"
},
{
"name": "rendering_speed",
"value": "TURBO"
},
{
"name": "resolution",
"value": "1280x704"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Api-Key",
"value": "IDEOGRAM_API_KEY"
}
]
}
},
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "973e8cc1-c121-41d6-beb2-53ade53aaa8b",
"name": "投稿作成",
"type": "n8n-nodes-base.linkedIn",
"position": [
1648,
32
],
"parameters": {
"text": "={{ $('AI Agent').item.json.output.text }}",
"person": "LINKEDIN_PROFILE_ID",
"additionalFields": {},
"shareMediaCategory": "IMAGE"
},
"credentials": {
"linkedInOAuth2Api": {
"id": "LINKEDIN_CREDENTIAL_ID",
"name": "LinkedIn Account"
}
},
"typeVersion": 1
},
{
"id": "ee187ab3-c45f-4379-925b-b35a38ae6960",
"name": "HTTPリクエスト1",
"type": "n8n-nodes-base.httpRequest",
"position": [
1328,
32
],
"parameters": {
"url": "={{ $json.data[0].url }}",
"options": {
"response": {
"response": {
"responseFormat": "file"
}
}
}
},
"typeVersion": 4.2
},
{
"id": "badfa608-4dce-4d7f-bee8-b91df407daa5",
"name": "Anthropicチャットモデル",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
816,
768
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "claude-sonnet-4-20250514",
"cachedResultName": "Claude 4 Sonnet"
},
"options": {}
},
"credentials": {
"anthropicApi": {
"id": "ANTHROPIC_CREDENTIAL_ID",
"name": "Anthropic Account"
}
},
"typeVersion": 1.3
},
{
"id": "9bc87c92-4ad5-4166-821a-908b8f21789a",
"name": "LinkedIn URL",
"type": "n8n-nodes-base.code",
"onError": "continueRegularOutput",
"position": [
1872,
32
],
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "const item = $input.item;\nconst shareUrn = item.json.urn || '';\n\n// Check if it's a valid LinkedIn share URN\nif (shareUrn.startsWith('urn:li:share:')) {\n item.json.linkedinUrl = `https://www.linkedin.com/feed/update/${shareUrn}/`;\n} else {\n item.json.linkedinUrl = 'Invalid LinkedIn URN';\n}\n\nreturn item;\n"
},
"typeVersion": 2
},
{
"id": "8d794457-0fda-4f5a-b104-dc1d49e3cbc9",
"name": "待機",
"type": "n8n-nodes-base.wait",
"position": [
480,
208
],
"webhookId": "04a84ebd-34a0-4095-8cda-c1acd041c582",
"parameters": {
"unit": "minutes",
"amount": 1
},
"typeVersion": 1.1
},
{
"id": "0e4118e7-40e8-412b-bcf8-f98e313475f7",
"name": "📝 フォーム送信時",
"type": "n8n-nodes-base.formTrigger",
"position": [
-368,
48
],
"webhookId": "5ca0f1b4-2957-47e5-9894-62f1d759504d",
"parameters": {
"options": {},
"formTitle": "Wikipedia Search",
"formFields": {
"values": [
{
"fieldLabel": "Article Name"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "18ba69a8-bdaf-4895-8aea-332cbca7cd5e",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-512,
-112
],
"parameters": {
"color": 7,
"width": 496,
"height": 352,
"content": "📝+🌐 Start & Submit Article\n\"User starts the flow by entering the article name in the form.\nThe system sends a scraping request with that article name to BrightData.\"\n\nCovers:\n\nOn form submission\n\nHTTP Request"
},
"typeVersion": 1
},
{
"id": "616019f6-fd99-4688-89c6-52fb87a8d1b3",
"name": "🌐 HTTPリクエスト",
"type": "n8n-nodes-base.httpRequest",
"position": [
-160,
48
],
"parameters": {
"url": "https://api.brightdata.com/datasets/v3/trigger",
"method": "POST",
"options": {},
"jsonBody": "=[\n {\n \"keyword\": \"{{ $json[\"Article Name\"] }}\",\n \"pages_load\": 1\n }\n] ",
"sendBody": true,
"sendQuery": true,
"sendHeaders": true,
"specifyBody": "json",
"queryParameters": {
"parameters": [
{
"name": "dataset_id",
"value": "gd_lr9978962kkjr3nx49"
},
{
"name": "include_errors",
"value": "true"
},
{
"name": "type",
"value": "discover_new"
},
{
"name": "discover_by",
"value": "keyword"
},
{
"name": "limit_per_input",
"value": "1"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer BRIGHT_DATA_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "36051a55-4361-4771-b9e8-0ec9a45d9b6b",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
16,
-368
],
"parameters": {
"color": 2,
"width": 624,
"height": 800,
"content": "🔷 Bright Data Extraction Section:\n🔵 HTTP Request (Trigger Dataset)\nStarts the Bright Data dataset crawl using the submitted keyword.\n\n🔵 Wait for Status\nChecks crawl progress using snapshot_id.\n\n🔵 Check Final Status (IF node)\nChecks if crawl status is 'ready'. If not, it waits.\n\n🔵 Wait (1 min)\nWaits before rechecking crawl status.\n\n🔵 Wikipedia Scrap Post\nFetches scraped data (title & text) using snapshot_id."
},
"typeVersion": 1
},
{
"id": "6fc44f9d-c523-4e5c-9aac-56ee9d186ee8",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
688,
-416
],
"parameters": {
"color": 3,
"width": 768,
"height": 912,
"content": "🤖 AI Summarization Section:\n🤖 AI Agent\nSummarizes the scraped Wikipedia text into 2000 characters, suitable for a LinkedIn audience.\n\n🧠 OpenAI Chat Model\nGPT-4.1-mini model that powers the AI Agent.\n\n🧠 Anthropic Chat Model (Claude)\nAlternative language model linked to autofixing output.\n\n🔧 Auto-fixing Output Parser\nImproves/fixes AI output structure if needed.\n\n📐 Structured Output Parser\nEnsures final output follows JSON format.\n\n🖼️ Image Generation Section:\n🎨 Image Generate (Ideogram API)\nCreates a relevant image based on summarized text.\n\n📦 HTTP Request1\nDownloads the generated image from Ideogram.\n\n"
},
"typeVersion": 1
},
{
"id": "63c942b0-4dac-4414-8278-9bf91d69816a",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1488,
-160
],
"parameters": {
"color": 4,
"width": 608,
"height": 416,
"content": "📤 Publishing Section:\n🔗 Create a Post (LinkedIn)\nPosts summary + image to a specified LinkedIn profile.\n\n🔗 LinkedIn URL (Code node)\nGenerates public LinkedIn post URL using URN.\n\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "c1901b18-15a5-434b-8670-5a63f7058f34",
"connections": {
"8d794457-0fda-4f5a-b104-dc1d49e3cbc9": {
"main": [
[
{
"node": "9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0",
"type": "main",
"index": 0
}
]
]
},
"2f36e8a4-4c76-4b32-8519-56e16e26f349": {
"main": [
[
{
"node": "a7c51767-3fb8-4931-9316-8ada84ced20c",
"type": "main",
"index": 0
}
]
]
},
"973e8cc1-c121-41d6-beb2-53ade53aaa8b": {
"main": [
[
{
"node": "9bc87c92-4ad5-4166-821a-908b8f21789a",
"type": "main",
"index": 0
}
]
]
},
"ee187ab3-c45f-4379-925b-b35a38ae6960": {
"main": [
[
{
"node": "973e8cc1-c121-41d6-beb2-53ade53aaa8b",
"type": "main",
"index": 0
}
]
]
},
"a7c51767-3fb8-4931-9316-8ada84ced20c": {
"main": [
[
{
"node": "ee187ab3-c45f-4379-925b-b35a38ae6960",
"type": "main",
"index": 0
}
]
]
},
"9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0": {
"main": [
[
{
"node": "1d74b201-ff92-475e-badf-3adcdfc88149",
"type": "main",
"index": 0
}
]
]
},
"776e4ef3-61f8-4a31-aff3-550ff32861c8": {
"ai_languageModel": [
[
{
"node": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"616019f6-fd99-4688-89c6-52fb87a8d1b3": {
"main": [
[
{
"node": "9b8ad45f-4bd8-4eb9-a9f1-9a0f869205a0",
"type": "main",
"index": 0
}
]
]
},
"1d74b201-ff92-475e-badf-3adcdfc88149": {
"main": [
[
{
"node": "78c09194-2899-4b0b-b00a-dd35f85b95c4",
"type": "main",
"index": 0
}
],
[
{
"node": "8d794457-0fda-4f5a-b104-dc1d49e3cbc9",
"type": "main",
"index": 0
}
]
]
},
"badfa608-4dce-4d7f-bee8-b91df407daa5": {
"ai_languageModel": [
[
{
"node": "ce3f23b3-aa8f-479c-b50b-8b7811c98ae5",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"78c09194-2899-4b0b-b00a-dd35f85b95c4": {
"main": [
[
{
"node": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
"type": "main",
"index": 0
}
]
]
},
"0e4118e7-40e8-412b-bcf8-f98e313475f7": {
"main": [
[
{
"node": "616019f6-fd99-4688-89c6-52fb87a8d1b3",
"type": "main",
"index": 0
}
]
]
},
"79f161a8-325c-47f1-8f83-541db9b922dc": {
"ai_outputParser": [
[
{
"node": "ce3f23b3-aa8f-479c-b50b-8b7811c98ae5",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"ce3f23b3-aa8f-479c-b50b-8b7811c98ae5": {
"ai_outputParser": [
[
{
"node": "2f36e8a4-4c76-4b32-8519-56e16e26f349",
"type": "ai_outputParser",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - ソーシャルメディア, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
LinkedInコンテンツファクトリー(OpenAI研究とブランド画像生成機能付き)
LinkedInコンテンツファクトリー、OpenAIリサーチとReplicateのブランド画像生成を統合
If
Set
Code
+
If
Set
Code
23 ノードOnur
ソーシャルメディア
SEO記事の模倣(公開版)
Claude AI、Webflow、画像生成を使ってSEO記事を生成して公開
If
Code
Wait
+
If
Code
Wait
30 ノードMarko
コンテンツ作成
Creatomate を使って短い動画を生成する
Creatomate、ElevenLabs、Pexels 素材ライブラリを使って AI ショートビデオを生成
If
Code
Wait
+
If
Code
Wait
31 ノードMatty Reed
コンテンツ作成
ArunavaのマルチエージェントインタリジャエントReddit自動化
AIによるブランドメンションとBaserowを使用してRedditの投稿に自動のにコメントを投稿
If
Set
Code
+
If
Set
Code
35 ノードArunava
ソーシャルメディア
ポストファクトリー
OpenAI、LinkedIn、TwitterによるSlack承認に基づくソーシャルメディアコンテンツ作成の自動化
If
Gmail
Slack
+
If
Gmail
Slack
22 ノードSaloni Malhotra
ソーシャルメディア
GPT-4oとGoogle Search Consoleを使用してキーワードキャンバリングを検出
GPT-4oとGoogle Search Consoleを使ってキーワードのスローを検出する
If
Code
Merge
+
If
Code
Merge
27 ノードIncrementors
コンテンツ作成