Support file download at the end of a Form Workflow

Describe the question

I am trying to build a workflow that generates a file that at the end I want to download.

E.g. I create a Form Trigger where I ask for a Invoice ID. Then I call an API endpoint to retrieve line items for that invoice and convert that to a CSV file. At the end I want that CSV file to be downloaded to the form submitter.

What is the error message (if any)?

In older versions you were able to use the Webhook Response Node to return a binary file. However it seems in the more recent n8n versions that option is no longer available.

Information on your n8n setup

  • n8n version: 1.67.1
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu