Respond to Webhook (Binary) not triggering download

Workflow: Webhook → Convert to File (data) → Respond to Webhook (Binary, Input Field Name = data).
Headers set: Content-Disposition: attachment; filename="444.txt", Content-Type: text/plain.
Calling /webhook/acceptFile via Postman/XHR doesn’t auto-download; editor shows internal filename a.
Is auto-download only triggered by browser navigation (form submit)? Anything misconfigured in this setup?

Hey @lovelygame

I have created the sample workflow my side to test the same and found that it is working correctly on my side, in postman as well as the browser

in browser when I paste the webhook url and hit enter it automatically ask me to download the file

Please have a look

Thanks for your help

I tried your workflow on my devise, and it’s work.

but when i try my workflow is still doesn’t work, I checked “Convert to file” node and “respond to webhook node”. But didn’t find the error.

I’ve the same issue.

The workflow is executed correctly but the file is not sent to client. It works when I use webhook-test url but not in production.

In production I try to change the file by a small one it work but with a file of 26MB it didn’t instead of it works with webhook-test. I set env var N8N_PAYLOAD_SIZE_MAX to 500 but my file is never download (request never ended) but like I said in execution the workflow is executed without error.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.