8
n8n 中文网amn8n.com

Reddit MVP生成器

高级

这是一个Product, AI领域的自动化工作流,包含 30 个节点。主要使用 Code, Merge, Reddit, SplitOut, Aggregate 等节点,结合人工智能技术实现智能自动化。 使用AI和Excel存储从Reddit自动生成MVP创业想法

前置要求
  • AI 服务 API Key(如 OpenAI、Anthropic 等)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "foXkX0nL4cnf9Dgv",
  "meta": {
    "instanceId": "af1304279c36394cf7e1e6db31c2843c938d1f54a2d426026e7b1320cee2a899",
    "templateCredsSetupCompleted": true
  },
  "name": "Reddit MVP 生成器",
  "tags": [],
  "nodes": [
    {
      "id": "0813d9ee-14c9-465c-acc1-bafbcdd0104f",
      "name": "获取评论",
      "type": "n8n-nodes-base.reddit",
      "onError": "continueRegularOutput",
      "position": [
        2380,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b9757d02-fb18-4d19-84f5-adc091e8a5b9",
      "name": "获取热门帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        200,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ec8d0d50-b97c-4c9d-b6ce-f07c718b1c03",
      "name": "OpenRouter聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2900,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "71db22d1-a79c-4839-8021-050ed8312ed7",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3080,
        0
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "56926b20-7230-4432-8b48-eeda0e72b1da",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -260,
        -420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c3a49153-fc12-4944-bec4-c28e749e53bd",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        -360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6f9d0411-c3c9-4623-a7ea-24a87d606cf7",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "51ed2c56-e284-45e8-964c-1663c5441a52",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2860,
        -400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7ea6f9bc-de1e-45af-a03c-79095651d2ef",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3ebd096e-a4f0-417e-b3a0-c07e5159e0d6",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1000,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7cf929ea-9556-463d-96b1-73a75de2f2fa",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1560,
        260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6ea4818f-20e5-4e42-ad51-a1202dd3a1e2",
      "name": "选择子版块",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -60,
        -80
      ],
      "webhookId": "f7261c07-02f2-4c44-baaf-10ba84b494d4",
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6139c954-fde8-4f0a-8c43-a23fa88a0861",
      "name": "获取已使用的 Reddit 帖子标识",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        200,
        -180
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "5c643a23-9dad-41c7-8776-05dd30a8a8d6",
      "name": "展平标识列表",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        380,
        -180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "39de2a72-83d3-4dbb-b0b9-431c69a7db84",
      "name": "提取子版块和帖子ID",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        540,
        -20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aebb3f0c-9de7-4f29-a93c-80f57cc36565",
      "name": "创建帖子标识",
      "type": "n8n-nodes-base.code",
      "position": [
        700,
        -20
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3b393c95-1e76-483f-b33c-f60fdf6c3669",
      "name": "创建帖子列表",
      "type": "n8n-nodes-base.code",
      "position": [
        540,
        160
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0f0c6da7-d3b6-4bfa-988e-e9c39bb19a0b",
      "name": "合并已使用和新帖子标识",
      "type": "n8n-nodes-base.merge",
      "position": [
        920,
        -100
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "f008a3d0-3c5d-4f16-8109-7159b893e657",
      "name": "创建所有帖子标识列表",
      "type": "n8n-nodes-base.code",
      "position": [
        1120,
        -100
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e52b5054-a82a-4e2b-badc-3439b6f66acd",
      "name": "移除重复的帖子标识",
      "type": "n8n-nodes-base.removeDuplicates",
      "position": [
        1320,
        -100
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9cccdb2c-dedc-4570-b034-4164b68d552d",
      "name": "拆分帖子标识",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1540,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "04aa906d-9e48-49ac-b0c6-9cc1bbe19847",
      "name": "使用新帖子标识更新\"已使用帖子\"",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        1740,
        -300
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "b0e6cc83-668b-4bc1-ab69-93d8ac345fd0",
      "name": "合并新帖子标识与帖子数据",
      "type": "n8n-nodes-base.merge",
      "position": [
        1740,
        0
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "b1b87f42-4a54-44cb-a6a8-1a30243091b5",
      "name": "过滤掉已使用的帖子",
      "type": "n8n-nodes-base.code",
      "position": [
        1920,
        0
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "151d215e-b248-46dd-a2c2-24c571de04f3",
      "name": "遍历帖子",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2200,
        40
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "67446536-24a2-4abe-8923-2e2b50efa9f0",
      "name": "合并帖子与评论",
      "type": "n8n-nodes-base.merge",
      "position": [
        2580,
        100
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "2ffdcc91-181c-45e6-93ae-fe1adbff9381",
      "name": "展平帖子和评论",
      "type": "n8n-nodes-base.code",
      "position": [
        2780,
        180
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9cddc6a5-611d-4c0f-8ae6-86caf11da0e8",
      "name": "AI 驱动的 MVP 生成器",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2900,
        -200
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "53959e6e-6d9d-42ff-a4e9-f9b561e9de16",
      "name": "分割 LLM 输出准备电子表格",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        3220,
        -200
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "04a2e780-bd9a-4b11-97f1-9db07d12ac7f",
      "name": "向 Excel 表格添加新行",
      "type": "n8n-nodes-base.microsoftExcel",
      "position": [
        3400,
        -200
      ],
      "parameters": {},
      "typeVersion": 2.1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "e59e387e-3ca8-4536-ba82-d33e2621addc",
  "connections": {
    "Get Comments": {
      "main": [
        [
          {
            "node": "Merge post with comments",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Loop over posts": {
      "main": [
        [
          {
            "node": "AI powered MVP Generator",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Comments",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge post with comments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create post slugs": {
      "main": [
        [
          {
            "node": "Merge used post slugs with new post slugs",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get Trending Posts": {
      "main": [
        [
          {
            "node": "Extract subreddits and post ids",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create list of posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Select a subreddit": {
      "main": [
        [
          {
            "node": "Get used reddit post slugs",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Trending Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create list of posts": {
      "main": [
        [
          {
            "node": "Merge new post slugs with post data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Split out post slugs": {
      "main": [
        [
          {
            "node": "Update \"Used Posts\" with new post slugs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter out used posts": {
      "main": [
        [
          {
            "node": "Loop over posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Flatten list of slugs": {
      "main": [
        [
          {
            "node": "Merge used post slugs with new post slugs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI powered MVP Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI powered MVP Generator": {
      "main": [
        [
          {
            "node": "Split llm output prep for spreadsheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge post with comments": {
      "main": [
        [
          {
            "node": "Flatten post and comments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI powered MVP Generator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Flatten post and comments": {
      "main": [
        [
          {
            "node": "Loop over posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get used reddit post slugs": {
      "main": [
        [
          {
            "node": "Flatten list of slugs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remove duplicate post slugs": {
      "main": [
        [
          {
            "node": "Merge new post slugs with post data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Split out post slugs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create list of all post slugs": {
      "main": [
        [
          {
            "node": "Remove duplicate post slugs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract subreddits and post ids": {
      "main": [
        [
          {
            "node": "Create post slugs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge new post slugs with post data": {
      "main": [
        [
          {
            "node": "Filter out used posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split llm output prep for spreadsheet": {
      "main": [
        [
          {
            "node": "Append new row to Excel sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge used post slugs with new post slugs": {
      "main": [
        [
          {
            "node": "Create list of all post slugs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 产品, 人工智能

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流