{
  "name": "Automate face swapping for GIFs with Fal.run AI and Google Services",
  "nodes": [
    {
      "id": "d0315e74-12fa-4c5a-8e10-eb5a2d1762e2",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -400,
        1700
      ]
    },
    {
      "id": "aea251b2-c437-419f-af0a-3726ca8a1443",
      "name": "Get File image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -180,
        2080
      ]
    },
    {
      "id": "714cb4d3-4f06-4c2c-9696-cd722f2f42bd",
      "name": "Get Url image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -400,
        2080
      ]
    },
    {
      "id": "c7a4a269-7baa-4407-8a7a-5eff3d9add85",
      "name": "Get status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        1700
      ]
    },
    {
      "id": "b37470dd-1895-429a-b772-1e4b88938a8d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        420
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "bcf21c8d-ac65-46ab-a6c3-8401f0e8cbf1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "06125e61-6175-487b-8ce3-78d6c46c7337",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        620
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ed206741-c053-400e-a284-67b3a0998646",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -180,
        1700
      ]
    },
    {
      "id": "09e23ba6-31b9-4363-9a10-52bea816bbed",
      "name": "Wait 60 sec.",
      "type": "n8n-nodes-base.wait",
      "position": [
        480,
        1700
      ]
    },
    {
      "id": "8e2d7c94-c858-49b1-a71f-849e0627741b",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -400,
        1560
      ]
    },
    {
      "id": "cc77e4c4-d54a-4968-ac19-ca91e50671b6",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -60
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "aee8760b-80c5-4d94-af34-7b129d690be6",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        940
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8fe5d6eb-38cb-44fc-a71d-e6bd40533866",
      "name": "Completed?",
      "type": "n8n-nodes-base.if",
      "position": [
        840,
        1700
      ]
    },
    {
      "id": "9c687ce4-2ebb-422f-9c2b-7696bcf890b8",
      "name": "Upload Image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        40,
        2080
      ]
    },
    {
      "id": "5f97a9bc-3b1f-494a-9430-58ecd55508ab",
      "name": "Update result",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        260,
        2080
      ]
    },
    {
      "id": "9d1e1c41-aaea-48bf-9225-a4c975b1a971",
      "name": "Set data",
      "type": "n8n-nodes-base.set",
      "position": [
        40,
        1700
      ]
    },
    {
      "id": "e8b0f8f0-d6e3-4414-84d4-173a261a4a35",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        1420
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "5d865982-e163-4557-acbd-6115dc4f009e",
      "name": "Create Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        260,
        1700
      ]
    },
    {
      "id": "e11cbeed-083a-437b-822d-7616daad1b5b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        1240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Set data": {
      "main": [
        [
          {
            "node": "Create Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Completed?": {
      "main": [
        [
          {
            "node": "Get Url image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 60 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get status": {
      "main": [
        [
          {
            "node": "Completed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image": {
      "main": [
        [
          {
            "node": "Wait 60 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image": {
      "main": [
        [
          {
            "node": "Update result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 60 sec.": {
      "main": [
        [
          {
            "node": "Get status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Url image": {
      "main": [
        [
          {
            "node": "Get File image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Set data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update result": {
      "main": [
        []
      ]
    },
    "Get File image": {
      "main": [
        [
          {
            "node": "Upload Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}