8
n8n 中文网amn8n.com

14 分析竞争对手内容表现

中级

这是一个Market Research, AI Summarization领域的自动化工作流,包含 15 个节点。主要使用 Set, Gmail, McpClientTool, ManualTrigger, Agent 等节点。 使用Bright Data MCP和GPT-4o分析竞争对手内容表现

前置要求
  • Google 账号和 Gmail API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "iTYMiElAxoA6mGFI",
  "meta": {
    "instanceId": "60046904b104f0f72b2629a9d88fe9f676be4035769f1f08dad1dd38a76b9480",
    "templateCredsSetupCompleted": true
  },
  "name": "14 分析竞争对手内容表现",
  "tags": [],
  "nodes": [
    {
      "id": "ae08fbec-aa27-4209-9bd4-e91fd401ca70",
      "name": "⚡ 开始:执行工作流",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6be3a9b3-f168-41f2-98b1-9cc8235efa25",
      "name": "📝 输入:竞争对手详情",
      "type": "n8n-nodes-base.set",
      "position": [
        220,
        0
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "f57bb4aa-1040-4315-894d-51e373012522",
              "name": "url",
              "type": "string",
              "value": "https://medium.com/?tag=technology"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "b0a7dc50-e4d8-435d-88dd-875f69d2b9ce",
      "name": "🤖 AI 代理:分析内容",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        460,
        0
      ],
      "parameters": {
        "text": "=screpe the stats of the competitors website below and write an email to suggest improvement:\n{{ $json.url }}",
        "options": {},
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2
    },
    {
      "id": "f4d838f9-ba74-405f-8035-c3d264cb1ba1",
      "name": "💬 OpenAI:生成洞察",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        440,
        260
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8sEyPDkC5p4w4Jha",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "1d5786b4-e130-4ee6-bb6c-10892038eaa7",
      "name": "🌐 MCP 爬虫:获取博客数据",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        620,
        260
      ],
      "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": "d9dceb89-0b2f-4579-a521-844f6122ddc8",
      "name": "📧 发送邮件:客户建议",
      "type": "n8n-nodes-base.gmail",
      "position": [
        940,
        0
      ],
      "webhookId": "519f3473-e010-4851-96de-faa1b6804f12",
      "parameters": {
        "sendTo": "shahkar.genai@gmail.com",
        "message": "={{ $json.output.email.body }}",
        "options": {},
        "subject": "={{ $json.output.email.subject }}",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "AQDSl75AdzK3vmqJ",
          "name": "Gmail account"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "b3a362b5-db83-463b-8339-048a1157e412",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        -1240
      ],
      "parameters": {
        "color": 5,
        "width": 380,
        "height": 1420,
        "content": "## ✅ **📂 第一部分 — 触发器与输入**"
      },
      "typeVersion": 1
    },
    {
      "id": "778d45bd-873b-48f1-85d2-31e3d7886899",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -1720
      ],
      "parameters": {
        "color": 3,
        "width": 340,
        "height": 1900,
        "content": "## 🤖 **📂 第二部分 — AI 分析与抓取**"
      },
      "typeVersion": 1
    },
    {
      "id": "1ccefd74-26dc-43f5-94cf-ac2bad6d7b13",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -480
      ],
      "parameters": {
        "color": 6,
        "width": 220,
        "height": 660,
        "content": "## 📧 **📂 第三部分 — 发送邮件**"
      },
      "typeVersion": 1
    },
    {
      "id": "41243b47-ad5e-4ed3-9fe9-dbea4f8a4304",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1220,
        -480
      ],
      "parameters": {
        "color": 7,
        "width": 380,
        "height": 240,
        "content": "## 如果您通过此链接加入 Bright Data,我将获得一小笔佣金 — 感谢您支持更多免费内容!"
      },
      "typeVersion": 1
    },
    {
      "id": "15069b6b-7520-4227-bcdf-b13afca311dc",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        -1220
      ],
      "parameters": {
        "color": 4,
        "width": 1300,
        "height": 320,
        "content": "======================================="
      },
      "typeVersion": 1
    },
    {
      "id": "74ba41a7-5ff0-4d39-bdad-0f3389ad7c4a",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1700,
        -880
      ],
      "parameters": {
        "color": 4,
        "width": 1289,
        "height": 3578,
        "content": "## 🚀 **工作流:分析竞争对手内容并发送邮件**"
      },
      "typeVersion": 1
    },
    {
      "id": "f5a5745c-f194-4fc5-91b6-54f2bc248c14",
      "name": "自动修复输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        760,
        260
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "b2e2a2e0-1f96-4219-9f22-973d1cb9fe4f",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        720,
        480
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "8sEyPDkC5p4w4Jha",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c66c1bf2-cd09-4038-8d22-689b3052b66f",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        900,
        480
      ],
      "parameters": {
        "jsonSchemaExample": "{\n  \"email\": {\n    \"subject\": \"Suggestions for Improvement on Your Website\",\n    \"body\": \"Dear [Recipient's Name],\\n\\nI hope this message finds you well. I recently took the time to explore your website, specifically focusing on the Technology tag section on Medium, and I wanted to share some insights and suggestions that could enhance user experience and engagement.\\n\\n**Strengths:**\\n- Clean Layout: The overall design of Medium is uncluttered and visually appealing, making it easy for users to navigate and engage with content.\\n- Engaging Content: The use of compelling narratives alongside diverse topics helps to draw in readers and maintain their interest.\\n\\n**Areas for Improvement:**\\n1. User Interaction: Encouraging user interaction can be beneficial. Incorporating more visible call-to-action buttons for signing up or writing could potentially increase conversions from readers into writers or subscribers.\\n2. Search Functionality: Although the content is well-curated, enhancing the search functionality to enable users to find specific topics or articles more efficiently would improve user experience significantly.\\n3. Performance Optimization: Analyzing page load times and optimizing images and scripts may help retain users who might otherwise leave due to slow loading speeds.\\n4. Mobile Responsiveness: While Medium has a good mobile design, ensuring that all features are seamlessly available on mobile devices can cater to the increasing number of mobile users.\\n5. Personalization Features: Implementing personalized content recommendations based on user behavior could enhance user engagement by providing tailored reading experiences.\\n\\nI believe addressing these areas could significantly elevate the user experience on your platform and increase both reader and writer engagement.\\n\\nThank you for considering these suggestions. I look forward to your thoughts.\\n\\nBest regards,\\n\\n[Your Name]\\n[Your Position]\\n[Your Contact Information]\\n[Your Company Name]\"\n  }\n}\n"
      },
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9d213fd6-0607-4d70-89bf-a574a3e933e1",
  "connections": {
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_languageModel",
            "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 Content",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "⚡ Start: Execute Workflow": {
      "main": [
        [
          {
            "node": "📝 Input: Competitor Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "💬 OpenAI: Generate Insights": {
      "ai_languageModel": [
        [
          {
            "node": "🤖 AI Agent: Analyze Content",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "📝 Input: Competitor Details": {
      "main": [
        [
          {
            "node": "🤖 AI Agent: Analyze Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🤖 AI Agent: Analyze Content": {
      "main": [
        [
          {
            "node": "📧 Send Email: Client Suggestions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🌐 MCP Scraper: Get Blog Data": {
      "ai_tool": [
        [
          {
            "node": "🤖 AI Agent: Analyze Content",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

工作流信息
难度等级
中级
节点数量15
分类2
节点类型9
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
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 查看

分享此工作流