广告监测工具(含AI模型名称:GPT-4、Gemini)
高级
这是一个Market Research, Multimodal AI领域的自动化工作流,包含 29 个节点。主要使用 Wait, Filter, Switch, GoogleDrive, HttpRequest 等节点。 广告监测工具(含AI模型名称:GPT-4、Gemini)
前置要求
- •Google Drive API 凭证
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
- •OpenAI API Key
使用的节点 (29)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "c06b75187a3df8fc1f7d0dca41a1070761a5c8ab93bdb0bd30143dfe764a0663"
},
"nodes": [
{
"id": "7b871655-6aaf-48c0-adde-29d5c21ba6a5",
"name": "当点击\"执行工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
20,
420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "eb4c10b6-d72a-4356-82c4-95a3c700f7f8",
"name": "切换",
"type": "n8n-nodes-base.switch",
"position": [
680,
420
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "4ad8e9cc-d7af-4969-99c2-92cbdda36f0d",
"name": "筛选点赞",
"type": "n8n-nodes-base.filter",
"position": [
460,
420
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "35076fc4-c507-4751-9f18-337480bdb217",
"name": "等待",
"type": "n8n-nodes-base.wait",
"position": [
1700,
720
],
"webhookId": "1cda7407-6321-4d8d-b532-19f42514eb63",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "1c712982-8f12-4bb9-b138-70ab5fa93544",
"name": "等待1",
"type": "n8n-nodes-base.wait",
"position": [
1960,
420
],
"webhookId": "1cda7407-6321-4d8d-b532-19f42514eb63",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "be474566-da3d-407b-9bdc-e0e607204fe1",
"name": "下载视频",
"type": "n8n-nodes-base.httpRequest",
"position": [
1200,
40
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "9f5265fb-5135-484b-9c0b-87b4a3519025",
"name": "上传视频到 Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
1420,
40
],
"parameters": {},
"typeVersion": 3
},
{
"id": "da4075a2-aac8-4c1d-a41e-0165c45fa567",
"name": "等待2",
"type": "n8n-nodes-base.wait",
"position": [
3420,
120
],
"webhookId": "1cda7407-6321-4d8d-b532-19f42514eb63",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "28474a12-11dd-49c7-8309-6b4a2bed2f13",
"name": "运行广告库爬虫",
"type": "n8n-nodes-base.httpRequest",
"position": [
240,
420
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "bffdf838-2a9d-4992-8664-c053b069a8ed",
"name": "循环图片广告",
"type": "n8n-nodes-base.splitInBatches",
"position": [
900,
420
],
"parameters": {},
"typeVersion": 3
},
{
"id": "05bcf6cc-d63f-4ccb-8e73-26f7e02a04b8",
"name": "循环文本广告",
"type": "n8n-nodes-base.splitInBatches",
"position": [
900,
720
],
"parameters": {},
"typeVersion": 3
},
{
"id": "c4ad841b-e79c-4e90-b8cf-39e63e6ceee4",
"name": "循环视频广告",
"type": "n8n-nodes-base.splitInBatches",
"position": [
900,
120
],
"parameters": {},
"typeVersion": 3
},
{
"id": "bb5eff48-7181-420c-b0f3-c0be58a40864",
"name": "开始 Gemini 上传会话",
"type": "n8n-nodes-base.httpRequest",
"position": [
1620,
40
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "c4502850-8a5b-4f2e-a0eb-209de70725a7",
"name": "重新下载视频",
"type": "n8n-nodes-base.googleDrive",
"position": [
1840,
40
],
"parameters": {},
"typeVersion": 3
},
{
"id": "cd220a1c-0fb6-4644-a364-a53335427bfc",
"name": "上传视频到 Gemini",
"type": "n8n-nodes-base.httpRequest",
"position": [
2060,
40
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "dc7b7679-6c4d-469e-be36-c2e860362a67",
"name": "使用 Gemini 分析视频",
"type": "n8n-nodes-base.httpRequest",
"position": [
2540,
40
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 4.2,
"waitBetweenTries": 15
},
{
"id": "b2c21f99-b9f6-4c69-a740-eff294bba6d7",
"name": "输出视频摘要",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
2820,
40
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "9e74b57d-9666-42c4-996b-1cef22401730",
"name": "添加类型=视频",
"type": "n8n-nodes-base.googleSheets",
"position": [
3180,
40
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "c7c07c50-e045-481a-a3fe-d0163d89563e",
"name": "分析图像",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1200,
340
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "584af5be-011b-45e2-82c9-e95a12d8c427",
"name": "输出图片摘要",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1400,
340
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "dd8bba7b-90ff-43dc-ac20-278ec982b8b1",
"name": "添加类型=图片",
"type": "n8n-nodes-base.googleSheets",
"position": [
1760,
340
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "39dfab9c-149c-41d7-ab98-3f64a5f26a06",
"name": "输出文本摘要",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1120,
640
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "bc660880-87c8-4bf1-975e-d71ed813d1d5",
"name": "添加类型=文本",
"type": "n8n-nodes-base.googleSheets",
"position": [
1480,
640
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "76f07391-8295-4ddd-bde0-ebe9e8f74ad2",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
100,
40
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "831f186e-fc4e-434b-be78-27c9725bc1f5",
"name": "等待3",
"type": "n8n-nodes-base.wait",
"position": [
2280,
40
],
"webhookId": "ac11c85a-5b73-4a29-9667-615e811a5ad8",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "7c3ce2fb-5322-40c2-82f8-f9a310da0358",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3a797eea-9cca-4544-99b6-4c07cfb2ce1d",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
20
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "62ecc5b6-c209-4624-8013-40f97f556769",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
320
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f6f489db-f122-4397-b25e-d9cbdef4c1c9",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
620
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Wait": {
"main": [
[
{
"node": "Loop Over Text Ads",
"type": "main",
"index": 0
}
]
]
},
"Wait1": {
"main": [
[
{
"node": "Loop Over Image Ads",
"type": "main",
"index": 0
}
]
]
},
"Wait2": {
"main": [
[
{
"node": "Loop Over Video Ads",
"type": "main",
"index": 0
}
]
]
},
"Wait3": {
"main": [
[
{
"node": "Analyze Video with Gemini",
"type": "main",
"index": 0
}
]
]
},
"Switch": {
"main": [
[
{
"node": "Loop Over Video Ads",
"type": "main",
"index": 0
}
],
[
{
"node": "Loop Over Image Ads",
"type": "main",
"index": 0
}
],
[
{
"node": "Loop Over Text Ads",
"type": "main",
"index": 0
}
]
]
},
"Analyze Image": {
"main": [
[
{
"node": "Output Image Summary",
"type": "main",
"index": 0
}
]
]
},
"Download Video": {
"main": [
[
{
"node": "Upload Video to Drive",
"type": "main",
"index": 0
}
]
]
},
"Filter For Likes": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Redownload Video": {
"main": [
[
{
"node": "Upload Video to Gemini",
"type": "main",
"index": 0
}
]
]
},
"Add as Type = Text": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Text Ads": {
"main": [
[],
[
{
"node": "Output Text Summary",
"type": "main",
"index": 0
}
]
]
},
"Add as Type = Image": {
"main": [
[
{
"node": "Wait1",
"type": "main",
"index": 0
}
]
]
},
"Add as Type = Video": {
"main": [
[
{
"node": "Wait2",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Image Ads": {
"main": [
[],
[
{
"node": "Analyze Image",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Video Ads": {
"main": [
[],
[
{
"node": "Download Video",
"type": "main",
"index": 0
}
]
]
},
"Output Text Summary": {
"main": [
[
{
"node": "Add as Type = Text",
"type": "main",
"index": 0
}
]
]
},
"Output Image Summary": {
"main": [
[
{
"node": "Add as Type = Image",
"type": "main",
"index": 0
}
]
]
},
"Output Video Summary": {
"main": [
[
{
"node": "Add as Type = Video",
"type": "main",
"index": 0
}
]
]
},
"Upload Video to Drive": {
"main": [
[
{
"node": "Begin Gemini Upload Session",
"type": "main",
"index": 0
}
]
]
},
"Run Ad Library Scraper": {
"main": [
[
{
"node": "Filter For Likes",
"type": "main",
"index": 0
}
]
]
},
"Upload Video to Gemini": {
"main": [
[
{
"node": "Wait3",
"type": "main",
"index": 0
}
]
]
},
"Analyze Video with Gemini": {
"main": [
[
{
"node": "Output Video Summary",
"type": "main",
"index": 0
}
]
]
},
"Begin Gemini Upload Session": {
"main": [
[
{
"node": "Redownload Video",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Run Ad Library Scraper",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 市场调研, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI Facebook广告间谍工具
基于Apify、OpenAI、Gemini和Google Sheets的AI Facebook广告间谍工具
Wait
Filter
Switch
+7
29 节点Nick Saraev
市场调研
使用 Apify、GPT-4 和 Google Drive 从竞争对手生成 AI Facebook 广告变体
使用 Apify、GPT-4 和 Google Drive 从竞争对手生成 AI Facebook 广告变体
Set
Wait
Limit
+10
29 节点Electrabot
内容创作
使用OpenAI、ElevenLabs和Hedra创建病毒式婴儿播客YouTube短视频
使用OpenAI、ElevenLabs和Hedra创建病毒式婴儿播客YouTube短视频
Code
Wait
Merge
+12
38 节点Electrabot
内容创作
LinkedIn和X病毒内容自动引擎
使用AI生成和发布自动创建LinkedIn和X的病毒内容
If
Set
Wait
+26
156 节点Diptamoy Barman
内容创作
我的工作流
使用 Apify、GPT-4o 和 Facebook 广告库进行竞争广告研究与图像生成
Set
Wait
Limit
+10
32 节点Nick Saraev
内容创作
Gemini_NanoBanana_模板
使用 Fal.ai 模型(nano-banana、WAN2.2、Veo3)从 Google Sheets 生成 UGC 广告
If
Set
Code
+13
36 节点Jaruphat J.
内容创作
工作流信息
难度等级
高级
节点数量29
分类2
节点类型10
作者
Electrabot
@vansh404AI Automation Agency Based In Canada Reach out to me if you need any help -https://www.linkedin.com/in/vansharoraa/
外部链接
在 n8n.io 查看 →
分享此工作流