Respond with file download to incoming HTTP request
n8n template #1920Summary
Use templateThis 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.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Respond with file download to incoming HTTP request" (https://n8n.io/workflows/1920). It uses: HTTP Request. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Building Your First WhatsApp Chatbot332K
- Scrape and summarize webpages with AI292K
- Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram215K
- AI agent that can scrape webpages212K
- ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
- Pulling data from services that n8n doesn’t have a pre-built integration for194K
- Fully Automated AI Video Generation & Multi-Platform Publishing191K
- Generate AI Videos with Google Veo3, Save to Google Drive and Upload to YouTube156K