{
  "meta": {
    "instanceId": "workflow-66f78b2e",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:48.791176",
    "updatedAt": "2025-09-29T07:07:48.791190",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "f60e3d5f-4da5-4201-8c78-00f4f410b397",
      "name": "When clicking \"Execute Workflow\"",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        600,
        300
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "724f285b-723e-4452-81a6-c066c6b6a0e4",
      "name": "TableName",
      "type": "n8n-nodes-base.set",
      "position": [
        780,
        300
      ],
      "parameters": {
        "values": {
          "string": [
            {
              "name": "TableName",
              "value": "concerts2"
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 1,
      "notes": "This set node performs automated tasks as part of the workflow."
    },
    {
      "id": "637356f0-fcde-4555-982c-a28159ce6885",
      "name": "LoadMySQLData",
      "type": "n8n-nodes-base.mySql",
      "position": [
        960,
        300
      ],
      "parameters": {
        "query": "=SELECT * FROM {{ $json[\"TableName\"] }}",
        "operation": "executeQuery"
      },
      "credentials": {
        "mySql": {
          "id": "{{ $credentials.mySql.id }}",
          "name": "MySQL n8n articles"
        }
      },
      "typeVersion": 1,
      "notes": "This mySql node performs automated tasks as part of the workflow."
    },
    {
      "id": "b3270629-35de-4746-aa51-293e7d20660d",
      "name": "SaveSpreadsheet",
      "type": "n8n-nodes-base.spreadsheetFile",
      "position": [
        1160,
        300
      ],
      "parameters": {
        "options": {
          "fileName": "={{ $node[\"TableName\"].json[\"TableName\"] }}.{{ $parameter[\"fileFormat\"] }}",
          "headerRow": true,
          "sheetName": "={{ $node[\"TableName\"].json[\"TableName\"] }}"
        },
        "operation": "toFile",
        "fileFormat": "xlsx"
      },
      "typeVersion": 1,
      "notes": "This spreadsheetFile node performs automated tasks as part of the workflow."
    },
    {
      "id": "a7d04632-f47a-40e5-986e-1acf0b0af7c7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        157
      ],
      "parameters": {
        "width": 450,
        "height": 305,
        "content": "## Save SQL table as a binary XLSX file\n### You can send it via e-mail, upload to the file storage or download on your computer.\n### Just connect one or two extra n8n Nodes here!"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "error-2d85696b",
      "name": "Error Handler",
      "type": "n8n-nodes-base.stopAndError",
      "typeVersion": 1,
      "position": [
        1000,
        400
      ],
      "parameters": {
        "message": "Workflow execution error",
        "options": {}
      }
    }
  ],
  "connections": {
    "b3270629-35de-4746-aa51-293e7d20660d": {
      "main": [
        [
          {
            "node": "error-handler-b3270629-35de-4746-aa51-293e7d20660d-60aff622",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "name": "Manualtrigger Workflow",
  "settings": {
    "executionOrder": "v1",
    "saveManualExecutions": true,
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": null,
    "timezone": "UTC",
    "executionTimeout": 3600,
    "maxExecutions": 1000,
    "retryOnFail": true,
    "retryCount": 3,
    "retryDelay": 1000
  },
  "description": "Automated workflow: Manualtrigger Workflow. This workflow integrates 6 different services: stickyNote, mySql, spreadsheetFile, set, stopAndError. It contains 6 nodes and follows best practices for error handling and security.",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Manualtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}