{
  "name": "Back Up MySQL to AWS S3 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": "MySQL — Export",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/replace-with-real-endpoint",
        "sendBody": true,
        "options": {}
      },
      "notes": "MySQL has no dedicated n8n node — use an HTTP Request to the MySQL API. Read the full dataset.",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "AWS S3 — Upload Snapshot",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/replace-with-real-endpoint",
        "sendBody": true,
        "options": {}
      },
      "notes": "AWS S3 has no dedicated n8n node — use an HTTP Request to the AWS S3 API. 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": "MySQL — Export",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "MySQL — Export": {
      "main": [
        [
          {
            "node": "AWS S3 — Upload Snapshot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AWS S3 — Upload Snapshot": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
