理想客户画像(ICP)生成:AI、Firecrawl、Gemini、Telegram

高级

这是一个AI、Marketing领域的自动化工作流,包含 24 个节点。主要使用 If、Set、Wait、Telegram、HttpRequest 等节点,结合人工智能技术实现智能自动化。 理想客户画像(ICP)生成:AI、Firecrawl、Gemini、Telegram

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "d04643ba872bb0fb252ed2c8197858d58cc47dd3c15ff6d08b19addd679e927b",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "6d4d3657-2634-4e39-82e3-ae6413886573",
      "name": "基础 LLM 链",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1400,
        -1240
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "da083438-dcba-4d63-988a-61237a108ced",
      "name": "Google Gemini聊天模型2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1420,
        -980
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fa7ad8a8-4e43-4f37-927e-eed3b6515347",
      "name": "GET - 抓取的内容",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1240,
        -540
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f36441c9-0117-4834-a3ac-b5bc2017e62f",
      "name": "基础 LLM 链1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1420,
        -540
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "71b9138d-f29d-470a-bc14-3a2343c7068b",
      "name": "Google Gemini 聊天模型3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1500,
        -180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "62c74703-6ab5-4004-ab67-c07c270fdf14",
      "name": "Google Gemini 聊天模型4",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -520,
        -380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "52163878-86d0-4a14-99ce-791457d4d25c",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -280,
        -400
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "8e93367b-06f2-4900-a62d-acc0bc968b81",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2100,
        -780
      ],
      "webhookId": "3d2a68a8-a2c1-483a-8685-b66388c1f421",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "602405f1-f9e3-4694-be36-fc4d1de73fe9",
      "name": "[{",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1860,
        -560
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5e34628b-3a14-44c0-b3f4-911602767c88",
      "name": "转换为文件1",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1820,
        -920
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ef1ef73e-940c-498a-98ff-e0b26717e34b",
      "name": "用户请求 - Telegram",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -840,
        -760
      ],
      "webhookId": "9832ffd5-4291-4e42-824f-40ad2f0bf9f4",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1247c332-63da-451b-9c4e-5ce9fbc97796",
      "name": "提取URL和页面数量",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -520,
        -760
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "e55af8e5-fb98-41d2-8dea-9648040159c4",
      "name": "设置URL和页面数量",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        -780
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "af075ebd-d2af-48d1-9ba2-0f9369a95484",
      "name": "如果是第1页(真)或多于1页(假)",
      "type": "n8n-nodes-base.if",
      "position": [
        100,
        -900
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "642ec1ad-36b8-4e8c-8532-0b2c19907b14",
      "name": "等待60秒 - 用于抓取",
      "type": "n8n-nodes-base.wait",
      "position": [
        1000,
        -540
      ],
      "webhookId": "2a22fbe7-4bbb-421a-8811-113600ee999e",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "a68bd72f-a3c1-4cdd-89e3-573267d7d06b",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        -1160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8e0d9e7e-70f2-497a-8cd2-58e23ba29784",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6ae93f34-c015-4319-9ba7-4d335e221534",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -1000
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e72cecba-762a-4753-aa1c-fdecb60d981e",
      "name": "抓取多个页面 - 使用/crawl端点",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        620,
        -640
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7158ddee-737a-4c3b-b458-2662987071b4",
      "name": "抓取单个页面 - 使用/scrape端点",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        620,
        -960
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "77fbbddc-1c29-4383-b73d-2af51fd2544d",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        -1420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6321b475-2941-4efd-988f-ef0006497361",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2040,
        -1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "36749f78-045a-41ca-bd10-a81b899821c0",
      "name": "便签 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        -280
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3b91f5ae-33a7-4493-8e29-5e52337f06a2",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        -1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Telegram": {
      "main": [
        []
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Convert to Text File1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain1": {
      "main": [
        [
          {
            "node": "Convert to Text File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File1": {
      "main": [
        [
          {
            "node": "Send Text File (containing detailed info about ICP) via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "User Request - Telegram": {
      "main": [
        [
          {
            "node": "Extracts URL and No of Pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sets url and no of pages": {
      "main": [
        [
          {
            "node": "If page 1 (true) or more than 1 (false)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Extracts URL and No of Pages",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "GET - the scraped content": {
      "main": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Extracts URL and No of Pages",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Extracts URL and No of Pages": {
      "main": [
        [
          {
            "node": "Sets url and no of pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 60 seconds - for scraping": {
      "main": [
        [
          {
            "node": "GET - the scraped content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If page 1 (true) or more than 1 (false)": {
      "main": [
        [
          {
            "node": "Scrape One Page - user /scrape endpoint",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Scrapes more than one page - uses /crawl endpoint",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape One Page - user /scrape endpoint": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrapes more than one page - uses /crawl endpoint": {
      "main": [
        [
          {
            "node": "Wait 60 seconds - for scraping",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

这是一个高级难度的工作流,适用于AI、Marketing等场景。适合高级用户,包含 16+ 个节点的复杂工作流

需要付费吗?

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

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

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

外部链接
在 n8n.io 上查看 →

分享此工作流