通过Bright_data实现的自动化社交媒体标题发布器
高级
这是一个AI领域的自动化工作流,包含 16 个节点。主要使用 Set, Html, Twitter, LinkedIn, HttpRequest 等节点,结合人工智能技术实现智能自动化。 使用Bright Data和n8n自动化社交媒体标题
前置要求
- •Twitter API 凭证
- •LinkedIn API 凭证
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "u2mAzsvf9Aj0k3Ux",
"meta": {
"instanceId": "60046904b104f0f72b2629a9d88fe9f676be4035769f1f08dad1dd38a76b9480"
},
"name": "通过 Bright_data 实现的自动化社交媒体标题发布器",
"tags": [],
"nodes": [
{
"id": "22814b65-765e-48c3-98c2-00982b74e70e",
"name": "OpenAI 聊天模型",
"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": "======================================="
},
"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": "# ⚡ 自动化 Vogue 标题 → 社交媒体发布器"
},
"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": "## 🔶 **第一部分:设置目标来源**"
},
"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": "## 🔷 **第二部分:抓取和提取标题**"
},
"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": "## 🟣 **第三部分:使用 AI 撰写吸引人的帖子**"
},
"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": "## 🔴 **第四部分:自动发布到社交媒体**"
},
"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": "## 如果您通过此链接加入 Bright Data,我将获得少量佣金 — 感谢您支持更多免费内容!"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "cb513f17-9010-4f78-bc85-756813814380",
"connections": {
"Run workflow": {
"main": [
[
{
"node": "Set Target News URL",
"type": "main",
"index": 0
}
]
]
},
"Extract Title": {
"main": [
[
{
"node": "LinkedIn post writer",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "LinkedIn post writer",
"type": "ai_languageModel",
"index": 0
},
{
"node": "X (Twitter) post writer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Publish to LinkedIn": {
"main": [
[
{
"node": "X (Twitter) post writer",
"type": "main",
"index": 0
}
]
]
},
"Set Target News URL": {
"main": [
[
{
"node": "Scrape Vogue via Bright data",
"type": "main",
"index": 0
}
]
]
},
"LinkedIn post writer": {
"main": [
[
{
"node": "Publish to LinkedIn",
"type": "main",
"index": 0
}
]
]
},
"X (Twitter) post writer": {
"main": [
[
{
"node": "Publish to X (Twitter)",
"type": "main",
"index": 0
}
]
]
},
"Scrape Vogue via Bright data": {
"main": [
[
{
"node": "Extract Title",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Crunchbase初创公司活动监控器
每日初创公司情报:使用GPT处理Crunchbase更新并发送电子邮件摘要
Set
Gmail
Http Request
+5
12 节点Yaron Been
人工智能
自动化论坛监控_via_Bright_data
使用Bright Data和n8n的论坛监控自动化
Set
Code
Html
+6
17 节点Yaron Been
人工智能
使用GPT-4o自动生成上下文YouTube评论
使用GPT-4o自动生成上下文相关的YouTube评论
Set
Http Request
Manual Trigger
+3
11 节点Yaron Been
人工智能
Crunchbase 邮件外联
基于 AI 生成摘要和 Gmail 的个性化 CrunchBase 潜在客户外联
Set
Gmail
Http Request
+5
13 节点Yaron Been
销售
Crunchbase 初创企业动态监控器
AI摘要和邮件警报的Crunchbase实时初创企业情报监控
Set
Gmail
Http Request
+5
12 节点Yaron Been
人工智能
Crunchbase 邮箱外联
使用 CrunchBase 和 Gmail 进行初创公司创始人发现与 AI 驱动外联
Set
Gmail
Http Request
+5
13 节点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 查看 →
分享此工作流