8
n8n 中文网amn8n.com

AI行业趋势24/7监控(X、Gmail和网站)

高级

这是一个Market Research, AI RAG领域的自动化工作流,包含 35 个节点。主要使用 Set, Gmail, Airtop, Filter, SplitOut 等节点。 基于GPT-5的AI行业趋势24/7监控(X、Gmail和网站)

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "7e570f578a9c1f9652eeec45befef8289fae227b1a2e9fc7379f50bb5f4bfcee",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "973fd2bf-7a9f-4bbe-bd4d-dabda2f671e6",
      "name": "每日早上6点",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -80,
        128
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "0b2cdacc-fad0-4b4b-95d1-66db9e82c3bb",
      "name": "获取X账户",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        224,
        128
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "fc3b853a-3752-4840-9f5c-d641ae5cdc19",
      "name": "选择字段",
      "type": "n8n-nodes-base.set",
      "position": [
        544,
        128
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "86292944-864a-41ba-9e7d-4b79a15a5969",
      "name": "获取多条消息",
      "type": "n8n-nodes-base.gmail",
      "position": [
        224,
        576
      ],
      "webhookId": "d64fa687-57e0-4522-8fe4-5b0d74ef0b90",
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 2.1
    },
    {
      "id": "549aaaa9-7398-4b90-8abd-967a6d46fccc",
      "name": "获取新闻简报",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -96,
        576
      ],
      "parameters": {},
      "executeOnce": false,
      "typeVersion": 4.7
    },
    {
      "id": "ede82169-407d-4838-920b-4e570bb277ac",
      "name": "过滤字符串",
      "type": "n8n-nodes-base.set",
      "position": [
        64,
        576
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 3.4
    },
    {
      "id": "8fe6cde4-0065-46a4-a87c-6a660173ea69",
      "name": "获取消息",
      "type": "n8n-nodes-base.gmail",
      "position": [
        416,
        576
      ],
      "webhookId": "909920be-cef9-4bcd-950d-0c637aa50f96",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "ccc80bbe-549e-4a6c-a319-274ecdfab8fa",
      "name": "选择字段1",
      "type": "n8n-nodes-base.set",
      "position": [
        576,
        576
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "915b42b0-4fd8-4289-91c1-32c2affa2807",
      "name": "聚合推文",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        864,
        128
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1ba8d717-bf5b-41b6-907d-12574e846cdf",
      "name": "聚合邮件",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        736,
        576
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "249d93bc-7560-409a-9186-e4da5ebd1187",
      "name": "查询",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        576,
        1200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1a423a71-85e0-461b-9379-463173121956",
      "name": "加载URL",
      "type": "n8n-nodes-base.airtopTool",
      "position": [
        704,
        1200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "872eca5a-87f1-4e5f-9efe-a17532e1fa35",
      "name": "浏览器代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        400,
        1008
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.8,
      "waitBetweenTries": 5000
    },
    {
      "id": "c902ede5-d41a-43fe-b56b-66633e33da8e",
      "name": "获取网站",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        224,
        1008
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "66e33868-6b35-4537-84f0-f425ffedaa11",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        448,
        1200
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "ce467f67-8ec4-4b77-987e-fc8d8dfcd802",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        320,
        1200
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d426c158-cbfe-49f1-bef1-0577f6c68578",
      "name": "会话",
      "type": "n8n-nodes-base.airtop",
      "position": [
        -96,
        1008
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 1
    },
    {
      "id": "b882189c-e295-404d-a6c1-559c25deb636",
      "name": "窗口",
      "type": "n8n-nodes-base.airtop",
      "position": [
        64,
        1008
      ],
      "parameters": {},
      "executeOnce": true,
      "typeVersion": 1
    },
    {
      "id": "48fa0b38-5c06-4745-83e3-66f801084275",
      "name": "终止会话",
      "type": "n8n-nodes-base.airtop",
      "position": [
        864,
        1008
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "de5580d9-21a5-4cb3-a2dc-9b656a593d28",
      "name": "聚合网站",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        704,
        1008
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "eb3bed4f-2ae8-40a6-962f-4f65ef8cd271",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -96,
        1600
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "e5205200-a381-4037-aca5-f0d038dd4f7d",
      "name": "Perplexity AI",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        48,
        1792
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7af5d289-8f13-407d-8272-0c2b7575f909",
      "name": "GPT",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -80,
        1792
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "62248662-965b-49be-a169-ed64445c4ea1",
      "name": "JSON",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        176,
        1792
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "32281e42-c212-44d7-aa8d-7cd9e21ac29c",
      "name": "过滤器",
      "type": "n8n-nodes-base.filter",
      "position": [
        704,
        128
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "c88f0bd1-ef88-4f09-9fd6-bf96ae2ffe26",
      "name": "分离输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        272,
        1600
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "06204939-354e-4abe-9e4d-52dce970bb6d",
      "name": "JSON1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        832,
        1200
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "d3daab64-fc51-4a08-9238-4bded4728059",
      "name": "获取推文",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        384,
        128
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b4f5d671-2537-4cb8-bafe-3cfd5eb45ce3",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "968eb9d3-2812-46d5-824d-9fea3a3a6ddb",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b02f5224-d3ee-4d1f-a6a4-ac9533ed3ee5",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        928
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0f679ca3-98c3-4b8e-a68d-008ace7ae975",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -128,
        1520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b37cb4d9-c6de-4e9a-94b3-26ad3cfa03f0",
      "name": "保存",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        448,
        1600
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "6ad4ef16-37ce-435d-a02e-a60ceab7d832",
      "name": "您的指令",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        128
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c709dcec-67c9-423e-95c2-3bf622e1c873",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1072,
        32
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "GPT": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "JSON": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "JSON1": {
      "ai_outputParser": [
        [
          {
            "node": "Browser Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Query": {
      "ai_tool": [
        [
          {
            "node": "Browser Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Aggregate Tweets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "ai_languageModel": [
        [
          {
            "node": "Browser Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Window": {
      "main": [
        [
          {
            "node": "Get Websites",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Session": {
      "main": [
        [
          {
            "node": "Window",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Load URL": {
      "ai_tool": [
        [
          {
            "node": "Browser Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Save",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Tweets": {
      "main": [
        [
          {
            "node": "Select Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Websites": {
      "main": [
        [
          {
            "node": "Browser Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Browser Agent": {
      "main": [
        [
          {
            "node": "Aggregate Websites",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter String": {
      "main": [
        [
          {
            "node": "Get many messages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a message": {
      "main": [
        [
          {
            "node": "Select Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity AI": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Select Fields": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "Browser Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Every Day 6 AM": {
      "main": [
        [
          {
            "node": "Your Instructions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get X Accounts": {
      "main": [
        [
          {
            "node": "Get Tweets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Select Fields1": {
      "main": [
        [
          {
            "node": "Aggregate Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Newsletters": {
      "main": [
        [
          {
            "node": "Filter String",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Emails": {
      "main": [
        [
          {
            "node": "Session",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Tweets": {
      "main": [
        [
          {
            "node": "Get Newsletters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many messages": {
      "main": [
        [
          {
            "node": "Get a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Your Instructions": {
      "main": [
        [
          {
            "node": "Get X Accounts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Websites": {
      "main": [
        [
          {
            "node": "Terminate a session",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Terminate a session": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 市场调研, AI RAG 检索增强

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流