Triggers a browser file download via GET request using a webhook, fetches a binary PDF, and responds with attachment headers including dynamic filename.
This workflow enables seamless file downloads directly from an incoming HTTP GET request. It starts with a webhook node listening on the '/download-pdf' path. Upon receiving the request, it uses an HTTP Request node to fetch a binary file, such as a PDF from a specified URL. Finally, the Respond to Webhook node sends the file back with a Content-Disposition header set to 'attachment', forcing the browser to download it with a custom filename that includes the current date (e.g., 'my_document_202
Platform
n8n
Category
Finance
Price
$4.99
Creator
Maxim Luong
file-download
pdf
webhook
http-request
attachment
document-management
binary-data
finance
automation
http-response
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.