竞争对手Facebook广告分析
高级
这是一个AI, Marketing领域的自动化工作流,包含 18 个节点。主要使用 Set, Wait, Merge, Switch, FormTrigger 等节点,结合人工智能技术实现智能自动化。 使用Gemini和Open AI进行Facebook广告竞争分析
前置要求
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
- •OpenAI API Key
使用的节点 (18)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "vHsNo2bT3fT7hUut",
"meta": {
"instanceId": "933df83c84196d70ce3ffd0bf5d3e1aca31b7366f2f84e1f3482640096e4a3a9",
"templateCredsSetupCompleted": true
},
"name": "Competitor Facebook Ads Analysis",
"tags": [],
"nodes": [
{
"id": "adf65921-a4ad-45a9-af66-cdf28fb9489d",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
-320,
-100
],
"webhookId": "8a6055af-adc8-48df-95d7-ebcc24c4ba08",
"parameters": {},
"typeVersion": 2.2
},
{
"id": "b1a7ea37-cb62-40d1-8f44-5462526ee15d",
"name": "Scrape Ads",
"type": "n8n-nodes-base.httpRequest",
"position": [
-100,
-100
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "e4afbd32-609f-4cc8-8110-ddba6fae220c",
"name": "分支",
"type": "n8n-nodes-base.switch",
"position": [
120,
-100
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "5b65018d-13bc-49c1-8d90-72c312d435a0",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1000,
240
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "30b8d761-b8dd-4fa7-b95d-69fdbaf5f611",
"name": "从文件提取",
"type": "n8n-nodes-base.extractFromFile",
"position": [
700,
-440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "297b137d-efe5-4505-af48-64ee1b74e183",
"name": "Gemini Video Decode",
"type": "n8n-nodes-base.httpRequest",
"maxTries": 2,
"position": [
1520,
-240
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "269d4a72-1357-43f6-8f00-04a1ee4a6598",
"name": "上传至 Postiz",
"type": "n8n-nodes-base.httpRequest",
"position": [
440,
-440
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "85e1b3f4-0756-4417-a671-40fa12dbf7ac",
"name": "Final Image Values",
"type": "n8n-nodes-base.set",
"position": [
1240,
240
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "32b28e43-318f-4fef-b6ad-0aedbc1208b8",
"name": "Final Video Values",
"type": "n8n-nodes-base.set",
"position": [
1820,
-460
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "54257346-eebb-4d78-b067-6fced3f47f87",
"name": "合并",
"type": "n8n-nodes-base.merge",
"position": [
2100,
-100
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "2a0d213e-12b2-4f74-927b-83800f87c669",
"name": "保存",
"type": "n8n-nodes-base.googleSheets",
"position": [
2320,
-100
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "af5c93a1-4cfd-4872-87bf-9aa14c6c9d3f",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
960,
-440
],
"parameters": {},
"typeVersion": 3
},
{
"id": "9ffc219a-5fdc-4807-90a8-9cbeb1b96070",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-380,
-420
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "6cd95539-dd5c-4f30-acd5-74c9ef6165dd",
"name": "等待",
"type": "n8n-nodes-base.wait",
"position": [
1320,
-240
],
"webhookId": "32807fcb-8d03-4359-bfbe-34463de097a9",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "29e86694-dedd-4c98-b495-a1392fc60c02",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
-720
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "96e4fe36-feab-460a-afa1-dc37bfff728f",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1200,
-360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f4776bf8-1cdf-464a-8e84-ee3a3484179c",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
360,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "704d9e14-42bd-453e-b0a0-66023860f4b8",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
2040,
-360
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "efedf1cf-6e33-41ea-889c-e37f73ed8826",
"connections": {
"Wait": {
"main": [
[
{
"node": "Gemini Video Decode",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Save",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"main": [
[
{
"node": "Final Image Values",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Download Video",
"type": "main",
"index": 0
}
],
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
},
"Scrape Ads": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Download Video": {
"main": [
[
{
"node": "Extract from File",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Final Video Values",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Extract from File": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Final Image Values": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Final Video Values": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Scrape Ads",
"type": "main",
"index": 0
}
]
]
},
"Gemini Video Decode": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
使用GPT-4o、WordPress和LinkedIn发布自动化RSS内容到博客文章
If
Set
Code
+21
40 节点Immanuel
人工智能
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能
Linkedin 自动化 - Archit Jain
使用 GPT-4 和 Google Sheets 从 Twitter AI 帖子自动创建 LinkedIn 内容
Code
Wait
Limit
+15
35 节点Archit Jain
人工智能
宠物店 4
🐶 宠物店预约 AI 代理
If
Set
Code
+41
187 节点Bruno Dias
人工智能
Facebook广告竞品创意分析与自动邮件报告
使用AI(GPT-4和Gemini)分析竞争对手Facebook广告并生成邮件报告
Set
Wait
Gmail
+13
31 节点SamirLiu
人工智能
病毒式标题/缩略图生成
自动化病毒式YouTube标题和缩略图创建(FLUX.1 + Apify)
If
Set
Code
+13
41 节点Nasser
人工智能