{
  "meta": {
    "instanceId": "workflow-501c41a3",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:45.917715",
    "updatedAt": "2025-09-29T07:07:45.917766",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "nodes": [
    {
      "id": "df9d04c7-2116-421a-9061-f3ae9118817a",
      "name": "Convert web page to PDF",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        560,
        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": "url",
              "value": "{{ $env.WEBHOOK_URL }}"
            }
          ]
        },
        "genericAuthType": "httpQueryAuth",
        "headerParameters": {
          "parameters": [
            {
              "name": "Accept",
              "value": "application/octet-stream"
            }
          ]
        }
      },
      "credentials": {
        "httpQueryAuth": {
          "id": "WdAklDMod8fBEMRk",
          "name": "Query Auth account"
        }
      },
      "typeVersion": 4.2,
      "notes": "This httpRequest node performs automated tasks as part of the workflow."
    },
    {
      "id": "2f559bbd-54ca-40db-bb7c-3a00481a017d",
      "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": "d265d2b7-0079-4db8-a208-88bbeb965475",
      "name": "Read/Write Files from Disk",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        960,
        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": "6e17fb0d-cc52-4e33-b0e0-7256cdef1240",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        80
      ],
      "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": "13d9a34a-7516-4fb2-9e5b-62cc8f5259ac",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        420
      ],
      "parameters": {
        "width": 281,
        "content": "## Set Url to Webpage\nSet the url to the webpage, that should be converted to pdf in the parameter `url`"
      },
      "typeVersion": 1,
      "notes": "This stickyNote node performs automated tasks as part of the workflow."
    }
  ],
  "pinData": {},
  "connections": {
    "df9d04c7-2116-421a-9061-f3ae9118817a": {
      "main": [
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-39f3d732",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-d6b21f8d",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-e4269153",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-67646f6c",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-f6e2989b",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-46e418af",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-1aa63c15",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "error-handler-df9d04c7-2116-421a-9061-f3ae9118817a-d6765a9b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d265d2b7-0079-4db8-a208-88bbeb965475": {
      "main": [
        [
          {
            "node": "error-handler-d265d2b7-0079-4db8-a208-88bbeb965475-7819fc9c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "name": "Httprequest 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: Httprequest Workflow. This workflow integrates 5 different services: stickyNote, httpRequest, readWriteFile, stopAndError, manualTrigger. It contains 8 nodes and follows best practices for error handling and security.",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
    "optimized"
  ],
  "notes": "Excellent quality workflow: Httprequest Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}