{
  "name": "Analyze competitor visual content across Instagram and TikTok with GPT-4o Vision",
  "nodes": [
    {
      "id": "1816092b-c70c-45d8-b235-cb8165807037",
      "name": "Sticky Note - Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        256
      ],
      "parameters": {
        "width": 420,
        "height": 948,
        "content": "## Cross-Platform Competitive Visual Intelligence\n\n### What This Template Does\nAnalyze visual content from your brand and competitors across Instagram and TikTok using AI-powered image analysis. Get a"
      }
    },
    {
      "id": "8ce94eca-606e-4b60-bf52-dec4bb6a8869",
      "name": "Sticky Note - Step 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        528
      ],
      "parameters": {
        "width": 280,
        "height": null,
        "content": "### Step 1: Form Input\nUsers enter their account handle and competitor accounts. Select which platforms to analyze and how many posts to fetch."
      }
    },
    {
      "id": "d66a6c53-9753-46d8-994d-b0a49fa577b3",
      "name": "Sticky Note - Step 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        896
      ],
      "parameters": {
        "width": null,
        "height": 128,
        "content": "### Step 2: Configuration\nExtracts and formats input data. \n\n⚠️ **Add your OpenAI API key here**"
      }
    },
    {
      "id": "259fac05-849f-4c4f-86c0-ba7e3a5b63fa",
      "name": "Sticky Note - Step 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        208,
        528
      ],
      "parameters": {
        "width": null,
        "height": 108,
        "content": "### Step 3: Platform Routing\nRoutes to appropriate scrapers based on selected platforms. Supports parallel execution."
      }
    },
    {
      "id": "1076b2f8-16f3-495f-a59b-6f0255cf16ad",
      "name": "Sticky Note - Step 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        448
      ],
      "parameters": {
        "width": 200,
        "height": 148,
        "content": "### Step 4: Content Scraping\nApify actors fetch posts from each platform. Adjust memory settings if needed for large batches."
      }
    },
    {
      "id": "6e8bc7c1-05d0-4674-8764-e0082ceca4ee",
      "name": "Sticky Note - Step 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        464
      ],
      "parameters": {
        "width": 220,
        "height": 180,
        "content": "### Step 5: AI Analysis\nGPT-4o Vision analyzes each image for:\n- Color palette (hex codes)\n- Composition style\n- Mood/emotion\n- Text design elements"
      }
    },
    {
      "id": "23ca3d55-fbcb-431f-baf6-03dd048a0ef3",
      "name": "Sticky Note - Step 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        544
      ],
      "parameters": {
        "width": 480,
        "height": 92,
        "content": "### Step 6: Report & Logging\nAggregates results and generates AI-powered competitive analysis report. Logs summary to Google Sheets."
      }
    },
    {
      "id": "fa9f137e-b5e8-4a30-8320-f74f383bbd42",
      "name": "Scrape Instagram Posts",
      "type": "@apify/n8n-nodes-apify.apify",
      "position": [
        496,
        624
      ]
    },
    {
      "id": "d2f7637e-8d91-465a-937d-ab94b2ce0ad0",
      "name": "Scrape TikTok Posts",
      "type": "@apify/n8n-nodes-apify.apify",
      "position": [
        496,
        800
      ]
    },
    {
      "id": "9fc5651a-1546-40f6-83b6-45692162aeee",
      "name": "Analyze Images with GPT-4o Vision",
      "type": "n8n-nodes-base.code",
      "position": [
        960,
        720
      ]
    },
    {
      "id": "e795ee95-1dc4-42aa-99d3-2a35ce7cd319",
      "name": "Aggregate All Results",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1184,
        720
      ]
    },
    {
      "id": "17c3d793-9833-4f54-9224-857d848034e7",
      "name": "Generate Competitive Analysis Report",
      "type": "n8n-nodes-base.code",
      "position": [
        1408,
        720
      ]
    },
    {
      "id": "907d303b-36c2-48e8-ac06-291d0de9313d",
      "name": "Log Results to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1616,
        720
      ]
    },
    {
      "id": "f8bd3bbf-f924-49d2-b0c2-2b2536b30d97",
      "name": "Form Trigger1",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -160,
        720
      ]
    },
    {
      "id": "b61645e7-9be0-4791-ab99-c9cd3b5bcaca",
      "name": "Workflow Configuration1",
      "type": "n8n-nodes-base.set",
      "position": [
        64,
        720
      ]
    },
    {
      "id": "23c3d08b-e38e-469f-ac24-7bcfdfdc9305",
      "name": "Platform Router1",
      "type": "n8n-nodes-base.switch",
      "position": [
        288,
        704
      ]
    },
    {
      "id": "63607524-f0e1-459d-a18e-7000d8d3608d",
      "name": "Filter Images Only1",
      "type": "n8n-nodes-base.filter",
      "position": [
        736,
        720
      ]
    }
  ],
  "connections": {
    "Form Trigger1": {
      "main": [
        [
          {
            "node": "Workflow Configuration1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Platform Router1": {
      "main": [
        [
          {
            "node": "Scrape Instagram Posts",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Scrape TikTok Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Images Only1": {
      "main": [
        [
          {
            "node": "Analyze Images with GPT-4o Vision",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape TikTok Posts": {
      "main": [
        [
          {
            "node": "Filter Images Only1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate All Results": {
      "main": [
        [
          {
            "node": "Generate Competitive Analysis Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Instagram Posts": {
      "main": [
        [
          {
            "node": "Filter Images Only1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration1": {
      "main": [
        [
          {
            "node": "Platform Router1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Images with GPT-4o Vision": {
      "main": [
        [
          {
            "node": "Aggregate All Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Competitive Analysis Report": {
      "main": [
        [
          {
            "node": "Log Results to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}