{ "nodes": [ { "id": "0357b17f-9fcf-4725-8311-28bd9c76c37c", "name": "On GET request", "type": "n8n-nodes-base.webhook", "position": [ 820, 400 ], "webhookId": "454eb4ea-e460-4196-b31c-284abf234fc3", "parameters": { "path": "download-pdf", "options": {}, "responseMode": "responseNode" }, "typeVersion": 1, "notes": "This webhook node performs automated tasks as part of the workflow." }, { "id": "21d8c543-33c2-45eb-b392-2cb7139344c6", "name": "Fetch binary file", "type": "n8n-nodes-base.httpRequest", "position": [ 1040, 400 ], "parameters": { "url": "{{ $env.WEBHOOK_URL }}", "options": { "response": { "response": { "responseFormat": "file" } } } }, "typeVersion": 4.1, "notes": "This httpRequest node performs automated tasks as part of the workflow." }, { "id": "3ced3067-d82c-4bb4-b5fe-53a8d79c2177", "name": "Respond with attachment", "type": "n8n-nodes-base.respondToWebhook", "position": [ 1260, 400 ], "parameters": { "options": { "responseHeaders": { "entries": [ { "name": "content-disposition", "value": "=attachment; filename=\"my_document_{{ $now.toFormat('yyyy-MM-dd') }}.pdf\"" } ] } }, "respondWith": "binary" }, "typeVersion": 1, "notes": "This respondToWebhook node performs automated tasks as part of the workflow." } ], "connections": { "0357b17f-9fcf-4725-8311-28bd9c76c37c": { "main": [ [ { "node": "error-handler-0357b17f-9fcf-4725-8311-28bd9c76c37c", "type": "main", "index": 0 } ], [ { "node": "error-handler-0357b17f-9fcf-4725-8311-28bd9c76c37c-df1757b2", "type": "main", "index": 0 } ], [ { "node": "error-handler-0357b17f-9fcf-4725-8311-28bd9c76c37c-9e6a4233", "type": "main", "index": 0 } ], [ { "node": "error-handler-0357b17f-9fcf-4725-8311-28bd9c76c37c-11d380a0", "type": "main", "index": 0 } ], [ { "node": "error-handler-0357b17f-9fcf-4725-8311-28bd9c76c37c-8e7f0eab", "type": "main", "index": 0 } ] ] }, "21d8c543-33c2-45eb-b392-2cb7139344c6": { "main": [ [ { "node": "error-handler-21d8c543-33c2-45eb-b392-2cb7139344c6", "type": "main", "index": 0 } ], [ { "node": "error-handler-21d8c543-33c2-45eb-b392-2cb7139344c6-90bd79ff", "type": "main", "index": 0 } ], [ { "node": "error-handler-21d8c543-33c2-45eb-b392-2cb7139344c6-c5d30bd5", "type": "main", "index": 0 } ], [ { "node": "error-handler-21d8c543-33c2-45eb-b392-2cb7139344c6-90537b0e", "type": "main", "index": 0 } ], [ { "node": "error-handler-21d8c543-33c2-45eb-b392-2cb7139344c6-4e469ef9", "type": "main", "index": 0 } ] ] }, "3ced3067-d82c-4bb4-b5fe-53a8d79c2177": { "main": [ [ { "node": "error-handler-3ced3067-d82c-4bb4-b5fe-53a8d79c2177", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ced3067-d82c-4bb4-b5fe-53a8d79c2177-272b62b2", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ced3067-d82c-4bb4-b5fe-53a8d79c2177-c5205136", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ced3067-d82c-4bb4-b5fe-53a8d79c2177-cb9db110", "type": "main", "index": 0 } ], [ { "node": "error-handler-3ced3067-d82c-4bb4-b5fe-53a8d79c2177-01abb9f6", "type": "main", "index": 0 } ] ] } }, "name": "Webhook Workflow", "description": "Automated workflow: Webhook Workflow. This workflow processes data and performs automated tasks.", "settings": { "executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000 }, "meta": { "instanceId": "workflow-1bd5a0a3", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:45.742393", "updatedAt": "2025-09-29T07:07:45.742405", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "notes": "Excellent quality workflow: Webhook Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation." }