The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"id": "0357b17f-9fcf-4725-8311-28bd9c76c37c",
"name": "On GET request",
"type": "n8n-nodes-base.webhook",
"position": [
820,
400
],
"parameters": {
"path": "download-pdf",
"options": {},
"responseMode": "responseNode"
},
"typeVersion": 1
},
{
"id": "21d8c543-33c2-45eb-b392-2cb7139344c6",
"name": "Fetch binary file",
"type": "n8n-nodes-base.httpRequest",
"position": [
1040,
400
],
"parameters": {
"url": "https://www.deutschebahn.com/resource/blob/8813300/bdf106f07186f66e4448f95aca02bd4a/Faktenblatt-ICE-L_Mai23-data.pdf",
"options": {
"response": {
"response": {
"responseFormat": "file"
}
}
}
},
"typeVersion": 4.1
},
{
"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
}
],
"connections": {
"On GET request": {
"main": [
[
{
"node": "Fetch binary file",
"type": "main",
"index": 0
}
]
]
},
"Fetch binary file": {
"main": [
[
{
"node": "Respond with attachment",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Respond With File Download To Incoming Http Request. Uses httpRequest, respondToWebhook. Webhook trigger; 3 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Demo Workflow How To Use Workflowstaticdata. Uses noOp, httpRequest, scheduleTrigger, stickyNote. Webhook trigger; 9 nodes.
Auto-Approve Workflow copy. Uses emailSend, httpRequest, respondToWebhook. Webhook trigger; 9 nodes.
AI Support Ticket Router & Auto-Reply (Ollama). Uses httpRequest. Webhook trigger; 7 nodes.
New Workflow Template (Auto-Export). Uses httpRequest, respondToWebhook. Webhook trigger; 4 nodes.
Convert Docx From Url To Pdf Using Convertapi. Uses manualTrigger, httpRequest, readWriteFile, stickyNote. Event-driven trigger; 6 nodes.