{
  "name": "Find new creators and lookalikes using influencers.club and sync to HubSpot",
  "nodes": [
    {
      "id": "043f63d8-3cae-45db-9692-5a1118bc355a",
      "name": "Pipeline Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1376,
        816
      ],
      "parameters": {
        "width": 540,
        "height": 556,
        "content": "## 🚀 Creator Discovery — Dual Branch Pipeline\n\nThis workflow automatically discovers, enriches, analyzes, and syncs Instagram creators into HubSpot using two complementary discovery strategies.\n\n**Bra"
      }
    },
    {
      "id": "aeaacab0-370f-47e6-b8fc-35419a9b515f",
      "name": "Note: Schedule",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        1008
      ],
      "parameters": {
        "width": 220,
        "height": 366,
        "content": "⏰ **Schedule Trigger**\nFires the pipeline on your chosen interval. Adjust frequency based on credit budget — each run costs credits per creator enriched."
      }
    },
    {
      "id": "997d41ea-dffb-4015-a952-a2d29adc87b0",
      "name": "Note: Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        1008
      ],
      "parameters": {
        "width": 444,
        "height": 366,
        "content": "🔍 **Discovery API**\nSearches 340M+ creators by niche, location, engagement, and followers. Returns lightweight profiles. Edit `ai_search` to target your niche."
      }
    },
    {
      "id": "298d28c1-daab-4acc-b5ff-1182a0a3049e",
      "name": "Note: Enrich Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        1008
      ],
      "parameters": {
        "width": 220,
        "height": 366,
        "content": "🔬 **Enrichment API**\nFetches full profile: contact info, audience demographics, engagement metrics, income estimates, follower growth, brand deal history, and cross-platform links."
      }
    },
    {
      "id": "1b09c51f-3286-4524-9b2f-3aea7ac7685b",
      "name": "Note: Normalize Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        1008
      ],
      "parameters": {
        "width": 220,
        "height": 350,
        "content": "🧹 **Normalize Profile**\nStandardizes raw API data: cleans handles, strips CloudFront params, builds cross-platform links, computes engagement ratios, maps growth trends, deduplicates collaborators."
      }
    },
    {
      "id": "ab1405a1-69a5-4238-b760-4c0f68a27c1e",
      "name": "Note: Loop Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        1008
      ],
      "parameters": {
        "width": 200,
        "height": 356,
        "content": "🔁 **Loop Over Items**\nProcesses one creator at a time. Port 0 = loop done (→ Aggregate). Port 1 = next item (→ AI Agent)."
      }
    },
    {
      "id": "4fc2ebd8-79c2-415c-8ab3-499a5fca9e52",
      "name": "Note: Agent Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        1008
      ],
      "parameters": {
        "width": 326,
        "height": 552,
        "content": "🤖 **AI Agent (Discovery)**\nAnalyzes each creator: strengths, concerns, audience authenticity, growth trajectory, brand fit, recommended action, and estimated reach per post. Uses structured JSON schem"
      }
    },
    {
      "id": "b158d009-a280-4e53-a750-b0614c1606c5",
      "name": "Note: HubSpot Discovery",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        1104
      ],
      "parameters": {
        "width": 290,
        "height": 276,
        "content": "🟠 **HubSpot (Discovery)**\nCreates or updates a HubSpot contact for each Discovery creator using their email from the normalized profile."
      }
    },
    {
      "id": "dd423302-fb62-420e-a8bb-fd098fb2b745",
      "name": "Note: Aggregate",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1072,
        752
      ],
      "parameters": {
        "width": 220,
        "height": 302,
        "content": "📦 **Aggregate**\nCollects ALL scored Discovery creators into one array once the loop finishes, enabling comparison of `estimated_reach_per_post.high` across all results."
      }
    },
    {
      "id": "2c13964c-9f1d-4bb1-a3ef-7155ec9eb687",
      "name": "Note: Pick Top",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1328,
        752
      ],
      "parameters": {
        "width": 210,
        "height": 302,
        "content": "🏆 **Pick Top Creator**\nFinds the creator with the highest `estimated_reach_per_post.high` score. Extracts their handle as the lookalike seed for Branch B."
      }
    },
    {
      "id": "41ecca3b-05b0-41cb-90a0-0f9c46a1f9a0",
      "name": "Note: Lookalike",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1568,
        752
      ],
      "parameters": {
        "width": 450,
        "height": 334,
        "content": "👯 **Lookalike API**\nFinds creators similar to the top Discovery creator using audience patterns, niche signals, and engagement profiles as similarity signals."
      }
    },
    {
      "id": "b45281d1-8fa1-401b-bd42-a49245ba0fcf",
      "name": "Note: Enrich Lookalike",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2064,
        752
      ],
      "parameters": {
        "width": 440,
        "height": 340,
        "content": "🔬 **Enrichment API (Lookalike)**\nSame enrichment call as Branch A. Fetches full profile for each lookalike creator."
      }
    },
    {
      "id": "08dd83ba-7fc5-448b-af5b-42c9d3234496",
      "name": "Note: Loop Lookalike",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2560,
        752
      ],
      "parameters": {
        "width": 200,
        "height": 340,
        "content": "🔁 **Loop (Lookalike)**\nProcesses each lookalike creator individually through AI analysis. Port 0 = done, Port 1 = next item."
      }
    },
    {
      "id": "3a28ea59-7714-4a5f-9985-60fc4bb616ac",
      "name": "Note: Agent Lookalike",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2816,
        752
      ],
      "parameters": {
        "width": 332,
        "height": 494,
        "content": "🤖 **AI Agent (Lookalike)**\nIdentical analysis to Branch A. Scores each lookalike on engagement quality, brand fit, growth trajectory, and estimated reach per post."
      }
    },
    {
      "id": "ea067d44-8950-42ab-8e0e-7a8c7d1a3c3a",
      "name": "Note: HubSpot Lookalike",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3200,
        736
      ],
      "parameters": {
        "width": 220,
        "height": 350,
        "content": "🟠 **HubSpot (Lookalike)**\nCreates or updates a HubSpot contact for each Lookalike creator. Same node config as Branch A — both pipelines converge to CRM."
      }
    },
    {
      "id": "4d317444-bd74-49fd-944b-731e524316fb",
      "name": "Split Out Discovery",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -192,
        1200
      ]
    },
    {
      "id": "bdff725b-6d53-4c7a-8e2a-127c33bceefe",
      "name": "Normalize Profile (Discovery)",
      "type": "n8n-nodes-base.code",
      "position": [
        320,
        1184
      ]
    },
    {
      "id": "108e77d8-e1a4-4135-b570-cf526e15b7e3",
      "name": "Loop Over Items (Discovery)",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        544,
        1184
      ]
    },
    {
      "id": "9b321295-1e2d-4b01-b5ee-e1286791a7fd",
      "name": "AI Agent (Discovery)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        800,
        1200
      ]
    },
    {
      "id": "d985a579-64d6-43fe-96bc-460f443f05b6",
      "name": "OpenAI Model (Discovery)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        720,
        1424
      ]
    },
    {
      "id": "eb1fcae0-27bc-4458-9d87-f7f889fbeff9",
      "name": "Structured Output Parser (Discovery)",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        928,
        1424
      ]
    },
    {
      "id": "6d23d45c-dbd7-43f5-b31f-9c8432b0c71a",
      "name": "HubSpot — Discovery Creator",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1248,
        1200
      ]
    },
    {
      "id": "18be1e83-2399-498b-a283-79cf2ddaa4e9",
      "name": "Aggregate Discovery Results",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1136,
        912
      ]
    },
    {
      "id": "e04f327f-22b4-44de-9ed7-2ef53ea2acd7",
      "name": "Pick Top Creator (Highest Reach)",
      "type": "n8n-nodes-base.code",
      "position": [
        1392,
        912
      ]
    },
    {
      "id": "985c9e45-da91-4d31-9767-e00251f0dd19",
      "name": "Split Out Lookalike",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1872,
        912
      ]
    },
    {
      "id": "e07f408a-9c39-4357-9933-6bcb55e6c825",
      "name": "Normalize Profile (Lookalike)",
      "type": "n8n-nodes-base.code",
      "position": [
        2368,
        896
      ]
    },
    {
      "id": "aa929ac2-a4fd-4f59-ab7b-88647428d3db",
      "name": "Loop Over Items (Lookalike)",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2608,
        896
      ]
    },
    {
      "id": "661aae97-45fa-410e-8f7d-5f2a41db6108",
      "name": "AI Agent (Lookalike)",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2864,
        912
      ]
    },
    {
      "id": "2b189bd7-943b-473b-adf4-9304bbf69316",
      "name": "OpenAI Model (Lookalike)",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2816,
        1120
      ]
    },
    {
      "id": "9a68ee5f-afde-495d-acd6-c7910021c1ec",
      "name": "Structured Output Parser (Lookalike)",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3056,
        1120
      ]
    },
    {
      "id": "a136b780-c7ae-466c-a9aa-2c5646ece9a7",
      "name": "HubSpot — Lookalike Creator",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        3264,
        912
      ]
    },
    {
      "id": "62b14e29-dd8a-4582-9ee9-172b7d4dab17",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -688,
        1200
      ]
    },
    {
      "id": "bd39498f-d948-4061-911b-3c65765a9bfd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        256
      ],
      "parameters": {
        "width": 752,
        "height": null,
        "content": "## Find new creators and lookalikes and add them to your CRM\n**Step by step workflow to discover creators with multi social (Instagram, Tiktok, Youtube, Twitter, Onlyfans, Twitch and more) data and fi"
      }
    },
    {
      "id": "6ff4f337-e2aa-4c1a-aa9a-c87259a40f31",
      "name": "Discovery",
      "type": "n8n-nodes-influencersclub.influencersClub",
      "position": [
        -432,
        1200
      ]
    },
    {
      "id": "ec2e575e-ce6b-4fd1-abd2-0ebd3d855c8f",
      "name": "Enrich by Handle (Full)",
      "type": "n8n-nodes-influencersclub.influencersClub",
      "position": [
        64,
        1200
      ]
    },
    {
      "id": "9dbcc327-e7ce-4bbc-a881-d43c58962a31",
      "name": "Find Similar Creators",
      "type": "n8n-nodes-influencersclub.influencersClub",
      "position": [
        1648,
        912
      ]
    },
    {
      "id": "34f05ca8-4b9c-4541-8cbe-82de37550e2c",
      "name": "Enrich by Handle (Full)1",
      "type": "n8n-nodes-influencersclub.influencersClub",
      "position": [
        2128,
        912
      ]
    }
  ],
  "connections": {
    "Discovery": {
      "main": [
        [
          {
            "node": "Split Out Discovery",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Discovery",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out Discovery": {
      "main": [
        [
          {
            "node": "Enrich by Handle (Full)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out Lookalike": {
      "main": [
        [
          {
            "node": "Enrich by Handle (Full)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent (Discovery)": {
      "main": [
        [
          {
            "node": "Loop Over Items (Discovery)",
            "type": "main",
            "index": 0
          },
          {
            "node": "HubSpot — Discovery Creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent (Lookalike)": {
      "main": [
        [
          {
            "node": "Loop Over Items (Lookalike)",
            "type": "main",
            "index": 0
          },
          {
            "node": "HubSpot — Lookalike Creator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find Similar Creators": {
      "main": [
        [
          {
            "node": "Split Out Lookalike",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich by Handle (Full)": {
      "main": [
        [
          {
            "node": "Normalize Profile (Discovery)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich by Handle (Full)1": {
      "main": [
        [
          {
            "node": "Normalize Profile (Lookalike)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model (Discovery)": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent (Discovery)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model (Lookalike)": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent (Lookalike)",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Discovery Results": {
      "main": [
        [
          {
            "node": "Pick Top Creator (Highest Reach)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items (Discovery)": {
      "main": [
        [
          {
            "node": "Aggregate Discovery Results",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent (Discovery)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items (Lookalike)": {
      "main": [
        [],
        [
          {
            "node": "AI Agent (Lookalike)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Profile (Discovery)": {
      "main": [
        [
          {
            "node": "Loop Over Items (Discovery)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Profile (Lookalike)": {
      "main": [
        [
          {
            "node": "Loop Over Items (Lookalike)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pick Top Creator (Highest Reach)": {
      "main": [
        [
          {
            "node": "Find Similar Creators",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser (Discovery)": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent (Discovery)",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser (Lookalike)": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent (Lookalike)",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}