Bright Dataを活用した自動ソーシャルメディアタイトル投稿ツール
上級
これはAI分野の自動化ワークフローで、16個のノードを含みます。主にSet, Html, Twitter, LinkedIn, HttpRequestなどのノードを使用、AI技術を活用したスマート自動化を実現。 Bright Dataとn8nを使ってソーシャルメディアのタイトルを自動化する
前提条件
- •Twitter API認証情報
- •LinkedIn API認証情報
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "u2mAzsvf9Aj0k3Ux",
"meta": {
"instanceId": "60046904b104f0f72b2629a9d88fe9f676be4035769f1f08dad1dd38a76b9480"
},
"name": "Automated_Social_Media_Headline_Poster_via_Bright_data",
"tags": [],
"nodes": [
{
"id": "22814b65-765e-48c3-98c2-00982b74e70e",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
3000,
900
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "8sEyPDkC5p4w4Jha",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb",
"name": "LinkedIn投稿作成",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2980,
680
],
"parameters": {
"text": "={{ $json.Title }}",
"options": {
"systemMessage": "Extract the headline and write a post for LinkedIn based on the headline"
},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "aac3869f-9f8e-49b0-bdc9-9eae0921474c",
"name": "ワークフロー実行",
"type": "n8n-nodes-base.manualTrigger",
"position": [
1960,
680
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a5187a0d-25b8-45d4-8578-4ad51397ab41",
"name": "ターゲットニュースURL設定",
"type": "n8n-nodes-base.set",
"position": [
2180,
680
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "2c5f11b0-9f25-4b30-b0a0-1080fd33e7d4",
"name": "SIte",
"type": "string",
"value": "Vogue"
},
{
"id": "65be4ab3-6cef-4f70-9cb9-e9753fbf7543",
"name": "URL",
"type": "string",
"value": "https://www.vogue.com/fashion"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "79362a39-b73d-4f40-bdee-780d78abfae6",
"name": "LinkedInへ投稿",
"type": "n8n-nodes-base.linkedIn",
"position": [
3360,
680
],
"parameters": {
"text": "={{ $json.output }}",
"additionalFields": {}
},
"typeVersion": 1
},
{
"id": "fbf2c950-fd2c-4aa3-9e24-45d171f1056b",
"name": "X (Twitter)へ投稿",
"type": "n8n-nodes-base.twitter",
"position": [
3980,
680
],
"parameters": {
"text": "={{ $json.output }}",
"additionalFields": {}
},
"typeVersion": 2
},
{
"id": "7f4e4da6-3611-496b-a4bc-93daa1d9039f",
"name": "X (Twitter)投稿作成",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
3620,
680
],
"parameters": {
"text": "={{ $('Extract Title').item.json.Title }}",
"options": {
"systemMessage": "Extract the headline and write a post for Twitter based on the headline"
},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "7b730fa3-5c0a-422f-8de5-f713b2f945ab",
"name": "付箋9",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"color": 4,
"width": 1300,
"height": 320,
"content": "=======================================\n WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n - YouTube: https://www.youtube.com/@YaronBeen/videos\n - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n=======================================\n"
},
"typeVersion": 1
},
{
"id": "defc9ec0-917a-4020-940b-9cb926a3a582",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
340
],
"parameters": {
"color": 4,
"width": 1289,
"height": 3418,
"content": "# ⚡ Automated Vogue Headline → Social Media Poster\n\n### 🧠 Purpose:\n\nAutomatically scrape trending headlines from Vogue, convert them into engaging posts using AI, and publish them to **LinkedIn** and **Twitter (X)** — *no manual effort needed*.\n\n---\n\n## 🔶 **Section 1: Set the Target Source**\n\n📌 *Nodes:*\n\n* `Run workflow`\n* `Set Target News URL`\n\n### 🛠 What’s Happening:\n\n* ✅ `Run workflow`: Triggers the automation either manually or on a schedule (e.g., daily).\n* 🖊 `Set Target News URL`: Sets the **source URL** (e.g., `https://www.vogue.com/fashion`) from where the headlines will be scraped.\n\n### 💡 Why It Matters:\n\nThis lets you choose your news source dynamically. You could even expand this later for other websites like *TechCrunch, Forbes, etc.*\n\n>  Think of this section as the **GPS** – it tells the system where to go fetch the news from.\n\n---\n\n## 🔷 **Section 2: Scrape & Extract Headlines**\n\n📌 *Nodes:*\n\n* `Scrape Vogue via Bright Data`\n* `Extract Title`\n\n### 🛠 What’s Happening:\n\n* 🌐 `Scrape Vogue via Bright Data`: Uses **Bright Data Web Unlocker** to bypass bot protection and get the full HTML of the Vogue page using a POST request.\n* 🧾 `Extract Title`: Extracts the headline(s) from the HTML using a CSS selector like `.article-feed-card__hed-text`.\n\n### 💡 Why It Matters:\n\nSome websites block scraping — **Bright Data** ensures you can reliably extract content. The extractor node ensures you get clean, usable text.\n\n>  This is your **web crawler** and **filter**, doing the dirty work of fetching and cleaning up info.\n\n---\n\n## 🟣 **Section 3: Use AI to Write Engaging Posts**\n\n📌 *Nodes:*\n\n* `LinkedIn post writer`\n* `X (Twitter) post writer`\n\n### 🛠 What’s Happening:\n\n* 🤖 `LinkedIn post writer`: Passes the headline to an OpenAI Chat Model to turn it into a professional, catchy LinkedIn post.\n* 🐦 `X (Twitter) post writer`: Similarly formats a shorter, witty version for X/Twitter.\n\nBoth use prompts like:\n\n> “Write a trendy post about the following Vogue headline for \\[LinkedIn/Twitter]. Add hashtags. Keep tone professional/casual.”\n\n### 💡 Why It Matters:\n\nAI tailors each post **per platform** — no copy-pasting. Your brand voice is preserved while staying context-aware.\n\n>  This is your **copywriting intern** — except it works 24/7 and never gets tired.\n\n---\n\n## 🔴 **Section 4: Auto-Publish to Social Media**\n\n📌 *Nodes:*\n\n* `Publish to LinkedIn`\n* `Publish to X (Twitter)`\n\n### 🛠 What’s Happening:\n\n* 💼 `Publish to LinkedIn`: Posts the AI-generated content directly to your **LinkedIn page or profile**.\n* 📣 `Publish to X (Twitter)`: Tweets the optimized content via your **Twitter developer account**.\n\n> Note: These nodes are showing ⚠️ errors — make sure authentication and permissions (tokens) are set up correctly.\n\n### 💡 Why It Matters:\n\nThis eliminates **manual social media posting** — great for content marketers, personal branding, or agencies.\n\n>  This section is your **launchpad**, sending your posts to the world.\n\n---\n\n# 🧩 Summary Table\n\n| Section | Function | What It Does | Key Tools |\n| ------- | ---------------------------- | ------------------------------------------------ | ------------------------------ |\n| 1 | Set Target URL | Tells the system what site to scrape | `Manual Trigger`, `Set Node` |\n| 2 | Scrape & Extract | Uses Bright Data to get HTML + Extract headlines | `HTTP Request`, `HTML Extract` |\n| 3 | AI Content Generation | Converts headline into social media post | `OpenAI`, `Chat Model` |\n| 4 | Auto-Publish to Social Media | Posts to LinkedIn and Twitter | `LinkedIn`, `X/Twitter` |\n\n---\n\n# ✨ Bonus Suggestions\n\n✅ Add a **scheduler** to run this daily\n✅ Log posted headlines in **Google Sheets or Notion**\n✅ Add a filter to **skip duplicate headlines**\n\n---\n\n\n"
},
"typeVersion": 1
},
{
"id": "490c2efe-0d1e-408c-806c-5e3a48f61264",
"name": "Bright data経由でVogueをスクレイピング",
"type": "n8n-nodes-base.httpRequest",
"position": [
2480,
680
],
"parameters": {
"url": "https://api.brightdata.com/request",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "zone",
"value": "n8n_unblocker"
},
{
"name": "url",
"value": "={{ $json.URL }}"
},
{
"name": "country",
"value": "us"
},
{
"name": "format",
"value": "raw"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "a7a4f66f-b5a8-4563-a306-57b72c1ac0a1",
"name": "タイトル抽出",
"type": "n8n-nodes-base.html",
"position": [
2720,
680
],
"parameters": {
"options": {},
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "Title",
"cssSelector": "#\\35 f10df145161a26b33fec09b > div > div > div > div.SummaryItemWrapper-iwvBff.juTBkb.summary-item.summary-item--no-icon.summary-item--text-align-center.summary-item--layout-placement-text-below.summary-item--layout-position-image-left.summary-item--layout-proportions-50-50.summary-item--side-by-side-align-center.summary-item--side-by-side-image-right-mobile-false.summary-item--standard.SummaryCollageFiveItem-kWJUcr.fqnbhT.search_result_item-68507588d2b17faf259ac70e.undefined_summary_item-68507588d2b17faf259ac70e > div.SummaryItemContent-eiDYMl.fSburJ.summary-item__content > a > h3"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "f4d2614f-ddf7-48ea-83cc-7f7675ca35be",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
1940,
-40
],
"parameters": {
"color": 5,
"width": 380,
"height": 920,
"content": "## 🔶 **Section 1: Set the Target Source**\n\n📌 *Nodes:*\n\n* `Run workflow`\n* `Set Target News URL`\n\n### 🛠 What’s Happening:\n\n* ✅ `Run workflow`: Triggers the automation either manually or on a schedule (e.g., daily).\n* 🖊 `Set Target News URL`: Sets the **source URL** (e.g., `https://www.vogue.com/fashion`) from where the headlines will be scraped.\n\n### 💡 Why It Matters:\n\nThis lets you choose your news source dynamically. You could even expand this later for other websites like *TechCrunch, Forbes, etc.*\n\n>  Think of this section as the **GPS** – it tells the system where to go fetch the news from.\n\n---\n"
},
"typeVersion": 1
},
{
"id": "4926a696-817c-417e-86d7-ebb4eacb5c3a",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
2420,
-80
],
"parameters": {
"color": 7,
"width": 440,
"height": 960,
"content": "## 🔷 **Section 2: Scrape & Extract Headlines**\n\n📌 *Nodes:*\n\n* `Scrape Vogue via Bright Data`\n* `Extract Title`\n\n### 🛠 What’s Happening:\n\n* 🌐 `Scrape Vogue via Bright Data`: Uses **Bright Data Web Unlocker** to bypass bot protection and get the full HTML of the Vogue page using a POST request.\n* 🧾 `Extract Title`: Extracts the headline(s) from the HTML using a CSS selector like `.article-feed-card__hed-text`.\n\n### 💡 Why It Matters:\n\nSome websites block scraping — **Bright Data** ensures you can reliably extract content. The extractor node ensures you get clean, usable text.\n\n>  This is your **web crawler** and **filter**, doing the dirty work of fetching and cleaning up info.\n\n---\n\n"
},
"typeVersion": 1
},
{
"id": "aaab5f22-013e-4697-80c5-3fac64a76e6f",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
2940,
-80
],
"parameters": {
"color": 6,
"width": 540,
"height": 1100,
"content": "## 🟣 **Section 3: Use AI to Write Engaging Posts**\n\n📌 *Nodes:*\n\n* `LinkedIn post writer`\n* `X (Twitter) post writer`\n\n### 🛠 What’s Happening:\n\n* 🤖 `LinkedIn post writer`: Passes the headline to an OpenAI Chat Model to turn it into a professional, catchy LinkedIn post.\n* 🐦 `X (Twitter) post writer`: Similarly formats a shorter, witty version for X/Twitter.\n\nBoth use prompts like:\n\n> “Write a trendy post about the following Vogue headline for \\[LinkedIn/Twitter]. Add hashtags. Keep tone professional/casual.”\n\n### 💡 Why It Matters:\n\nAI tailors each post **per platform** — no copy-pasting. Your brand voice is preserved while staying context-aware.\n\n>  This is your **copywriting intern** — except it works 24/7 and never gets tired.\n\n---\n\n"
},
"typeVersion": 1
},
{
"id": "fb12e0fa-64e2-4ea3-a01b-8b1204efae2a",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
3580,
-60
],
"parameters": {
"color": 3,
"width": 540,
"height": 940,
"content": "## 🔴 **Section 4: Auto-Publish to Social Media**\n\n📌 *Nodes:*\n\n* `Publish to LinkedIn`\n* `Publish to X (Twitter)`\n\n### 🛠 What’s Happening:\n\n* 💼 `Publish to LinkedIn`: Posts the AI-generated content directly to your **LinkedIn page or profile**.\n* 📣 `Publish to X (Twitter)`: Tweets the optimized content via your **Twitter developer account**.\n\n> Note: These nodes are showing ⚠️ errors — make sure authentication and permissions (tokens) are set up correctly.\n\n### 💡 Why It Matters:\n\nThis eliminates **manual social media posting** — great for content marketers, personal branding, or agencies.\n\n>  This section is your **launchpad**, sending your posts to the world.\n\n---\n\n"
},
"typeVersion": 1
},
{
"id": "2ea582b1-c9ac-4a6c-8c39-ec97cd14b6f4",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
4240,
-60
],
"parameters": {
"color": 7,
"width": 380,
"height": 240,
"content": "## I’ll receive a tiny commission if you join Bright Data through this link—thanks for fueling more free content!\n\n### https://get.brightdata.com/1tndi4600b25"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "cb513f17-9010-4f78-bc85-756813814380",
"connections": {
"aac3869f-9f8e-49b0-bdc9-9eae0921474c": {
"main": [
[
{
"node": "a5187a0d-25b8-45d4-8578-4ad51397ab41",
"type": "main",
"index": 0
}
]
]
},
"a7a4f66f-b5a8-4563-a306-57b72c1ac0a1": {
"main": [
[
{
"node": "0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb",
"type": "main",
"index": 0
}
]
]
},
"22814b65-765e-48c3-98c2-00982b74e70e": {
"ai_languageModel": [
[
{
"node": "0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb",
"type": "ai_languageModel",
"index": 0
},
{
"node": "7f4e4da6-3611-496b-a4bc-93daa1d9039f",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"79362a39-b73d-4f40-bdee-780d78abfae6": {
"main": [
[
{
"node": "7f4e4da6-3611-496b-a4bc-93daa1d9039f",
"type": "main",
"index": 0
}
]
]
},
"a5187a0d-25b8-45d4-8578-4ad51397ab41": {
"main": [
[
{
"node": "490c2efe-0d1e-408c-806c-5e3a48f61264",
"type": "main",
"index": 0
}
]
]
},
"0fd15cfb-7564-4db3-bdb0-b0a32b69c4fb": {
"main": [
[
{
"node": "79362a39-b73d-4f40-bdee-780d78abfae6",
"type": "main",
"index": 0
}
]
]
},
"7f4e4da6-3611-496b-a4bc-93daa1d9039f": {
"main": [
[
{
"node": "fbf2c950-fd2c-4aa3-9e24-45d171f1056b",
"type": "main",
"index": 0
}
]
]
},
"490c2efe-0d1e-408c-806c-5e3a48f61264": {
"main": [
[
{
"node": "a7a4f66f-b5a8-4563-a306-57b72c1ac0a1",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
上級 - 人工知能
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Crunchbaseスタートアップ活動モニタ
毎日のスタートアップインテリジェンスでGPTがCrunchbaseのアップデートを処理し、メールで要約を送信
Set
Gmail
Http Request
+
Set
Gmail
Http Request
12 ノードYaron Been
人工知能
Bright Dataを使った自動化フォーラムモニタリング
Bright Dataとn8nを使ったフォーラム監視の自動化
Set
Code
Html
+
Set
Code
Html
17 ノードYaron Been
人工知能
GPT-4oを使用してコンテキストを自動生成するYouTubeコメント
GPT-4oを使用してYouTubeコメントを自動生成し、文脈に関連するものにする
Set
Http Request
Manual Trigger
+
Set
Http Request
Manual Trigger
11 ノードYaron Been
人工知能
Brazeで既存のメールテンプレートを更新
AIを使用してInstagram、Facebook、LinkedIn、Xでのソーシャルメディアコンテンツを自動化
Set
Gmail
Merge
+
Set
Gmail
Merge
73 ノードLukaszB
デザイン
研究論文スパイダーをGoogleスプシへ
Bright Dataとn8nを使った研究論文収集の自動化
Set
Code
Html
+
Set
Code
Html
12 ノードYaron Been
人工知能
AI YouTube分析アシスタント:コメント分析とインサイトレポート
AI YouTube分析アシスタント:コメント分析ツールとインサイトレポート生成ツール
If
Set
Code
+
If
Set
Code
19 ノードYaron Been
人工知能
ワークフロー情報
難易度
上級
ノード数16
カテゴリー1
ノードタイプ9
作成者
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host If you need any help with Automations, feel free to reach out via linkedin: https://www.linkedin.com/in/yaronbeen/ And check out my Youtube channel: https://www.youtube.com/@YaronBeen/videos
外部リンク
n8n.ioで表示 →
このワークフローを共有