{
  "name": "Copy viral reels with Gemini AI",
  "nodes": [
    {
      "id": "7594b4b8-506e-4f87-b921-ad376c9b85f2",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1260,
        0
      ]
    },
    {
      "id": "0a9e1ed8-2fbe-421a-89a1-663709cbcaaf",
      "name": "Set Prompt",
      "type": "n8n-nodes-base.set",
      "position": [
        1420,
        0
      ]
    },
    {
      "id": "78f145dc-cfd4-41b6-86d0-f1036adb6ef5",
      "name": "Gemini - Generate Upload URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        580,
        0
      ]
    },
    {
      "id": "d93b28b4-2dec-45e8-87a3-81e6b5392885",
      "name": "Gemini - Upload File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        920,
        0
      ]
    },
    {
      "id": "a5092a20-d120-47a3-a139-4b7698d4ccba",
      "name": "Gemini - Ask Questions",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1620,
        0
      ]
    },
    {
      "id": "300d5f57-27ac-4cc5-95ba-df5086a9a57b",
      "name": "Save Values",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        0
      ]
    },
    {
      "id": "e78d9080-0115-47db-b3c0-8ef8fb5944b1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -800
      ],
      "parameters": {
        "width": 2180,
        "height": 380,
        "content": "## Scenario 1"
      }
    },
    {
      "id": "e2dd16b8-e565-4010-a274-a6b4aabcd35a",
      "name": "Apify - Fetch Reels",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        -700
      ]
    },
    {
      "id": "b29c8e1f-0b36-4e8b-bf07-dd9c04f24a66",
      "name": "Sort",
      "type": "n8n-nodes-base.sort",
      "position": [
        1180,
        -700
      ]
    },
    {
      "id": "b5aa98b2-22f1-474d-92b0-892c8b227322",
      "name": "Limit",
      "type": "n8n-nodes-base.limit",
      "position": [
        1380,
        -700
      ]
    },
    {
      "id": "bc40f3f8-58cd-4790-975f-2f6e9761ef54",
      "name": "Save Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        960,
        -700
      ]
    },
    {
      "id": "0623571f-cef0-4a1d-9bed-a397ed264ac4",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        500,
        -700
      ]
    },
    {
      "id": "7d675702-a9c4-4440-b44d-30ee8e36d206",
      "name": "Execute Workflow1",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        1860,
        -700
      ]
    },
    {
      "id": "30692806-c116-46de-8407-66ac94470cc4",
      "name": "Download File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        0
      ]
    },
    {
      "id": "0d130bb6-c445-4b7e-8628-442b26d4654a",
      "name": "Create Video",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1640,
        -700
      ]
    },
    {
      "id": "c59bbd59-1f64-4606-a074-1303f423408c",
      "name": "Get Video",
      "type": "n8n-nodes-base.airtable",
      "position": [
        380,
        0
      ]
    },
    {
      "id": "f588e905-464b-4a24-b8cd-69b6c176b1c8",
      "name": "Set Guideline",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1800,
        0
      ]
    },
    {
      "id": "54d5c8ab-1e69-4c73-a869-8aaccc306fea",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -120
      ],
      "parameters": {
        "width": 2180,
        "height": 380,
        "content": "## Scenario 2"
      }
    },
    {
      "id": "7de49be9-cdcd-41f1-a996-79b31bf795a7",
      "name": "Search Creators",
      "type": "n8n-nodes-base.airtable",
      "position": [
        280,
        -700
      ]
    },
    {
      "id": "bdda9fe7-e1a5-4e9e-b562-577b97424152",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        60,
        -700
      ]
    },
    {
      "id": "ad77267d-3bba-463a-b9d2-f5aeb444e746",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -800
      ],
      "parameters": {
        "width": 220,
        "height": 80,
        "content": "### Replace Apify token"
      }
    },
    {
      "id": "9f444c18-d8b9-4544-9f7e-7ca2a97b4efe",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        -120
      ],
      "parameters": {
        "width": 200,
        "height": 80,
        "content": "### Replace Google token"
      }
    },
    {
      "id": "48b0acfb-cb7e-4ea5-b0fa-779a2adaf82a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -120
      ],
      "parameters": {
        "width": 200,
        "height": 80,
        "content": "### Replace Google token"
      }
    },
    {
      "id": "ce2c2e36-faf2-4b32-a67d-d4229d8de4cf",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1580,
        -120
      ],
      "parameters": {
        "width": 200,
        "height": 80,
        "content": "### Replace Google token"
      }
    },
    {
      "id": "0eb22e2b-19ab-4e09-9917-cf6dcff6cc1e",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        -120
      ],
      "parameters": {
        "width": 200,
        "height": 80,
        "content": "### Set own prompt for analysis"
      }
    },
    {
      "id": "2ab98afe-0846-4ece-a559-1cbcbfbb7af9",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -780,
        -800
      ],
      "parameters": {
        "width": 636.2128494576581,
        "height": 497.1532689930921,
        "content": "![5min Logo](https://res.cloudinary.com/de9jgixzm/image/upload/v1739773200/Skool%20Assets/ejm3hqnvhgwpnu2fv92s.png)\n## Copy Viral Reels with Gemini AI\n**Made by [Mark Shcherbakov](https://www.linkedin"
      }
    },
    {
      "id": "0b83903a-c464-4049-8ef4-30976d8d24b5",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -780,
        -280
      ],
      "parameters": {
        "width": 280,
        "height": 346,
        "content": "### Set up steps\n\n1. **Create accounts**:\n   - Set up Airtable, Edify, n8n, and Gemini accounts.\n\n2. **Prepare triggers and modules**:\n   - Replace credentials in each node accordingly.\n\n3. **Configur"
      }
    },
    {
      "id": "9973661d-d662-4b12-90f2-bf007532a58a",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -280
      ],
      "parameters": {
        "width": 330.5152611046425,
        "height": 239.5888196628349,
        "content": "### ... or watch set up video [8 min]\n[![Youtube Thumbnail](https://res.cloudinary.com/de9jgixzm/image/upload/v1740390927/Youtube%20Thumbs/Video_21_-_Philipp_Instagram_Blur.png)](https://youtu.be/SQPP"
      }
    },
    {
      "id": "532e9b78-95de-40ea-ba3e-c7c028f4afa7",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        160,
        0
      ]
    }
  ],
  "connections": {
    "Sort": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Set Prompt",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "Create Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Video": {
      "main": [
        [
          {
            "node": "Gemini - Generate Upload URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Prompt": {
      "main": [
        [
          {
            "node": "Gemini - Ask Questions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Fields": {
      "main": [
        [
          {
            "node": "Sort",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Values": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Video": {
      "main": [
        [
          {
            "node": "Execute Workflow1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download File": {
      "main": [
        [
          {
            "node": "Gemini - Upload File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Apify - Fetch Reels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Creators": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Search Creators",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Workflow1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apify - Fetch Reels": {
      "main": [
        [
          {
            "node": "Save Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Upload File": {
      "main": [
        [
          {
            "node": "Save Values",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Ask Questions": {
      "main": [
        [
          {
            "node": "Set Guideline",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini - Generate Upload URL": {
      "main": [
        [
          {
            "node": "Download File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Get Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}