8
n8n 中文网amn8n.com

27 分析市场空白

高级

这是一个Market Research, AI Summarization领域的自动化工作流,包含 16 个节点。主要使用 Set, Code, GoogleSheets, McpClientTool, Agent 等节点。 使用 OpenAI 和 Bright Data 从市场空白生成 SaaS 产品创意

前置要求
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "vrH9xsqMNkN1dmSN",
  "meta": {
    "instanceId": "60046904b104f0f72b2629a9d88fe9f676be4035769f1f08dad1dd38a76b9480",
    "templateCredsSetupCompleted": true
  },
  "name": "27 分析市场空白",
  "tags": [],
  "nodes": [
    {
      "id": "149811e9-798b-413b-a159-5e07bb541fd0",
      "name": "触发器:运行每周检查",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtDay": [
                1
              ],
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "d175072a-abba-4e05-8262-0a7991d1fc66",
      "name": "设置:目标主题或 URL",
      "type": "n8n-nodes-base.set",
      "position": [
        200,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f4de0d45-1ec2-4582-afa8-0f10fea9dd57",
              "name": "url",
              "type": "string",
              "value": "https://medium.com/@moneytent/how-i-generate-100-saas-ideas-from-market-gap-to-product-market-fit-f05ee5d539ee"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "4a88bcd9-e0ab-4fe1-a84b-29e6276d9812",
      "name": "AI Agent:分析市场空白",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        440,
        0
      ],
      "parameters": {
        "text": "=Screpe the url below and look market gaps to build a product on.\n\nURL: {{ $json.url }}",
        "options": {},
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2
    },
    {
      "id": "589342ae-282d-47e9-9ec4-7df88812952e",
      "name": "代码:拆分机会",
      "type": "n8n-nodes-base.code",
      "position": [
        880,
        0
      ],
      "parameters": {
        "jsCode": "// Sample input data from previous node\nconst items = $json[\"output\"][\"productOpportunities\"];\n\n// Emit each opportunity as a single item\nreturn items.map(opportunity => {\n  return {\n    json: {\n      name: opportunity.name,\n      description: opportunity.description\n    }\n  };\n});\n"
      },
      "typeVersion": 2
    },
    {
      "id": "3e349bd0-3e28-4a09-b1df-4bac44406ede",
      "name": "Google Sheets:记录 SaaS 想法",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1080,
        0
      ],
      "parameters": {
        "columns": {
          "value": {
            "Name": "={{ $json.name }}",
            "Description": "={{ $json.description }}"
          },
          "schema": [
            {
              "id": "Name",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Description",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Description",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1I2tG3DCCcMyoKtMIW6ALkp9KAgyndiik0YfWRaSWb2w/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1I2tG3DCCcMyoKtMIW6ALkp9KAgyndiik0YfWRaSWb2w",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1I2tG3DCCcMyoKtMIW6ALkp9KAgyndiik0YfWRaSWb2w/edit?usp=drivesdk",
          "cachedResultName": "Market Gaps"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "r2mDaisH6e9VkwHl",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "bfb80b71-c78b-46f5-a5a2-24911e747519",
      "name": "LLM:洞察生成器",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        400,
        280
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8sEyPDkC5p4w4Jha",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "630647dc-c0de-4165-a776-603de4c2aee3",
      "name": "Bright Data:爬虫代理",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        560,
        280
      ],
      "parameters": {
        "toolName": "scrape_as_markdown",
        "operation": "executeTool",
        "toolParameters": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Tool_Parameters', ``, 'json') }}"
      },
      "credentials": {
        "mcpClientApi": {
          "id": "eqq94k789oJCd6jU",
          "name": "MCP Client (STDIO) account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "5aac989c-f503-4e72-b2da-a3db5e9be6a0",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        -680
      ],
      "parameters": {
        "color": 6,
        "width": 360,
        "height": 860,
        "content": "## 🟩 **第一部分:定义分析内容**"
      },
      "typeVersion": 1
    },
    {
      "id": "8a861a96-f34b-4e40-8804-04477a94f858",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -1120
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 1300,
        "content": "## 🟦 **第二部分:使用 AI Agent 发现市场空白**"
      },
      "typeVersion": 1
    },
    {
      "id": "54b0dda6-7e85-4476-98d7-e9da30ee98b3",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        840,
        -620
      ],
      "parameters": {
        "color": 5,
        "width": 400,
        "height": 800,
        "content": "## 🟨 **第三部分:分解并保存到 Google Sheets**"
      },
      "typeVersion": 1
    },
    {
      "id": "8c7e64de-a10b-4b9e-b3fa-fa48201322d2",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1320,
        -620
      ],
      "parameters": {
        "color": 7,
        "width": 380,
        "height": 240,
        "content": "## 如果您通过此链接加入 Bright Data,我将获得一小笔佣金 — 感谢您支持更多免费内容!"
      },
      "typeVersion": 1
    },
    {
      "id": "40cd0845-d3a7-4d31-b812-7a3c05b023f5",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1720,
        -680
      ],
      "parameters": {
        "color": 4,
        "width": 1300,
        "height": 320,
        "content": "======================================="
      },
      "typeVersion": 1
    },
    {
      "id": "685fe958-0080-4d51-84bf-7679e6b85925",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1720,
        -340
      ],
      "parameters": {
        "color": 4,
        "width": 1289,
        "height": 1798,
        "content": "## 🌟 **工作流:市场空白 → SaaS 产品想法 → Google 表格**"
      },
      "typeVersion": 1
    },
    {
      "id": "49e29106-4db0-4092-acc7-45b89c09925f",
      "name": "自动修复输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        700,
        280
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "fdd453af-d136-481f-8f36-df4ee81cee32",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        680,
        500
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8sEyPDkC5p4w4Jha",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "cf5d6b3f-afeb-4eb4-b8a0-4b171c41418c",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        840,
        500
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"productOpportunities\": [\n    {\n      \"name\": \"User Feedback Aggregation Tool\",\n      \"description\": \"Aggregates reviews from multiple platforms and provides actionable insights for startups.\"\n    },\n    {\n      \"name\": \"Community-Driven Ideation Platform\",\n      \"description\": \"A space for users to submit ideas and feature requests, forming a feedback loop for product teams.\"\n    },\n    {\n      \"name\": \"AI-Powered Market Research Tool\",\n      \"description\": \"Synthesizes forum posts, reviews, and social media feedback to identify emerging SaaS opportunities.\"\n    },\n    {\n      \"name\": \"SaaS Idea Validation Service\",\n      \"description\": \"Offers surveys and expert guidance to help entrepreneurs validate SaaS concepts before development.\"\n    },\n    {\n      \"name\": \"SaaS Development Accelerator\",\n      \"description\": \"An incubator offering mentorship, tools, and funding to help build and scale multiple SaaS projects.\"\n    },\n    {\n      \"name\": \"SaaS Maintenance and Refinement Tool\",\n      \"description\": \"Continuously analyzes live user feedback to help existing SaaS products evolve and remain competitive.\"\n    }\n  ]\n}"
      },
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2f546a0c-fb6b-44a7-a9ca-5be56e11973d",
  "connections": {
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "LLM: Insight Generator": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent: Analyze Market Gap",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set: Target Topic or URL": {
      "main": [
        [
          {
            "node": "AI Agent: Analyze Market Gap",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Auto-fixing Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent: Analyze Market Gap",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Code: Split Opportunities": {
      "main": [
        [
          {
            "node": "Google Sheets: Log SaaS Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger: Run Weekly Check": {
      "main": [
        [
          {
            "node": "Set: Target Topic or URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bright Data: Scraper Agent": {
      "ai_tool": [
        [
          {
            "node": "AI Agent: Analyze Market Gap",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent: Analyze Market Gap": {
      "main": [
        [
          {
            "node": "Code: Split Opportunities",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 市场调研, AI 摘要总结

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量16
分类2
节点类型10
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Yaron Been

Yaron Been

@yaron-nofluff

Building 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 查看

分享此工作流