0010 Writebinaryfile Create
0010 Writebinaryfile Create
Manual
Low
3
Nodes
Manual
Trigger
Low
Complexity
7/22/2025
Added
Workflow Overview
Total Nodes
3
Node Types
0
Workflow JSON
1.32 KB
{
"name": "0010 Writebinaryfile Create",
"nodes": [
{
"name": "Write Binary File",
"type": "n8n-nodes-base.writeBinaryFile",
"position": [
800,
350
],
"parameters": {
"fileName": "test.json"
},
"typeVersion": 1
},
{
"name": "Make Binary",
"type": "n8n-nodes-base.function",
"position": [
600,
350
],
"parameters": {
"functionCode": "items[0].binary = {\n data: {\n data: new Buffer(JSON.stringify(items[0].json, null, 2)).toString('base64')\n }\n};\nreturn items;"
},
"typeVersion": 1
},
{
"name": "Create Example Data",
"type": "n8n-nodes-base.function",
"position": [
390,
350
],
"parameters": {
"functionCode": "items[0].json = {\n \"text\": \"asdf\",\n \"number\": 1\n};\nreturn items;"
},
"typeVersion": 1
}
],
"connections": {
"Make Binary": {
"ma...Showing first 1000 characters. Click "Expand" to view the full JSON.