Skip to main content

Write JSON to disk (binary)

Workflow preview

Write JSON to disk (binary) preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

The “Write Binary File” expects binary data. The JSON data is, however, JSON ;) There should really be a node that allows moving data around between both of them. For now, it can be done with a Function-Node. At least till a proper one is in place. The first node is example data, wich you can customize or replace. The second node named “Make Binary” is the important one with the custom code which makes the data binary and writes it to the correct location.