Skip to content

Move Binary Data

Node: moveBinaryData · Full type: n8n-nodes-base.moveBinaryData · Version: 1.1

Parameters

Parameter Type Default Details
mode options "binaryToJson" binaryToJson, jsonToBinary
setAllData boolean true
sourceKey string "data" required
destinationKey string "data" required
convertAllData boolean true
options collection {} keys: addBOM, dataIsBase64, encoding, stripBOM, fileName, jsonParse, ...

options children:

Parameter Type Default Details
addBOM boolean false
dataIsBase64 boolean false
encoding options "utf8" armscii8, ascii, base64, big5hkscs, binary, cesu8, cp1046, cp1124, ... (102 total)
stripBOM boolean true
fileName string ""
jsonParse boolean false
keepSource boolean false
keepAsBase64 boolean false
mimeType string "application/json"
useRawData boolean false

Example

NODE "moveBinaryData" AS "Move Binary Data" {
  sourceKey: {{ $json.sourceKey }},
  destinationKey: {{ $json.destinationKey }}
}