{
  "name": "Qualify TikTok influencers from username with Dumpling AI + GPT-4",
  "nodes": [
    {
      "id": "fcbf3d68-d5d3-48b6-8980-09f2ec1815a8",
      "name": "Trigger on TikTok Username Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -656,
        -240
      ]
    },
    {
      "id": "76fbe780-3739-49db-bce8-982db09856f3",
      "name": "Get TikTok Profile (Dumpling AI)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -432,
        -240
      ]
    },
    {
      "id": "6be1336b-21d2-4da6-8f98-bfe5d2b26bbf",
      "name": "Evaluate Profile Qualification (GPT-4)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -208,
        -240
      ]
    },
    {
      "id": "a9c9d2ac-a201-42b1-b43a-03986b111fc1",
      "name": "Check if User Already Exists",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        144,
        -240
      ]
    },
    {
      "id": "4e20d033-ec7f-40d1-8bc1-ab0741894d8d",
      "name": "Route Based on Existence",
      "type": "n8n-nodes-base.switch",
      "position": [
        368,
        -240
      ]
    },
    {
      "id": "70df6b45-8521-406b-9009-c80c26169fea",
      "name": "Add New TikTok User to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        672,
        -320
      ]
    },
    {
      "id": "dc2c7d9f-d364-4756-975e-6fdb95df41b4",
      "name": "Update Existing TikTok User in Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        608,
        -112
      ]
    },
    {
      "id": "c05eccd1-f75c-4c88-b593-4e4ae4a4812b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        -592
      ],
      "parameters": {
        "width": 768,
        "height": 592,
        "content": "## 🧠 Get TikTok Profile & Evaluate with AI\n\n1. 🔄 Trigger when a TikTok username is submitted via form  \n2. 📊 Get profile data from Dumpling AI  \n3. ✅ GPT-4 checks if user meets these criteria:\n   - At"
      }
    },
    {
      "id": "bc173c53-c336-40c7-b0fd-94d86d746869",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -592
      ],
      "parameters": {
        "width": 672,
        "height": 592,
        "content": "## 📄 Check Google Sheet & Save Result\n\n4. 🔍 Check if the TikTok user already exists in your sheet (match by `User ID`)  \n5. 🔁 If user exists → update row  \n6. 🆕 If new user → append a new row\n\nSheet c"
      }
    }
  ],
  "connections": {
    "Route Based on Existence": {
      "main": [
        [
          {
            "node": "Add New TikTok User to Sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update Existing TikTok User in Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if User Already Exists": {
      "main": [
        [
          {
            "node": "Route Based on Existence",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger on TikTok Username Form": {
      "main": [
        [
          {
            "node": "Get TikTok Profile (Dumpling AI)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get TikTok Profile (Dumpling AI)": {
      "main": [
        [
          {
            "node": "Evaluate Profile Qualification (GPT-4)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Evaluate Profile Qualification (GPT-4)": {
      "main": [
        [
          {
            "node": "Check if User Already Exists",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}