Skip to content

Save as file

Save generated text — CSV, Markdown, JSON, or plain text — as a downloadable file.

Takes text content produced earlier in the workflow and downloads it as a file. Unlike Download as file, which downloads an existing URL, this node writes content you generated (for example the output of CSV, JSON, or Code).

Use it as the final step when you want the workflow’s result saved to a file rather than sent to a service or shown on the page.

SettingNotes
ContentThe text to save. Usually an expression such as {{ $input.csv }}.
File nameOptional. Without the extension (added from File type). Defaults to file.
File typetxt, csv, json, md, html, or xml. Sets the extension and content type. Defaults to txt.

Triggers the download as a side effect and passes control to the next node.

  • No credentials. Runs in the browser (it needs a page/window to trigger the download).

Build a report → CSV (build) → Save as file (Content: {{ $input.csv }}, File type: csv, File name: report).

Available from extension v0.7.0. Workflows that use it won’t install on older extensions.