Block 1 - On GET request
- Type / Role
- n8n-nodes-base.webhook - webhook
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This simple workflow demonstrates how to get an end user's browser to download a file. It makes use of the [Content Disposition](https://developer.mozilla.org/en US/docs/Web/HTTP/Headers/Content Di...
n8n-nodes-base.webhook, n8n-nodes-base.httprequest, n8n-nodes-base.respondtowebhook
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tom.
Original n8n.io sourceThis simple workflow demonstrates how to get an end user's browser to download a file. It makes use of the Content-Disposition header to set a filename and control the browser behaviour.
A use case could be the download of a PDF file at the end of an application process or to export data from a database without replacing the current page content in the browser.
With this approach, the current page remains open and the file is simply downloaded instead:
The original idea was first present here by @dickhoning in the n8n community.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Respond with file download to incoming HTTP request |
|---|---|
| Complexity | beginner |
| Nodes | 3 |
| Categories | File Management |
| Author | Tom |
| Published | 05 Jun 2023 |
Use the JSON export at /data/workflows/1920/1920.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This simple workflow demonstrates how to get an end user's browser to download a file. It makes use of the [Content Disposition](https://developer.mozilla.org/en US/docs/Web/HTTP/Headers/Content Di...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your File Management use case.