Skip to content
FlowHubFluxonLab
HTTP Request
General Automationfree

Respond with file download to incoming HTTP request

by Tomadapted from n8n official workflow galleryUpdated Aug 2026
RequiresHTTP RequestHTTP Request
Share Post Share
WeOn GET requestHRFetch binary fileFetch binary fi…RTRespond with attachmentRespond with at…12
1/5
STEPS · 2
Starts on an incoming request

This 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.

Tags

n8nreference-only
Connects
WHTTP Request
CategoryGeneral Automation
Triggermanual
Complexitysimple
Nodes3
AddedJun 5, 2023
W
free

Listen on new emails on a IMAP mailbox

Listen on new emails on a given IMAP mailbox. Converts the binary XML attachment to a stringified xmlproperty on the $data object and converts it to JSON. The Setnode could be replaced with Function nodes for example to do a conversion/mapping/transformation. The JSON is ultimately sent to a HTTP Endpoint via POST. This could be a starter for EDI purposes like receiving or transmitting XML data and conversion via JSON object property mapping.

by mail
W
free

Extract post titles from a blog

This workflow uses n8n to extract the names of all the posts from the Hackernoon homepage.

by amudhan
W
free

Create a new DigitalOcean Droplet

Uses a DigitalOcean Personal Access Token to create a new Droplet. Add your personal access token and change the parameters to create droplets of different sizes. You can also specify more options; refer the API docs

by amudhan