{
  "name": "Monitor social media trends across Reddit, Instagram & TikTok with Apify",
  "nodes": [
    {
      "id": "d62e4d2e-1f41-4929-94b3-331e249e2fc5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        864
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "40ecc1bb-f664-4dfb-ae41-6bdb37cf13f6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        992,
        816
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d0efa54d-1a97-4e49-bd99-cf6817ff7018",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        544
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "54b19325-c56f-4125-9995-f5d9e21a27f5",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        880
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "bd8971bb-d1bf-4f88-88d5-ea70ead41aad",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1952,
        848
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e3372fed-fe15-4256-af65-a9cc9431283c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2496,
        656
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "04a7c34e-57b7-4e22-beb8-7da790108c8b",
      "name": "Send Gmail Report",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2544,
        1040
      ]
    },
    {
      "id": "74636cff-3361-4a7f-ab5b-511b14de8b02",
      "name": "Rank All Platforms",
      "type": "n8n-nodes-base.code",
      "position": [
        2224,
        1040
      ]
    },
    {
      "id": "3bd6590d-fb82-441b-a8b3-367ebc83dc54",
      "name": "Rank Reddit Posts",
      "type": "n8n-nodes-base.code",
      "position": [
        1664,
        672
      ]
    },
    {
      "id": "153770fe-e635-404f-a031-88e9598f1552",
      "name": "Rank TikTok Posts",
      "type": "n8n-nodes-base.code",
      "position": [
        1664,
        1392
      ]
    },
    {
      "id": "faaa353c-5b28-486a-88cf-43672f8c26a2",
      "name": "When Schedule Fires",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        560,
        1024
      ]
    },
    {
      "id": "3d85e890-63a8-4114-bc8c-d2b859bd072e",
      "name": "Save Rankings to Table",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        2544,
        912
      ]
    },
    {
      "id": "112d0f9b-40e6-4fea-b856-9201efebd930",
      "name": "Get Queries from Table",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        768,
        1024
      ]
    },
    {
      "id": "e358a0e7-b3a8-4416-a774-d090c0d5e98e",
      "name": "Loop Over Queries",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1040,
        1024
      ]
    },
    {
      "id": "7b62e515-c0a0-4973-bbfe-6bbf4af0efd2",
      "name": "Fetch TikTok Posts via Apify",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1424,
        1392
      ]
    },
    {
      "id": "4fbf5b80-295c-4633-b23c-ed235e1e06ab",
      "name": "Fetch Reddit Posts via Apify",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1424,
        672
      ]
    },
    {
      "id": "208c9a90-9464-4d83-aa6a-68554dcdfcc4",
      "name": "Merge Platform Results",
      "type": "n8n-nodes-base.merge",
      "position": [
        2000,
        1024
      ]
    },
    {
      "id": "43dfdbe1-9342-4d5b-a961-28e467f877c6",
      "name": "Fetch Instagram Posts via Apify",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1424,
        1040
      ]
    },
    {
      "id": "16e79945-de07-4eb9-af7d-31d7289d6ba3",
      "name": "Rank Instagram Posts",
      "type": "n8n-nodes-base.code",
      "position": [
        1664,
        1040
      ]
    },
    {
      "id": "bd1d0460-f3a3-4d66-ac13-a6f34f5129e8",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        656
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0c6430ed-77ec-403b-b2b6-7baecd5f66cb",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1376,
        1232
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Loop Over Queries": {
      "main": [
        [],
        [
          {
            "node": "Fetch Reddit Posts via Apify",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch TikTok Posts via Apify",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Instagram Posts via Apify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank Reddit Posts": {
      "main": [
        [
          {
            "node": "Merge Platform Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank TikTok Posts": {
      "main": [
        [
          {
            "node": "Merge Platform Results",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Send Gmail Report": {
      "main": [
        [
          {
            "node": "Loop Over Queries",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank All Platforms": {
      "main": [
        [
          {
            "node": "Send Gmail Report",
            "type": "main",
            "index": 0
          },
          {
            "node": "Save Rankings to Table",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Schedule Fires": {
      "main": [
        [
          {
            "node": "Get Queries from Table",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank Instagram Posts": {
      "main": [
        [
          {
            "node": "Merge Platform Results",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get Queries from Table": {
      "main": [
        [
          {
            "node": "Loop Over Queries",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Platform Results": {
      "main": [
        [
          {
            "node": "Rank All Platforms",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Reddit Posts via Apify": {
      "main": [
        [
          {
            "node": "Rank Reddit Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch TikTok Posts via Apify": {
      "main": [
        [
          {
            "node": "Rank TikTok Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Instagram Posts via Apify": {
      "main": [
        [
          {
            "node": "Rank Instagram Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}