{
  "name": "Ideal customer profile (ICP) generation: AI, Firecrawl, Gemini, Telegram",
  "nodes": [
    {
      "id": "6d4d3657-2634-4e39-82e3-ae6413886573",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1400,
        -1240
      ]
    },
    {
      "id": "da083438-dcba-4d63-988a-61237a108ced",
      "name": "Google Gemini Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1420,
        -980
      ]
    },
    {
      "id": "fa7ad8a8-4e43-4f37-927e-eed3b6515347",
      "name": "GET - the scraped content",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1240,
        -540
      ]
    },
    {
      "id": "f36441c9-0117-4834-a3ac-b5bc2017e62f",
      "name": "Basic LLM Chain1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1420,
        -540
      ]
    },
    {
      "id": "71b9138d-f29d-470a-bc14-3a2343c7068b",
      "name": "Google Gemini Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1500,
        -180
      ]
    },
    {
      "id": "62c74703-6ab5-4004-ab67-c07c270fdf14",
      "name": "Google Gemini Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -520,
        -380
      ]
    },
    {
      "id": "52163878-86d0-4a14-99ce-791457d4d25c",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -280,
        -400
      ]
    },
    {
      "id": "8e93367b-06f2-4900-a62d-acc0bc968b81",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2100,
        -780
      ]
    },
    {
      "id": "602405f1-f9e3-4694-be36-fc4d1de73fe9",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1860,
        -560
      ]
    },
    {
      "id": "5e34628b-3a14-44c0-b3f4-911602767c88",
      "name": "Convert to File1",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1820,
        -920
      ]
    },
    {
      "id": "ef1ef73e-940c-498a-98ff-e0b26717e34b",
      "name": "User Request - Telegram",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -840,
        -760
      ]
    },
    {
      "id": "1247c332-63da-451b-9c4e-5ce9fbc97796",
      "name": "Extracts URL and No of Pages",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -520,
        -760
      ]
    },
    {
      "id": "e55af8e5-fb98-41d2-8dea-9648040159c4",
      "name": "Sets url and no of pages",
      "type": "n8n-nodes-base.set",
      "position": [
        -160,
        -780
      ]
    },
    {
      "id": "af075ebd-d2af-48d1-9ba2-0f9369a95484",
      "name": "If page 1 (true) or more than 1 (false)",
      "type": "n8n-nodes-base.if",
      "position": [
        100,
        -900
      ]
    },
    {
      "id": "642ec1ad-36b8-4e8c-8532-0b2c19907b14",
      "name": "Wait 60 seconds - for scraping",
      "type": "n8n-nodes-base.wait",
      "position": [
        1000,
        -540
      ]
    },
    {
      "id": "a68bd72f-a3c1-4cdd-89e3-573267d7d06b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        -1160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8e0d9e7e-70f2-497a-8cd2-58e23ba29784",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6ae93f34-c015-4319-9ba7-4d335e221534",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -1000
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e72cecba-762a-4753-aa1c-fdecb60d981e",
      "name": "Scrapes more than one page - uses /crawl endpoint",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        620,
        -640
      ]
    },
    {
      "id": "7158ddee-737a-4c3b-b458-2662987071b4",
      "name": "Scrape One Page - user /scrape endpoint",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        620,
        -960
      ]
    },
    {
      "id": "77fbbddc-1c29-4383-b73d-2af51fd2544d",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        -1420
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6321b475-2941-4efd-988f-ef0006497361",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2040,
        -1080
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "36749f78-045a-41ca-bd10-a81b899821c0",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1380,
        -280
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3b91f5ae-33a7-4493-8e29-5e52337f06a2",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1300,
        -1080
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "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
          }
        ]
      ]
    }
  }
}