{
  "name": "Transform viral Instagram Reels into original scripts with AI, Perplexity & Apify",
  "nodes": [
    {
      "id": "5fca276b-9381-4aa3-a733-1139f51b03ea",
      "name": "Limit",
      "type": "n8n-nodes-base.limit",
      "position": [
        -208,
        32
      ]
    },
    {
      "id": "90512145-ff33-4d37-81b1-1d9c6e582ea5",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -656,
        32
      ]
    },
    {
      "id": "5759662f-484b-4454-a43a-28a1cd3da3da",
      "name": " Run Apify Scraper",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -432,
        32
      ]
    },
    {
      "id": "f104f32e-2595-4a9a-8e68-6bbbc224f105",
      "name": " Check Existing Entries",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        16,
        104
      ]
    },
    {
      "id": "11fcc343-c024-45ad-846a-2f866d2f7e28",
      "name": " Remove Duplicate Reels",
      "type": "n8n-nodes-base.merge",
      "position": [
        240,
        32
      ]
    },
    {
      "id": "30ee1c23-7358-4b25-b666-98b4eccccad8",
      "name": " Add New Reels to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        464,
        32
      ]
    },
    {
      "id": "26a0148d-6fb8-4390-a684-82d693d01b0d",
      "name": " Download Reel Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        688,
        32
      ]
    },
    {
      "id": "ed980d8d-1321-4c6e-aa94-22b0b4a7c0e0",
      "name": " Transcribe Reel Audio",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        912,
        32
      ]
    },
    {
      "id": "6f3daa91-4b66-40b5-9ae6-c455e0b190b5",
      "name": " Filter + Generate Script Ideas",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1136,
        32
      ]
    },
    {
      "id": "01e1c1ab-cd1f-4179-a01e-907f19dc3355",
      "name": " Research with Perplexity",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1488,
        32
      ]
    },
    {
      "id": "5666dda1-faee-4150-afc0-6ed4fde88120",
      "name": " Generate Final Script",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1712,
        32
      ]
    },
    {
      "id": "a110e985-e60b-43d0-8084-8b48d4a9f61f",
      "name": " Update Sheet with Script",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2064,
        32
      ]
    },
    {
      "id": "104fd921-e773-45b6-bfd1-6c76fb5aa3eb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        -880
      ],
      "parameters": {
        "width": 832,
        "height": 864,
        "content": "# 🎥 InstaReel Script Builder\n\n**Turn viral Reels into your next script automatically!**\n\n### 👤 Who is this for?\nPerfect for content creators, social media managers, and agencies who want to:\n* Overcom"
      }
    }
  ],
  "connections": {
    "Limit": {
      "main": [
        [
          {
            "node": " Check Existing Entries",
            "type": "main",
            "index": 0
          },
          {
            "node": " Remove Duplicate Reels",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": " Run Apify Scraper",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Run Apify Scraper": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Download Reel Video": {
      "main": [
        [
          {
            "node": " Transcribe Reel Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Generate Final Script": {
      "main": [
        [
          {
            "node": " Update Sheet with Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Transcribe Reel Audio": {
      "main": [
        [
          {
            "node": " Filter + Generate Script Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Add New Reels to Sheet": {
      "main": [
        [
          {
            "node": " Download Reel Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Check Existing Entries": {
      "main": [
        [
          {
            "node": " Remove Duplicate Reels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Remove Duplicate Reels": {
      "main": [
        [
          {
            "node": " Add New Reels to Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Research with Perplexity": {
      "main": [
        [
          {
            "node": " Generate Final Script",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    " Filter + Generate Script Ideas": {
      "main": [
        [
          {
            "node": " Research with Perplexity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}