优化您表现最佳的网站内容:Google Analytics、Firecrawl和InfraNodus
高级
这是一个Market Research, AI Summarization领域的自动化工作流,包含 17 个节点。主要使用 Code, Form, FormTrigger, HttpRequest, SplitInBatches 等节点。 使用 Google Analytics、Firecrawl 和 InfraNodus 分析与优化顶级网站内容
前置要求
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "NVYTk6MsFOtt7oz1",
"meta": {
"instanceId": "2a26454b0172ffcb8d70ba77c235b1209f92cd71bf06c79ba609c7173b416d68",
"templateCredsSetupCompleted": true
},
"name": "优化您表现最佳的网站内容:Google Analytics、Firecrawl和InfraNodus",
"tags": [
{
"id": "E52i6BJ7Ht6yF3OB",
"name": "Productivity",
"createdAt": "2025-06-04T10:29:27.533Z",
"updatedAt": "2025-06-04T10:29:27.533Z"
},
{
"id": "MyFEaUe9Eo4t7SvF",
"name": "SEO",
"createdAt": "2025-05-20T13:16:17.982Z",
"updatedAt": "2025-05-20T13:16:17.982Z"
},
{
"id": "kldZpTCan1suEN8v",
"name": "Marketing",
"createdAt": "2025-05-20T13:16:20.459Z",
"updatedAt": "2025-05-20T13:16:20.459Z"
}
],
"nodes": [
{
"id": "d891e465-f85d-4496-a17e-8def7784e7d0",
"name": "InfraNodus 保存到图谱",
"type": "n8n-nodes-base.httpRequest",
"position": [
1260,
280
],
"parameters": {
"url": "https://infranodus.com/api/v1/graphAndStatements?doNotSave=false&includeGraph=false&includeGraphSummary=true&includeGraph=false",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "name",
"value": "top_support_pages"
},
{
"name": "text",
"value": "={{ $json.data.markdown }}"
},
{
"name": "=categories",
"value": "=[filename: {{ $('Loop Over Items').item.json.pagePath .slice(0,16)}}]"
},
{
"name": "contextSettings",
"value": "={{{ \"squareBracketsProcessing\":\"IGNORE_BRACKETS\"} }}"
}
]
},
"genericAuthType": "httpBearerAuth"
},
"credentials": {
"httpBearerAuth": {
"id": "6JhFyMydVKFetXnQ",
"name": "InfraNodus Demo API Key"
}
},
"typeVersion": 4.2
},
{
"id": "3b5a882d-eba5-4303-bd0f-b55bb9dc3c80",
"name": "Google Analytics",
"type": "n8n-nodes-base.googleAnalytics",
"position": [
260,
180
],
"parameters": {
"limit": 30,
"dateRange": "last30days",
"metricsGA4": {
"metricValues": [
{
"listName": "screenPageViews"
}
]
},
"propertyId": {
"__rl": true,
"mode": "list",
"value": "367609797",
"cachedResultUrl": "https://analytics.google.com/analytics/web/#/p367609797/",
"cachedResultName": "NodusLabs Support - GA4"
},
"dimensionsGA4": {
"dimensionValues": [
{
"name": "pagePath",
"listName": "other"
}
]
},
"additionalFields": {}
},
"credentials": {
"googleAnalyticsOAuth2": {
"id": "oyUs81DDRd1Y8Aw3",
"name": "Google Analytics account"
}
},
"typeVersion": 2
},
{
"id": "9b026c0e-b5e8-4269-875f-25020808cf2f",
"name": "代码",
"type": "n8n-nodes-base.code",
"position": [
460,
200
],
"parameters": {
"jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n item.json.fullUrl = \"https://support.noduslabs.com\" + item.json.pagePath\n}\n\nreturn $input.all();"
},
"typeVersion": 2
},
{
"id": "053de933-9cb0-454e-b504-7e51b9fce532",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
700,
200
],
"parameters": {
"options": {
"reset": false
}
},
"typeVersion": 3
},
{
"id": "5b9a3e4d-ebeb-4ced-b4f3-f8d871d40351",
"name": "InfraNodus GraphRAG摘要",
"type": "n8n-nodes-base.httpRequest",
"position": [
980,
-240
],
"parameters": {
"url": "https://infranodus.com/api/v1/graphAndAdvice?doNotSave=true&includeGraph=false&includeGraphSummary=true",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "name",
"value": "top_support_pages"
},
{
"name": "requestMode",
"value": "=summary"
},
{
"name": "aiTopics",
"value": "true"
}
]
},
"genericAuthType": "httpBearerAuth"
},
"credentials": {
"httpBearerAuth": {
"id": "6JhFyMydVKFetXnQ",
"name": "InfraNodus Demo API Key"
}
},
"typeVersion": 4.2
},
{
"id": "87d3b8f9-0b29-4f59-80d0-c24506c1672d",
"name": "表单",
"type": "n8n-nodes-base.form",
"position": [
1260,
-240
],
"webhookId": "87fe6592-cad6-44a2-bf6a-a7fed7e36b10",
"parameters": {
"operation": "completion",
"respondWith": "showText",
"responseText": "=<br>\n<h1>Top Content Summary</h1>\n<h3>{{ $json.aiAdvice[0].text }}</h3>\n<br>\n<h1>Main Topics</h1>\n<h3>{{ $json.graphSummary }}</h3>"
},
"typeVersion": 1
},
{
"id": "ab6c3d18-e864-4d7a-882d-640433d89692",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-1000
],
"parameters": {
"color": 4,
"width": 720,
"height": 820,
"content": "# 优化您表现最佳的网站内容"
},
"typeVersion": 1
},
{
"id": "4b064223-fd1f-4908-9989-88460d674ffe",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-40,
-140
],
"parameters": {
"width": 200,
"height": 280,
"content": "## 1. 触发工作流"
},
"typeVersion": 1
},
{
"id": "b6947c22-985b-4930-8e2c-e8cacbf10999",
"name": "表单提交时",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
-20
],
"webhookId": "b1dd1744-90bb-4bdd-bc1e-f9f78256435e",
"parameters": {
"options": {},
"formTitle": "Launch Analysis",
"formDescription": "This workflow will analyze top visited pages in a Google Analytics property you select and reveal the main topics inside."
},
"typeVersion": 2.2
},
{
"id": "e38ad0da-6f9c-4fc3-98b5-96f0d3306342",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-140
],
"parameters": {
"width": 200,
"height": 480,
"content": "## 2. 从您的Google Analytics账户获取热门页面"
},
"typeVersion": 1
},
{
"id": "c25a4cff-fb5f-4c84-8600-13a3c98784e4",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
-140
],
"parameters": {
"width": 200,
"height": 480,
"content": "## 3. 修复分析链接"
},
"typeVersion": 1
},
{
"id": "149613e6-a11b-4749-85fd-f6c0322ee1bd",
"name": "便签说明4",
"type": "n8n-nodes-base.stickyNote",
"position": [
660,
-140
],
"parameters": {
"width": 200,
"height": 480,
"content": "## 4. 遍历每个URL页面"
},
"typeVersion": 1
},
{
"id": "fb3050ec-f4e6-424e-8f1e-7152791b8001",
"name": "便签说明5",
"type": "n8n-nodes-base.stickyNote",
"position": [
920,
100
],
"parameters": {
"width": 200,
"height": 400,
"content": "## 5. 抓取并从每个URL提取文本"
},
"typeVersion": 1
},
{
"id": "d517976a-f792-4d67-ac30-0b3e297a04c0",
"name": "使用Firecrawl将URL转换为Markdown",
"type": "n8n-nodes-base.httpRequest",
"position": [
960,
300
],
"parameters": {
"url": "https://api.firecrawl.dev/v1/scrape",
"method": "POST",
"options": {},
"sendBody": true,
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $json.fullUrl }}"
}
]
},
"genericAuthType": "httpBearerAuth"
},
"credentials": {
"httpBearerAuth": {
"id": "6A4tAAAhIAImDTiu",
"name": "Firecrawl"
}
},
"typeVersion": 4.2
},
{
"id": "e8a79940-f810-439d-b094-1a06c6550862",
"name": "便签 6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1200,
20
],
"parameters": {
"width": 200,
"height": 480,
"content": "## 6. 将文本保存到InfraNodus知识图谱"
},
"typeVersion": 1
},
{
"id": "5ac8c100-f1f2-4b17-9187-1b32d06b0a4c",
"name": "便签 7",
"type": "n8n-nodes-base.stickyNote",
"position": [
920,
-540
],
"parameters": {
"width": 200,
"height": 540,
"content": "## 7. 从图谱获取主要主题"
},
"typeVersion": 1
},
{
"id": "4b51a22d-3c9f-4c3d-915e-197986ccd0f1",
"name": "## 为什么选择 4o 模型?👆",
"type": "n8n-nodes-base.stickyNote",
"position": [
1200,
-540
],
"parameters": {
"width": 200,
"height": 520,
"content": "## 8. 显示最终结果"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "28265123-7003-43e7-81fe-db737067ca43",
"connections": {
"Code": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "InfraNodus GraphRAG Summary",
"type": "main",
"index": 0
}
],
[
{
"node": "URL to Markdown with Firecrawl",
"type": "main",
"index": 0
}
]
]
},
"Google Analytics": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "Google Analytics",
"type": "main",
"index": 0
}
]
]
},
"InfraNodus Save to Graph": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"InfraNodus GraphRAG Summary": {
"main": [
[
{
"node": "Form",
"type": "main",
"index": 0
}
]
]
},
"URL to Markdown with Firecrawl": {
"main": [
[
{
"node": "InfraNodus Save to Graph",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 市场调研, AI 摘要总结
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 GraphRAG 从 PDF 文档生成内容创意
使用InfraNodus GraphRAG和AI差距分析从PDF文档生成内容创意
Code
Form
Form Trigger
+3
16 节点InfraNodus
内容创作
选题捕手模板
使用Gemini分析Reddit、YouTube和X生成内容策略报告
If
Set
Code
+14
34 节点Sheryl
市场调研
使用ChannelCrawler和GPT在Google Slides中创建YouTube频道资料报告
使用ChannelCrawler和GPT-4在Google Slides中生成YouTube频道资料报告
Code
Form Trigger
Http Request
+4
15 节点Afareayo Soremekun
市场调研
通过竞争对手内容分析发现市场研究和 SEO 的内容空白
使用 InfraNodus GraphRAG 分析竞争对手网站内容空白,助力 SEO
If
Code
Wait
+12
37 节点InfraNodus
人工智能
基于内容空白从PDF文档生成研究问题和AI提示词
使用InfraNodus内容空白分析从PDF生成研究问题
Code
Form
Form Trigger
+3
15 节点InfraNodus
文档提取
使用GPT-4o-mini和Gmail分析YouTube频道并发送性能报告
使用GPT-4o-mini和Gmail分析YouTube频道并发送性能报告
Code
Email Send
Http Request
+6
20 节点Rahul Joshi
市场调研
工作流信息
难度等级
高级
节点数量17
分类2
节点类型7
作者
InfraNodus
@infranodusI'm Dmitry, the founder of InfraNodus — an AI text network analysis tool. I'm passionate about networks and data visualization and its ability to reveal what everyone else is missing and to highlight different perspectives. I'm sharing the n8n templates that make use of this unique capability of InfraNodus for multiple scenarios.
外部链接
在 n8n.io 查看 →
分享此工作流