{
  "meta": {
    "instanceId": "workflow-a3ab523c",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:49.096087",
    "updatedAt": "2025-09-29T07:07:49.096101",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "30aca7bf-cf50-4182-97b5-0e8f006e1429",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        380,
        240
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "f43cc22f-00c0-4881-b610-ade09a3a2340",
      "name": "Write Result File to Disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        1200,
        240
      ],
      "parameters": {
        "options": {},
        "fileName": "document.pdf",
        "operation": "write",
        "dataPropertyName": "=data"
      },
      "typeVersion": 1,
      "notes": "This readWriteFile node performs automated tasks as part of the workflow."
    },
    {
      "id": "1fdac712-f93c-4001-9510-d533a81304e3",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        100
      ],
      "parameters": {
        "width": 218,
        "height": 132,
        "content": "## Authentication\nConversion requests must be authenticated. Please create \n[ConvertAPI account to get authentication secret]({{ $env.API_BASE_URL }}"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "b79ad903-15c2-48b8-8108-e9e3ec8e6134",
      "name": "Download PDF File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        580,
        240
      ],
      "parameters": {
        "url": "{{ $env.API_BASE_URL }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        }
      },
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "b374eeb9-0246-431e-ab1e-2ca48692c899",
      "name": "File conversion to PDFA",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        780,
        240
      ],
      "parameters": {
        "url": "{{ $env.API_BASE_URL }}",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "responseFormat": "file"
            }
          }
        },
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "authentication": "{{ $credentials.genericCredentialType }}",
        "bodyParameters": {
          "parameters": [
            {
              "name": "file",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "=data"
            },
            {
              "name": "PdfaVersion",
              "value": "pdfa"
            }
          ]
        },
        "genericAuthType": "httpQueryAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/octet-stream"
            }
          ]
        }
      },
      "credentials": {
        "httpQueryAuth": {
          "id": "WdAklDMod8fBEMRk",
          "name": "Query Auth account"
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    }
  ],
  "pinData": {},
  "connections": {
    "b79ad903-15c2-48b8-8108-e9e3ec8e6134": {
      "main": [
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-c12f0148",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-ce2ad4a3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-25060fb1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-2669b1af",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-4483581e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-e4ef2619",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-fb653aea",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b79ad903-15c2-48b8-8108-e9e3ec8e6134-4fbf0645",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b374eeb9-0246-431e-ab1e-2ca48692c899": {
      "main": [
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-da7a71a4",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-5749c7f8",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-0762843e",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-9f376634",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-c3ea84ab",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-512b3f27",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-2bd1e2ad",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-b374eeb9-0246-431e-ab1e-2ca48692c899-f5cd3ed2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f43cc22f-00c0-4881-b610-ade09a3a2340": {
      "main": [
        [
          {
            "node": "error-handler-f43cc22f-00c0-4881-b610-ade09a3a2340-626e0251",
            "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 5 different services: stickyNote, httpRequest, readWriteFile, stopAndError, manualTrigger. It contains 10 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."
}