8
n8n 中文网amn8n.com

使用GPT-4o Mini和Notion集成分析Reddit品牌提及

高级

这是一个Support, Marketing领域的自动化工作流,包含 27 个节点。主要使用 Set, Merge, Notion, Reddit, SplitOut 等节点。 使用GPT-4o Mini和Notion集成分析Reddit品牌提及

前置要求
  • Notion API Key
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "c468f3e9ec76d6a999f2a3139e7b38fe14df5109932c20629efadf9cb993c0f1",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "4238ae60-fd5a-471e-9c62-b5afb1e84054",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2960,
        2180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e2716292-5034-416e-8d86-55ae78d7c168",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2660,
        2180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8d668675-04a5-407f-8ca8-e1b43bfb2fb2",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        2520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "74a0935d-0192-44c9-9fb2-49a74c119e7e",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        2180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2c8b65c3-5acb-4a11-9ac1-567d67c0e814",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1980,
        2520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "44f9363b-a56f-458b-9d84-1ce49a0831fa",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2340,
        2180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ad5546d8-58eb-41c0-b1b6-1291f5763f84",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2440,
        2520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e2c9ca9d-8127-4aa6-987b-94533961a795",
      "name": "json架构",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -2120,
        2640
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "05779b77-4e90-455f-901c-80aef1b0f99d",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1980,
        2780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1d5b5fa8-3cec-4c6b-9fc6-4fa33aba5623",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        1920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "31bb6c62-b7d0-4e65-8a9d-f7293ce99cdc",
      "name": "便签20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2660,
        1920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ca895719-7768-4b08-b186-65df283aec5e",
      "name": "便签21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2060,
        1920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8177ea2f-bed2-4027-ac2d-24e23e4fb2d5",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2300,
        2900
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "81185481-9b48-4553-9879-a9a6ef8bab9d",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -3180,
        2320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "5d56e06b-d09d-468d-b8aa-b9b9e91d6ff2",
      "name": "报告到Notion",
      "type": "n8n-nodes-base.notion",
      "onError": "continueRegularOutput",
      "position": [
        -1760,
        2580
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "7a80fc75-b4f1-4cce-9d9e-4b8c9c56b2cb",
      "name": "分析",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "onError": "continueRegularOutput",
      "maxTries": 5,
      "position": [
        -2340,
        2700
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 1.7,
      "alwaysOutputData": true
    },
    {
      "id": "5dd264c4-6596-4406-b906-98cda2032a8b",
      "name": "迭代拼写错误",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -2660,
        2820
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "04383dd1-5d0a-4664-8384-2831fe46bfe4",
      "name": "循环处理拼写错误",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -2680,
        2620
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "7532cb4f-6bec-4ff2-bf43-4505aaa037dd",
      "name": "分离输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -2880,
        2720
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "130c8372-639f-45fe-a59a-3eb13ef1efc0",
      "name": "拼写错误",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -3200,
        2820
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "e1db38a9-db93-47f1-aeef-5fa5f0b26cf0",
      "name": "排除现有项",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1620,
        2300
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "78f09193-d6d6-4165-a85b-9cf9fc235543",
      "name": "搜索现有项",
      "type": "n8n-nodes-base.notion",
      "position": [
        -1960,
        2260
      ],
      "parameters": {},
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "e8aee646-bb9e-4cd0-ae64-134c32b85bde",
      "name": "合并Reddit帖子",
      "type": "n8n-nodes-base.merge",
      "position": [
        -2280,
        2300
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "a6fd80d0-221f-4046-ac57-fa9eb1086307",
      "name": "搜索品牌名称",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -2580,
        2320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "eedadaf8-1f33-48f9-a80b-cb6163fc19cc",
      "name": "添加您的信息",
      "type": "n8n-nodes-base.set",
      "position": [
        -2880,
        2320
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "faadc4cb-0a6d-4084-9c00-412800c57035",
      "name": "json架构",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -3020,
        2780
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "8dde3189-2d3e-4770-9e43-21eeacc1efba",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        1660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "analyze": {
      "main": [
        [
          {
            "node": "Report to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Loop Over Misspellings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "json schema": {
      "ai_outputParser": [
        [
          {
            "node": "misspellings",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "json schema ": {
      "ai_outputParser": [
        [
          {
            "node": "analyze",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "misspellings": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Your Info": {
      "main": [
        [
          {
            "node": "search brand name",
            "type": "main",
            "index": 0
          },
          {
            "node": "misspellings",
            "type": "main",
            "index": 0
          },
          {
            "node": "search for existing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Exclude Existing": {
      "main": [
        [
          {
            "node": "analyze",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Add Your Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "analyze",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "misspellings",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "search brand name": {
      "main": [
        [
          {
            "node": "Merge Reddit Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Reddit Posts": {
      "main": [
        [
          {
            "node": "Exclude Existing",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "search for existing": {
      "main": [
        [
          {
            "node": "Exclude Existing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Misspellings": {
      "main": [
        [
          {
            "node": "Merge Reddit Posts",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "iterate_on_misspellings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "iterate_on_misspellings": {
      "main": [
        [
          {
            "node": "Loop Over Misspellings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 客户支持, 营销

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流