8
n8n 中文网amn8n.com

使用AI和Freepik将Reddit商业痛点转换为病毒式LinkedIn内容

高级

这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 48 个节点。主要使用 If, Set, Code, Wait, Merge 等节点。 使用AI和Freepik将Reddit商业痛点转换为病毒式LinkedIn内容

前置要求
  • LinkedIn API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "e5475e3f5ea4317f0b981b80d6948e4bd2ba92e8c8af9ecbbaf8d90708882234",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "06f1fdec-054d-4689-801f-82ff328efa35",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        -352,
        -576
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3df64dea-8400-4e81-8169-73e9c962e06d",
      "name": "创建图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1232,
        -192
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "bfdd10e0-18e9-4f39-8872-495d99f6eb8f",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1040,
        -192
      ],
      "webhookId": "7b532097-488c-4b67-9f06-8f73d1d3d743",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e4b6c3d7-8d0e-413d-b7d0-2400e9b23b55",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -576,
        -576
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "764e8c8b-12ba-4253-ab30-d1688c8fcc62",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        -144,
        -240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "861a42b9-07b8-4b89-bb90-7302e0055ac2",
      "name": "提取痛点",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -816,
        -576
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "decc12a7-3030-4915-9bd3-eb8a994142b7",
      "name": "获取Freepik资源",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -848,
        -192
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a82d26ff-6acc-4c89-874d-9ce75f03b6fc",
      "name": "发布代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "notes": "AVERIS TECH",
      "position": [
        -144,
        -576
      ],
      "parameters": {},
      "notesInFlow": true,
      "typeVersion": 2.2
    },
    {
      "id": "5cf14a90-fe0c-4683-940f-f496d3fde335",
      "name": "计划触发器1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1712,
        -576
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "821949c1-6c87-4e8a-b77a-f7eda706ea01",
      "name": "随机细分领域",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "notes": "AVERIS TECH",
      "position": [
        -1424,
        -576
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 1.7
    },
    {
      "id": "4b97ba54-5949-4d26-adf3-cbf2bf8ff5ff",
      "name": "代码1",
      "type": "n8n-nodes-base.code",
      "position": [
        -1056,
        -576
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c70a75e5-5ff0-48fc-9786-23c626ac9839",
      "name": "创建帖子1",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        -464,
        -192
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0dc5a303-4a62-415f-a54e-e325764da9d0",
      "name": "下载图片1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -656,
        -192
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "81834057-4ca7-4428-be12-5d4caf3d04e7",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2384,
        -816
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2512704d-b6cf-495d-8192-3e7e58ae8dbc",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        -1776,
        -192
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f2399d87-2118-4a63-97d6-5b9806d92781",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -4544,
        -1328
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "49d8636a-2b29-439d-bb70-64659b016206",
      "name": "合并器",
      "type": "n8n-nodes-base.merge",
      "position": [
        -2704,
        -1408
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "afe54fb2-1364-4848-887a-d247335917cd",
      "name": "+5个UPS",
      "type": "n8n-nodes-base.filter",
      "position": [
        -2352,
        -1280
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "9815a877-d1ae-4f90-bed5-c50186af8c5a",
      "name": "获取牙医类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -2192
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a17ed7c0-8089-48cd-a057-cde4ec876107",
      "name": "获取会计类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -1840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e7686f1b-1f2d-4da3-a00b-ade60db90dea",
      "name": "获取美容类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -2016
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c825bda0-54ca-4f28-ab1a-499ac110aa53",
      "name": "获取房地产类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -1632
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "42fac99f-1dff-4d3e-b535-26593b4d3481",
      "name": "获取电商类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -1248
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "07421cd7-d3e9-44fe-8448-28ce0d21e8f5",
      "name": "获取在线教练类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9e8d74de-0ff9-4cd5-868b-8085ce6ebaa4",
      "name": "获取在线教育类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "218fd5cf-df51-4fd7-aa4d-76e8d9c6bcc4",
      "name": "获取室内设计类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -432
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2d3e43c4-22a3-4188-a6bb-3de5eab62946",
      "name": "获取律师类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -1440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d80dc0f3-753e-4f4e-b389-7b4c50f3b7a3",
      "name": "获取人力资源类多篇帖子",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -3600,
        -1040
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "22b471b2-4b43-4fe8-a571-8da06e1187ec",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -2096,
        -1280
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "226725c7-f266-4e04-b50f-cdd029814f90",
      "name": "条件判断",
      "type": "n8n-nodes-base.if",
      "position": [
        -1216,
        -1264
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "4e1d51bf-0f50-4ddf-bb6e-ed0b4a1fd68d",
      "name": "无操作,不执行任何操作",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -1648,
        -1456
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "567de777-aa42-4cb5-9e68-cff800f9a422",
      "name": "在表格中追加行",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -240,
        -1248
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "7596fc82-baec-4204-bbda-15dc183066f8",
      "name": "代码2",
      "type": "n8n-nodes-base.code",
      "position": [
        -1440,
        -1264
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ef86485b-6ca0-4b05-8a6d-96fb64bdc11e",
      "name": "编辑字段1",
      "type": "n8n-nodes-base.set",
      "position": [
        -960,
        -1248
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "76ad5c8c-690b-4613-94e6-805c420448c3",
      "name": "代码3",
      "type": "n8n-nodes-base.code",
      "position": [
        -448,
        -1248
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "16d8b5c1-cce0-41e6-8fbb-d47167f43114",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4720,
        -2288
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "dbbbbe6d-07f9-4f33-98a2-ba2497a4f673",
      "name": "痛点代理",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -1856,
        -1264
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "a1aec5fb-5068-4091-a875-cd3ef39e730a",
      "name": "解决方案代理",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -752,
        -1248
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "ab09bd35-74c7-4046-8136-3ca63cd442dd",
      "name": "图片提示词",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "notes": "AVERIS TECH",
      "position": [
        -1568,
        -192
      ],
      "parameters": {},
      "notesInFlow": false,
      "typeVersion": 1.7
    },
    {
      "id": "586e3981-f415-4f91-a77e-bbcbc7caf73b",
      "name": "Gemini 2.5 Pro",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -352,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0dc66489-6297-4f30-947e-95798f2fd270",
      "name": "OpenAI 4.1 Mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -688,
        -992
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3eec15ba-6363-41b7-bdb0-f3165370f558",
      "name": "OpenAI 4.1 Mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -1312,
        -384
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f2879c4c-a06e-4b4e-a608-6d4d246941d2",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -1968
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b3555d2b-cb88-4d51-a2ab-effd2c6cc3a9",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -1696
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fce0363b-3cb6-444a-b86c-8a6c844c4c0e",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        -1840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e63ea8d3-50d4-45c5-bbe6-37314c4b12e4",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -816
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1b3b761f-05ed-435b-b2f7-4195703efce7",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -1568
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "41f219b1-d7d2-4f58-889b-7019305962b6",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -2048
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code": {
      "main": [
        [
          {
            "node": "prompt_imagen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Get_freepik",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code1": {
      "main": [
        [
          {
            "node": "Extraer_pain_points",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code2": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code3": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "+5 UPS": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merger": {
      "main": [
        [
          {
            "node": "+5 UPS",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "agente_post",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "agente_post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get_freepik": {
      "main": [
        [
          {
            "node": "Descargar_imagen1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "agente_post": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Crear Imagen": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "agente_soluciones",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "prompt_imagen": {
      "main": [
        [
          {
            "node": "Crear Imagen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini 2.5 Pro": {
      "ai_languageModel": [
        [
          {
            "node": "agente_post",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "prompt_imagen",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "agente_pain_points",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI 4.1 Mini": {
      "ai_languageModel": [
        [
          {
            "node": "agente_pain_points",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "agente_soluciones",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAi 4.1 Mini": {
      "ai_languageModel": [
        [
          {
            "node": "nicho_aleatorio",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "nicho_aleatorio": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get many posts Dentist",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts Beauty ",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts Accounting",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts Real Estate",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts lawyer",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts Ecommerce",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts HR",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts Online_Education",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts Online Coach",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get many posts interior_design",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Descargar_imagen1": {
      "main": [
        [
          {
            "node": "Create a post1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts HR": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 6
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "nicho_aleatorio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "agente_soluciones": {
      "main": [
        [
          {
            "node": "Code3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "agente_pain_points": {
      "main": [
        [
          {
            "node": "Code2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extraer_pain_points": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts lawyer": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Get many posts Beauty ": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get many posts Dentist": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts Ecommerce": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "Get many posts Accounting": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Get many posts Real Estate": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Get many posts Online Coach": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 8
          }
        ]
      ]
    },
    "Get many posts interior_design": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 9
          }
        ]
      ]
    },
    "Get many posts Online_Education": {
      "main": [
        [
          {
            "node": "Merger",
            "type": "main",
            "index": 7
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 内容创作, 多模态 AI

需要付费吗?

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

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

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

作者
Daniel Lianes

Daniel Lianes

@daniellianes

As a strategic consultant in Automation and AI, I'm passionate about helping business owners simplify operations and scale smarter. My approach is a partnership: I listen to your unique needs to design custom solutions that solve real challenges. But I don't just build and leave—I also coach your team to master these new systems, empowering you for sustainable success. Beyond client work, I'm a true enthusiast, always exploring new possibilities and sharing what I learn with the community.

外部链接
在 n8n.io 查看

分享此工作流