{
  "name": "Back Up Notion to Google Drive on a Nightly Schedule",
  "nodes": [
    {
      "name": "Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1,
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 24
            }
          ]
        }
      },
      "notes": "Nightly at 02:00.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Notion — Export",
      "type": "n8n-nodes-base.notion",
      "typeVersion": 2,
      "parameters": {
        "operation": "getAll"
      },
      "notes": "Read the full dataset.",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "Google Drive — Upload Snapshot",
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "parameters": {
        "operation": "upload"
      },
      "notes": "Store under a dated path.",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        980,
        300
      ]
    }
  ],
  "connections": {
    "Schedule": {
      "main": [
        [
          {
            "node": "Notion — Export",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notion — Export": {
      "main": [
        [
          {
            "node": "Google Drive — Upload Snapshot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive — Upload Snapshot": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
