{
  "meta": {
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:49.063492",
    "updatedAt": "2025-09-29T07:07:49.063511",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "1ef81384-b424-49bc-a6b5-922d1b0f5a7b",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        340,
        240
      ],
      "parameters": {},
      "typeVersion": 1,
      "notes": "This manualTrigger node performs automated tasks as part of the workflow."
    },
    {
      "id": "3052f841-9e65-4284-a84d-3bb5d0c146ea",
      "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": "852e30be-e145-4e73-b646-94e2ceec536c",
      "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": "69f4d125-8990-4c98-9743-9f877325c958",
      "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": "ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd",
      "name": "Protect File with Password",
      "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": "UserPassword",
              "value": "mypassword"
            }
          ]
        },
        "genericAuthType": "httpQueryAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/octet-stream"
            }
          ]
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "4b3f082d-ad08-4609-88b6-bf25ff660c09",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        720,
        400
      ],
      "parameters": {
        "width": 220,
        "height": 140,
        "content": "## Set Password\nSet the password in the parameter **UserPassword**"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    },
    {
      "id": "79d5896e-4d5b-4dd9-8fc2-466197b5d61f",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1180,
        440
      ],
      "parameters": {
        "name": "test-password.pdf",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "root",
          "cachedResultName": "/ (Root folder)"
        }
      },
      "typeVersion": 3,
      "notes": "This googleDrive node performs automated tasks as part of the workflow."
    }
  ],
  "pinData": {},
  "connections": {
    "69f4d125-8990-4c98-9743-9f877325c958": {
      "main": [
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-2f6054d6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-8eb600b3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-94f28e04",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-ac2f7bec",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-49f22eda",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-549512da",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-262e2754",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-69f4d125-8990-4c98-9743-9f877325c958-50d8ed2f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd": {
      "main": [
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-3a9b5907",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-91f34c9a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-3f9f4ea6",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-24fb0af8",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-1c9a43b5",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-b1906b83",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-de0abbb1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-ff47b32c-37de-4f95-a0f0-37a7ea6f6bcd-fe28e3ec",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3052f841-9e65-4284-a84d-3bb5d0c146ea": {
      "main": [
        [
          {
            "node": "error-handler-3052f841-9e65-4284-a84d-3bb5d0c146ea-356d3aa3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "79d5896e-4d5b-4dd9-8fc2-466197b5d61f": {
      "main": [
        [
          {
            "node": "error-handler-79d5896e-4d5b-4dd9-8fc2-466197b5d61f-7d51db9e",
            "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, httpRequest, readWriteFile, googleDrive, stopAndError. It contains 13 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."
}