"The name of the input field that contains the base64 string to convert to a file. Use dot-notation for deep fields (e.g. 'level1.level2.currentKey').",
},
{
displayName:'Put Output File in Field',
name:'binaryPropertyName',
type:'string',
default:'data',
required: true,
placeholder:'e.g data',
hint:'The name of the output binary field to put the file in',
},
{
displayName:'Options',
name:'options',
type:'collection',
placeholder:'Add Option',
default:{},
options:[
{
displayName:'Add Byte Order Mark (BOM)',
description:
'Whether to add special marker at the start of your text file. This marker helps some programs understand how to read the file correctly.',
name:'addBOM',
displayOptions:{
show:{
encoding:['utf8','cesu8','ucs2'],
},
},
type:'boolean',
default:false,
},
{
displayName:'Data Is Base64',
name:'dataIsBase64',
type:'boolean',
default:true,
description:'Whether the data is already base64 encoded',
'The MIME type of the output file. <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types" target="_blank">Common MIME types</a>.',