{
  "name": "Generate ideal customer profiles & find lookalike companies in Germany",
  "nodes": [
    {
      "id": "699f325b-df7d-44ac-aaf3-9a91bcb66697",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -400,
        464
      ]
    },
    {
      "id": "bbf44b30-aeaa-40ab-bda1-67bcfbfe3500",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        400
      ],
      "parameters": {
        "width": 1760,
        "height": 544,
        "content": "## get_lookalikes"
      }
    },
    {
      "id": "4c059e72-186f-49b5-a463-51fb6ac7e9b0",
      "name": "set_f2",
      "type": "n8n-nodes-base.set",
      "position": [
        848,
        1248
      ]
    },
    {
      "id": "25109522-9d7b-4991-9c24-d724dc29edb8",
      "name": "Filter term.en",
      "type": "n8n-nodes-base.function",
      "position": [
        144,
        1088
      ]
    },
    {
      "id": "3adea014-b4cc-4a3e-bcaa-aee5619ba6ab",
      "name": "Filter term.de",
      "type": "n8n-nodes-base.function",
      "position": [
        144,
        1408
      ]
    },
    {
      "id": "9ae4bfcc-002e-4b22-8f96-3f2f581c6ce9",
      "name": "parse_term_features",
      "type": "n8n-nodes-base.function",
      "position": [
        -16,
        1232
      ]
    },
    {
      "id": "ecc1ed2c-0b38-4bad-87b9-5c30e3334f0d",
      "name": "merge_terms",
      "type": "n8n-nodes-base.merge",
      "position": [
        688,
        1248
      ]
    },
    {
      "id": "a586c5ac-b54b-4246-a87d-60c53065fb6d",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -144,
        960
      ],
      "parameters": {
        "width": 1760,
        "height": 704,
        "content": "## get_icp"
      }
    },
    {
      "id": "40aa5f28-d804-463a-8687-6727d7263c5a",
      "name": "Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -400,
        880
      ]
    },
    {
      "id": "cf0858e6-23d0-4aa0-a2b3-a4bab8310f48",
      "name": "Authorization",
      "type": "n8n-nodes-base.set",
      "position": [
        -400,
        656
      ]
    },
    {
      "id": "38e00c50-55a0-42c3-b107-37cbc12cf2a8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1632,
        400
      ],
      "parameters": {
        "width": 336,
        "height": 1264,
        "content": "## Output"
      }
    },
    {
      "id": "39c7181a-ad06-41ef-8103-88b299297e32",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        400
      ],
      "parameters": {
        "width": 336,
        "height": 1264,
        "content": "## Input"
      }
    },
    {
      "id": "31be4f27-9a5d-4cec-8302-cf54f984ce0f",
      "name": "serialize_ids",
      "type": "n8n-nodes-base.function",
      "position": [
        -16,
        608
      ]
    },
    {
      "id": "9747ea3f-cc89-4706-9934-dde1979d423a",
      "name": "trim",
      "type": "n8n-nodes-base.set",
      "position": [
        192,
        608
      ]
    },
    {
      "id": "2ed3cef0-68d2-44eb-81cb-657a96720835",
      "name": "get_lookalikes",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        384,
        608
      ]
    },
    {
      "id": "7d433ca2-a8a9-4354-a966-f00303624dc6",
      "name": "lookalikes_or_icp",
      "type": "n8n-nodes-base.switch",
      "position": [
        592,
        608
      ]
    },
    {
      "id": "f932ee32-7178-4c8f-aa63-88211abe6235",
      "name": "get_companies",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        832,
        624
      ]
    },
    {
      "id": "b5e8883a-5e2d-46ed-8975-f6d600af6c58",
      "name": "sort_desc",
      "type": "n8n-nodes-base.function",
      "position": [
        336,
        1088
      ]
    },
    {
      "id": "3e944979-f230-4f6c-a28a-f18d0e3a1715",
      "name": "digest_terms_en",
      "type": "n8n-nodes-base.function",
      "position": [
        512,
        1088
      ]
    },
    {
      "id": "5217e2a8-72ea-46bb-af87-27c4bee6b1ce",
      "name": "digest_terms_de",
      "type": "n8n-nodes-base.function",
      "position": [
        512,
        1408
      ]
    },
    {
      "id": "cc68adf2-41e5-4a38-88a1-02b5062c4cf4",
      "name": "sort_desc2",
      "type": "n8n-nodes-base.function",
      "position": [
        336,
        1408
      ]
    },
    {
      "id": "d13b051d-9b5f-4fd3-b3ab-e5997091477b",
      "name": "generate_icp_report",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1040,
        1248
      ]
    },
    {
      "id": "092a1a6d-c03e-49e5-9499-a3f952f6cd05",
      "name": "icp_report",
      "type": "n8n-nodes-base.set",
      "position": [
        1744,
        1248
      ]
    },
    {
      "id": "a4a127fb-1184-4e6e-95db-4ff7054a5353",
      "name": "list_of_companies",
      "type": "n8n-nodes-base.set",
      "position": [
        1728,
        624
      ]
    },
    {
      "id": "04c54b5f-27ba-437c-985c-6148e55edec4",
      "name": "🏗️ Architecture Notes2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1056,
        400
      ],
      "parameters": {
        "width": 512,
        "height": 1440,
        "content": "# B2B ICP Report & Lookalike Companies in Germany\n\nThis workflow generates a full Ideal Customer Profile (ICP) report and retrieves lookalike companies from the Implisense API. It starts by ingesting "
      }
    },
    {
      "id": "a20d1808-d2a3-4722-b148-9c909b04c978",
      "name": "Mock ICP Companies based on Implisense-ID",
      "type": "n8n-nodes-base.code",
      "position": [
        -400,
        1104
      ]
    }
  ],
  "connections": {
    "trim": {
      "main": [
        [
          {
            "node": "get_lookalikes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "set_f2": {
      "main": [
        [
          {
            "node": "generate_icp_report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sort_desc": {
      "main": [
        [
          {
            "node": "digest_terms_en",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "icp_report": {
      "main": [
        []
      ]
    },
    "sort_desc2": {
      "main": [
        [
          {
            "node": "digest_terms_de",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "merge_terms": {
      "main": [
        [
          {
            "node": "set_f2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Authorization": {
      "main": [
        [
          {
            "node": "Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Configuration": {
      "main": [
        [
          {
            "node": "Mock ICP Companies based on Implisense-ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_companies": {
      "main": [
        [
          {
            "node": "list_of_companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "serialize_ids": {
      "main": [
        [
          {
            "node": "trim",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter term.de": {
      "main": [
        [
          {
            "node": "sort_desc2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter term.en": {
      "main": [
        [
          {
            "node": "sort_desc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Authorization",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_lookalikes": {
      "main": [
        [
          {
            "node": "lookalikes_or_icp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "digest_terms_de": {
      "main": [
        [
          {
            "node": "merge_terms",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "digest_terms_en": {
      "main": [
        [
          {
            "node": "merge_terms",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "list_of_companies": {
      "main": [
        []
      ]
    },
    "lookalikes_or_icp": {
      "main": [
        [
          {
            "node": "parse_term_features",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "get_companies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "generate_icp_report": {
      "main": [
        [
          {
            "node": "icp_report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "parse_term_features": {
      "main": [
        [
          {
            "node": "Filter term.en",
            "type": "main",
            "index": 0
          },
          {
            "node": "Filter term.de",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mock ICP Companies based on Implisense-ID": {
      "main": [
        [
          {
            "node": "serialize_ids",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}