{
  "name": "Enrich creator handles with cross-platform social data from influencers.club",
  "nodes": [
    {
      "id": "70470cd8-75cb-46c3-9389-69ce3a48f762",
      "name": "Daily Refresh Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -560,
        768
      ]
    },
    {
      "id": "f83022f3-d34a-48eb-9866-45244b93760b",
      "name": "Process in Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -32,
        768
      ]
    },
    {
      "id": "bb2a5ec7-fae7-423d-975a-bfb5aaf3585a",
      "name": "Wait 5 Second",
      "type": "n8n-nodes-base.wait",
      "position": [
        976,
        784
      ]
    },
    {
      "id": "ea9e3a2d-0156-4141-acf1-aaa29f9fe23a",
      "name": "Update Null Values Only",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        704,
        784
      ]
    },
    {
      "id": "c6c9adf0-c6f3-49bd-8987-f40d658956f3",
      "name": "Update a row",
      "type": "n8n-nodes-base.supabase",
      "position": [
        640,
        288
      ]
    },
    {
      "id": "a81bf1fe-3daa-484b-937b-3d29154c2559",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        480
      ],
      "parameters": {
        "width": 272,
        "height": 496,
        "content": "## Triggers the creator enrichment workflow once per day.\nThe workflow is safe to re-run and will only process creators that have not been enriched yet.\n\n"
      }
    },
    {
      "id": "0131dea9-44fa-417f-8464-18af8d29b8e2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        480
      ],
      "parameters": {
        "width": 272,
        "height": 496,
        "content": "## Fetches creators that have not yet been enriched by checking for an empty enrichment payload.\nUses the “Is Empty” filter to correctly match NULL jsonb fields."
      }
    },
    {
      "id": "fb35656f-501a-4e0e-a793-e86eecd2396b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        480
      ],
      "parameters": {
        "width": 432,
        "height": 496,
        "content": "## Enriches a creator profile using their platform and handle.\n\nThe request is designed to be platform-agnostic and returns structured enrichment data (audience, content, and monetization insights) us"
      }
    },
    {
      "id": "eee769b2-70a8-47e5-9c21-17fbcafed1ce",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        480
      ],
      "parameters": {
        "width": 352,
        "height": 496,
        "content": "## Updates the creator data using a SQL database function that only fills missing fields.\n\n✔ Safe to re-run\n✔ Prevents overwriting existing data\n✔ Handles partial enrichment responses\n\nRecommended for"
      }
    },
    {
      "id": "7bc6f0f9-7030-464d-9298-ef96fee0e11e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        288
      ],
      "parameters": {
        "width": 816,
        "height": 176,
        "content": "## Alternative update method that writes data \n## directly to the table.\n\n⚠️ This option may overwrite existing data if the workflow is re-run.\nRecommended only for simple or non-production setups.\n"
      }
    },
    {
      "id": "ca450adb-3675-4564-b697-509ee3b9b7f7",
      "name": "List Influencers Without Enrichment",
      "type": "n8n-nodes-base.supabase",
      "position": [
        -272,
        768
      ]
    },
    {
      "id": "1ed48d61-3cc9-4064-afa9-5d4c1c44e106",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -176,
        48
      ],
      "parameters": {
        "width": 752,
        "height": null,
        "content": "## Get multi social platform data for creators from one social handle - Built for influencer marketing platforms\n**Step by step workflow to enrich influencer data with multi social (Instagram, Tiktok,"
      }
    },
    {
      "id": "e530f568-6ede-4fae-9f6e-0502501508fc",
      "name": "Normalize Creator Enrichment Payload",
      "type": "n8n-nodes-base.code",
      "position": [
        416,
        784
      ]
    },
    {
      "id": "ab94eebe-e47a-43aa-aa08-7de9602ef813",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        480
      ],
      "parameters": {
        "width": 192,
        "height": 80,
        "content": "[Click and view the full SQL function on GitHub](https://github.com/GjPetrovski-IC/N8N-Public-Templates)\n"
      }
    },
    {
      "id": "8633e30e-a9c1-48de-933b-bf42b7d10e77",
      "name": "Influencers.club - Enrich by Handle (Full)",
      "type": "n8n-nodes-influencersclub.influencersClub",
      "position": [
        208,
        784
      ]
    }
  ],
  "connections": {
    "Update a row": {
      "main": [
        [
          {
            "node": "Wait 5 Second",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 5 Second": {
      "main": [
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process in Batches": {
      "main": [
        [],
        [
          {
            "node": "Influencers.club - Enrich by Handle (Full)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Refresh Schedule": {
      "main": [
        [
          {
            "node": "List Influencers Without Enrichment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Null Values Only": {
      "main": [
        [
          {
            "node": "Wait 5 Second",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "List Influencers Without Enrichment": {
      "main": [
        [
          {
            "node": "Process in Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Creator Enrichment Payload": {
      "main": [
        [
          {
            "node": "Update Null Values Only",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update a row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Influencers.club - Enrich by Handle (Full)": {
      "main": [
        [
          {
            "node": "Normalize Creator Enrichment Payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}