{
  "name": "Scheduled workflow backups from n8n to Google Drive with auto cleanup",
  "nodes": [
    {
      "id": "a2dd2041-2bea-4659-aab6-0b0dd0640f55",
      "name": "Date Time",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        1400,
        2200
      ]
    },
    {
      "id": "54e48154-26bd-49c0-a0b6-5c67ce3eab54",
      "name": "Date & Time Format",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        1620,
        2200
      ]
    },
    {
      "id": "5d3bad24-ef42-42f7-8a41-ca8fbad75b61",
      "name": "Date & Time Hour",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        1840,
        2200
      ]
    },
    {
      "id": "a8e058b1-f438-470c-8a84-49cd168c8307",
      "name": "Google Drive Backup Folder Every Hour",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2060,
        2200
      ]
    },
    {
      "id": "521f49b0-d349-4781-9a7e-3b0b33f77a5c",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        2120
      ],
      "parameters": {
        "width": 2103,
        "height": 296,
        "content": "## Create N8n Backup Workflows Every Hour"
      }
    },
    {
      "id": "69baef8f-9074-4858-8d5e-751c7d980f34",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1940,
        2540
      ],
      "parameters": {
        "width": 1003,
        "height": 296,
        "content": "## Delete N8n Backup Workflows Over The Past X Days"
      }
    },
    {
      "id": "665cc313-a152-4eea-98bc-a11cec81e97d",
      "name": "n8n",
      "type": "n8n-nodes-base.n8n",
      "position": [
        2280,
        2200
      ]
    },
    {
      "id": "bb33fd37-6077-429e-b88d-44dce50df544",
      "name": "Move Binary Data",
      "type": "n8n-nodes-base.moveBinaryData",
      "position": [
        2500,
        2200
      ]
    },
    {
      "id": "4926fe6f-ed1e-466c-b83c-fdea9a7ff08c",
      "name": "Split In Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        2720,
        2200
      ]
    },
    {
      "id": "a511a9e2-6892-42c1-975e-50d30e11d37c",
      "name": "Google Drive Upload Workflows",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2940,
        2180
      ]
    },
    {
      "id": "22a954ab-0b20-48a2-8bc6-fb5c7aa6c11a",
      "name": "Date & Time Format 2",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        2280,
        2640
      ]
    },
    {
      "id": "3ae1beba-024f-4b57-b298-9b5c2347cb3d",
      "name": "Google Drive Search",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2500,
        2640
      ]
    },
    {
      "id": "79591e71-6ee8-4a04-b798-318befcc37c3",
      "name": "Google Drive Delete",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2720,
        2640
      ]
    },
    {
      "id": "d01f220a-df90-4de9-b4a0-b588cc787e62",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        3160,
        2180
      ]
    },
    {
      "id": "7cc95066-a8a4-4cfe-9271-38b7da181eb6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        840,
        2120
      ],
      "parameters": {
        "width": 303,
        "height": 296,
        "content": "## Backup Coverage Period"
      }
    },
    {
      "id": "f420f5e8-36e0-4db2-a033-2fab8361338f",
      "name": "Settings",
      "type": "n8n-nodes-base.set",
      "position": [
        940,
        2200
      ]
    },
    {
      "id": "34a3af65-82ca-4c6d-a373-54ddea04229f",
      "name": "Date & Time Subtract Coverage Period",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        2060,
        2640
      ]
    },
    {
      "id": "34b988b7-0dcd-49cd-840c-13830a055e2d",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        620,
        2200
      ]
    },
    {
      "id": "8286b8b8-5c27-4722-9626-b388cc9ccc0a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -300,
        2080
      ],
      "parameters": {
        "width": 720,
        "height": 2220,
        "content": "## Hourly n8n Workflow Backup to Google Drive\n\nThis workflow provides a robust solution for automatically backing up all your n8n workflows to Google Drive on schedule (default to every hour). It crea"
      }
    }
  ],
  "connections": {
    "n8n": {
      "main": [
        [
          {
            "node": "Move Binary Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Settings": {
      "main": [
        [
          {
            "node": "Date Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date Time": {
      "main": [
        [
          {
            "node": "Date & Time Format",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time Hour": {
      "main": [
        [
          {
            "node": "Google Drive Backup Folder Every Hour",
            "type": "main",
            "index": 0
          },
          {
            "node": "Date & Time Subtract Coverage Period",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Move Binary Data": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Settings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split In Batches": {
      "main": [
        [
          {
            "node": "Google Drive Upload Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time Format": {
      "main": [
        [
          {
            "node": "Date & Time Hour",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Search": {
      "main": [
        [
          {
            "node": "Google Drive Delete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time Format 2": {
      "main": [
        [
          {
            "node": "Google Drive Search",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Upload Workflows": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time Subtract Coverage Period": {
      "main": [
        [
          {
            "node": "Date & Time Format 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Backup Folder Every Hour": {
      "main": [
        [
          {
            "node": "n8n",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}